A single Model Context Protocol (MCP) server that exposes 30+ Proto-OKN knowledge graphs through one unified interface. The server enables AI assistants (Claude, ChatGPT, GitHub Copilot, etc.) to discover graphs, inspect their schemas, query them with SPARQL, bridge identifiers across graphs, and combine results from multiple sources β all through natural-language conversation. The graphs are hosted on the Open Knowledge Network (OKN) federation platform and cataloged in the OKN Knowledge Graph Registry.
Beta: the proto-okn MCP server is in beta. We welcome feedback and bug reports via issues.
Note: MCP URL and installation instructions have changed. Updated instructions
- π Unified access β one MCP server, 30+ knowledge graphs, one endpoint
- π Graph discovery β list and filter graphs by domain or entity type, or rank them by keyword overlap with a question (a lexical prefilter over registry metadata; the assistant makes the final selection)
- π Schema inspection β understand each graph's classes, predicates, and properties before writing queries
- π§ Per-graph SPARQL β query any individual graph with automatic FROM-clause injection
- π Cross-graph bridging β built-in identifier maps (Ensembl β NCBI Gene β Symbol; CAS, DTXSID, InChIKey; MONDO, FIPS, NAICS, β¦)
- 𧬠Multi-graph queries β run different SPARQL across multiple graphs in a single call and merge results
- π³ Ontology-driven search expansion β queries are automatically expanded using ontology hierarchies (MONDO, UBERON, HP, GO, CL, ChEBI, β¦) via Ubergraph, so a query for "arthritic joint disease" matches all of its subtypes without manual enumeration
- πΌοΈ Schema visualization & transcripts β generate Mermaid class diagrams and chat transcripts directly from the conversation
This section is for people who want to use the unified server through an MCP-compatible client (Claude Desktop, ChatGPT, Claude Code, VS Code Insiders with GitHub Copilot, etc.). No installation, no local setup β the server is already hosted, you just point your client at it.
Hosted endpoint URL: https://apps.okn.us/okn-mcp/mcp
- Launch Claude Desktop β Settings β Connectors β Add custom connector
- Name:
proto-okn, URL:https://apps.okn.us/okn-mcp/mcp - Click Configure and set tool permissions to Always allow
- In a new chat, click
+and toggleproto-oknon. Toggle Web search off.
Full walkthrough with screenshots: Claude Desktop setup.
A Claude Pro or Max subscription is required for MCP connectors in Claude Desktop.
ChatGPT supports MCP services only in the web app (https://chatgpt.com) with Developer mode enabled. Then Settings β Apps β Create app, MCP Server URL https://apps.okn.us/okn-mcp/mcp.
Full walkthrough with screenshots: ChatGPT setup.
Add to .mcp.json in your project root (or ~/.claude/settings.json for all projects):
{
"mcpServers": {
"proto-okn": {
"type": "url",
"url": "https://apps.okn.us/okn-mcp/mcp"
}
}
}Verify with /mcp β you should see proto-okn connected.
VS Code Insiders supports MCP in Agent mode with the GitHub Copilot extension. Use the same URL: https://apps.okn.us/okn-mcp/mcp.
Once the server is connected, try these conversational prompts in your client. The assistant will pick the right graphs, write the SPARQL, and combine results for you.
-
Default: query across all Proto-OKN KGs
Generate a table of all Proto-OKN Knowledge Graphs with two columns: "KG Name" and "Description." β Result
-
Target a specific KG with
@kg-name@spoke-genelab: Give a high-level overview of this knowledge graph, including its main entities, relationships, and purpose.
-
Save a session
Create a chat transcript.
The transcript downloads as
.mdor.pdfand includes the model name and version.
Each link points to a chat transcript for generating an overview and a class diagram for a Proto-OKN KG.
| 𧬠Biology & Health | π± Environment | βοΈ Justice | π οΈ Technology & Manufacturing | NASA/NIH/ARCH(*) |
|---|---|---|---|---|
| biobricks-aopwiki | climatemodelskg | dreamkg | securechainkg | biomarkerkg |
| biobricks-ice | fiokg | nikg | sudokn | digcfdekg |
| biobricks-mesh | geoconnex | ruralkg | evoweb | |
| biobricks-pubchem-annotations | hydrologykg | scales | gene-expression-atlas-okn | |
| biobricks-tox21 | sawgraph | medical-device-kg | ||
| biobricks-toxcast | sockg | nasa-gesdisc-kg | ||
| biohealth | spatialkg | ncipidkg | ||
| spoke-genelab | ufokn | nde | ||
| spoke-okn | wildlifekn | oard-kg | ||
| pankgraph | ||||
| phaseskg | ||||
| prokn | ||||
| rdkg |
(*) ARCH: Advancing Research Capacity in Health, NSF Proto-OKN supplemental awards.
See also: Knowledge Graph Versions & Update Dates β a federation-wide snapshot of each KG's version and last-updated date from the VoID provenance metadata.
- Spaceflight Missions (spoke-genelab)
- Spaceflight Gene Expression Analysis (spoke-genelab, spoke-okn)
- Spaceflight Gene Expression with Literature Analysis (spoke-genelab, spoke-okn, MCP:PubMed)
- Spaceflight Gene Expression β Disease Associations (spoke-genelab, spoke-okn, prokn, MCP:Open Targets, MCP:PubMed)
- Spaceflight Microbiome and Pathogen Analysis (spoke-genelab, spoke-okn, MCP:PubMed)
- Disease Prevalence in the US (spoke-okn)
- Disease Prevalence β Socio-Economic Factors Correlation (spoke-okn)
- NIAID Data Exploration β COVID-19 Vaccine Research (nde)
- Diabetic Nephropathy Meta-Analysis (gene-expression-atlas-okn) β featured on WOBD as a worked example
- Diabetic Nephropathy Differential Expression Analysis (gene-expression-atlas-okn, ARCHS4)
- APOE Gene Info (prokn)
- Protein - Rare Disease Associations (prokn, oard-kg)
- Prostate Cancer Biomarkers (biomarkerkg)
- Marfan Syndrome Phenotypes (oard-kg)
- Pancreatic Acinar Cell Adhesion Genes (pankgraph)
- Contamination at Superfund Sites (spoke-okn)
- PFOA in Drinking Water (spoke-okn)
- Data about PFOA (spoke-okn, biobricks-toxcast)
- PFAS Environmental Health Analysis (sawgraph, spoke-okn, biobricks-ice) β featured on WOBD as a worked example
- Biological Targets for PFOA (biobricks-toxcast, biobricks-ice, biobricks-aopwiki, spoke-okn)
- PFOA Safety Profile (biobricks-ice, biobricks-aopwiki, sawgraph, spoke-okn)
- Bisphenol A Safety Profile (biobricks-ice, biobricks-aopwiki, spoke-okn)
- Criminal Justice Patterns (scales)
- Drug Possession Charges (scales)
- Environmental Justice (sawgraph, scales, spatialkg, spoke-okn)
- Rural Health Access (ruralkg, dreamkg, spoke-okn)
- Michigan Flooding Event (ufokn)
- Flooding and Socio-Economic Factors (ufokn, spatialkg, spoke-okn)
- Philadelphia Area Incidents (nikg)
- Mining Suppliers in North Dakota (sudokn)
Queries are automatically expanded using ontology hierarchies (MONDO, HP, GO, UBERON, ChEBI, β¦) via Ubergraph to include all descendant concepts. A search for "cardiovascular disease" automatically matches every subtype the data is tagged at β without you having to enumerate them.
- Cardiovascular Disease Datasets β full walkthrough (nde) β shows how one URI in the query expands to 1,592 descendant concepts and matches 284 disease subtypes
- Arthritic Joint Disease Datasets (nde)
- Space Flight Studies Investigating Muscles (spoke-genelab)
- Cross-KG Geolocation Data Exploration
- Cross-KG Chemical Compound Data Exploration
- Cross-KG Bio Data Exploration (Opus 4.7)
- Cross-KG Bio Data Exploration (Sonnet 4.6)
The same prompt run across Claude Desktop and VS Code Insiders with several LLMs.
| Query | Claude Sonnet 4.5 (Desktop) | Claude Sonnet 4.5 (VS Code) | Gemini 3 Pro | Groq Code Fast 1 | GPT-5.2 |
|---|---|---|---|---|---|
| Spaceflight Missions | link | link | link | link | link |
| Gene Expression Analysis | link | link | link | link | link |
Benchmarks (in progress) β mcp-proto-okn vs. SPARQL ground-truth evaluation.
The developer document describes how to run the server locally, contribute code, or host a copy.
The pseudocode specification describes how the server works: the query pipeline, ontology expansion, identifier mapping, and join strategies, written as pseudocode with a map back to the implementing source. A one-page summary of the core concepts and control flow is in README-brief.md.
MCP server not appearing in Claude Desktop
- Completely quit and restart Claude Desktop (closing the window is not enough)
- For local installs, verify
uvxis on PATH (which uvx); if not, use the absolute path incommand
Connection errors
- Check that the OKN endpoints are reachable:
curl https://apps.okn.us/spoke-okn/sparql. Returns "Unknown path" when connected. - Some endpoints may have rate limits or temporary downtime
Slow or hung queries
- Complex SPARQL can take time; break it into smaller parts
- Ontology expansion across very broad concepts (e.g. "disease") pulls a large descendant set into the query and may take several minutes against the target graph; narrow the concept or set
auto_expand_descendants=Falseto query the exact URI only
"Query refused: SERVICE may only address the OKN federation"
- A
SERVICEclause pointing outsideapps.okn.usis rejected, because its result cannot be reproduced from the graphs this server serves - Ontology lookups do not need an external endpoint: the ontology hub is available in-federation as
GRAPH <https://purl.org/okn/frink/kg/ubergraph> - Peer graphs are reachable as
SERVICE <https://apps.okn.us/<graph>/sparql>as before
This project is licensed under the BSD 3-Clause License. See LICENSE.
@software{rose2025mcp-proto-okn,
title={MCP Server Proto-OKN},
author={Rose, P.W. and Good, B.M. and Nelson, C.A. and Saravia-Butler, A.M. and Shi, Y. and Su, A.I. and Baranzini, S.E.},
year={2025},
url={https://github.com/sbl-sdsc/mcp-proto-okn}
}
@software{rose2025spoke-genelab,
title={NASA SPOKE-GeneLab Knowledge Graph},
author={Rose, P.W. and Nelson, C.A. and Gebre, S.G. and Saravia-Butler, A.M. and Soman, K. and Grigorev, K.A. and Sanders, L.M. and Costes, S.V. and Baranzini, S.E.},
year={2025},
url={https://github.com/BaranziniLab/spoke_genelab}
}Note: MCP URL and installation instructions have changed. Updated instructions
-
Technical Review
Video Β· Presentation -
Project Overview of the SPOKE Project
Video -
Cross-Graph Demo: SPOKE, ProKN, BioBricks, SAWGrap
Video Β· Presentation -
Building and Querying the SPOKE-GeneLab Knowledge Graph
Video Β· Presentation -
Knowledge Graphs for Space Life Sciences
Video Β· Presentation Β· Summary
- Nelson, C.A., Rose, P.W., Soman, K., Sanders, L.M., Gebre, S.G., Costes, S.V., Baranzini, S.E. (2025). "Nasa Genelab-Knowledge Graph Fabric Enables Deep Biomedical Analysis of Multi-Omics Datasets." NASA Technical Reports, 20250000723. Link
- Sanders, L., Costes, S., Soman, K., Rose, P., Nelson, C., Sawyer, A., Gebre, S., Baranzini, S. (2024). "Biomedical Knowledge Graph Capability for Space Biology Knowledge Gain." 45th COSPAR Scientific Assembly, July 13-21, 2024. Link
- National Science Foundation Award #2333819: "Proto-OKN Theme 1: Connecting Biomedical information on Earth and in Space via the SPOKE knowledge graph"
- National Science Foundation Award #2535091: "Proto-OKN Theme 2: OKN-Fabric"
- WOBD β Web of Biological Data β The umbrella project this MCP server is part of, providing a public face for both the templated query UI and AI-assistant access. The case studies hosted on WOBD (diabetic nephropathy, PFAS, terpene biosynthesis) were produced using Claude together with this server. Source: SuLab/OKN-WOBD.
- Proto-OKN Project β Prototype Open Knowledge Network initiative
- Open Knowledge Network (OKN) β Knowledge-graph hosting infrastructure (formerly FRINK)
- OKN Knowledge Graph Registry β Catalog of available knowledge graphs
- Model Context Protocol β AI-assistant integration standard
- Original MCP Server SPARQL β Base implementation reference
For questions, issues, or contributions, please visit our GitHub repository.
