mcp-proto-okn
Health Uyari
- License — License: BSD-3-Clause
- Description — Repository has a description
- Active repo — Last push 0 days ago
- Low visibility — Only 5 GitHub stars
Code Gecti
- Code scan — Scanned 12 files during light audit, no dangerous patterns found
Permissions Gecti
- Permissions — No dangerous permissions requested
Bu listing icin henuz AI raporu yok.
A Model Context Protocol (MCP) server that provides tools for querying SPARQL endpoints, with specialized support for NSF-funded Proto-OKN (Prototype Open Knowledge Network) knowledge graphs hosted on the FRINK platform.
MCP Proto-OKN Server
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.
Cross-Graph Demo: SPOKE, ProKN, BioBricks, SAWGraph
Note: MCP URL and installation instructions have changed. Updated instructions
Features
- 🌐 Unified access — one MCP server, 30+ knowledge graphs, one endpoint
- 🔎 Graph discovery — list, filter, and search graphs by domain, entity type, or natural language
- 📐 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
Architecture
Workflow Example
For Users
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
Connecting Your Client
Claude Desktop
- 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
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.
Claude Code
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 + GitHub Copilot
VS Code Insiders supports MCP in Agent mode with the GitHub Copilot extension. Use the same URL: https://apps.okn.us/okn-mcp/mcp.
Example Prompts
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."
→ ResultTarget 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.
Use Cases
Knowledge Graph Overviews & Class Diagrams
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 | sawgraph | ruralkg | securechainkg | biomarkerkg |
| biobricks-ice | fiokg | scales | sudokn | evoweb |
| biobricks-mesh | geoconnex | nikg | gene-expression-atlas-okn | |
| biobricks-pubchem-annotations | spatialkg | dreamkg | maudekg | |
| biobricks-tox21 | hydrologykg | nasa-gesdisc-kg | ||
| biobricks-toxcast | ufokn | nde | ||
| spoke-genelab | wildlifekn | ncipidkg | ||
| spoke-okn | climatemodelskg | oard-kg | ||
| sockg | pankgraph | |||
| phaseskg | ||||
| prokn |
(*) ARCH: Advancing Research Capacity in Health, NSF Proto-OKN supplemental awards.
Space Flight Use Cases
- 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)
Biomedical Use Cases
- 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)
Environmental Use Cases
- 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 and Environmental Justice
- Criminal Justice Patterns (scales)
- Drug Possession Charges (scales)
- Environmental Justice (sawgraph, scales, spatialkg, spoke-okn)
- Rural Health Access (ruralkg, dreamkg, spoke-okn)
Misc. Use Cases
- Michigan Flooding Event (ufokn)
- Flooding and Socio-Economic Factors (ufokn, spatialkg, spoke-okn)
- Philadelphia Area Incidents (nikg)
- Mining Suppliers in North Dakota (sudokn)
Ontology-Driven Search Expansion
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)
Proto-OKN Integration Opportunities
- 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)
Cross-Platform LLM Benchmarks
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.
For Developers
The developer document describes how to run the server locally, contribute code, or host a copy.
Troubleshooting
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") may take several minutes
License
This project is licensed under the BSD 3-Clause License. See LICENSE.
Citation
@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}
}
Videos and Presentations
Note: MCP URL and installation instructions have changed. Updated instructions
Technical Review
Video · PresentationProject Overview of the SPOKE Project
VideoCross-Graph Demo: SPOKE, ProKN, BioBricks, SAWGrap
Video · PresentationBuilding and Querying the SPOKE-GeneLab Knowledge Graph
Video · PresentationKnowledge Graphs for Space Life Sciences
Video · Presentation · Summary
Related Publications
- 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
Acknowledgments
Funding
- 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"
Related Projects
- 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.
Yorumlar (0)
Yorum birakmak icin giris yap.
Yorum birakSonuc bulunamadi