Skip to main content
Glama

MCP Proto-OKN Server

License: BSD-3-Clause Python 3.10+ Model Context Protocol PyPI version

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

Video ยท Presentation

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

Related MCP server: GraphQL MCP Toolkit

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

  1. Launch Claude Desktop โ†’ Settings โ†’ Connectors โ†’ Add custom connector

  2. Name: proto-okn, URL: https://apps.okn.us/okn-mcp/mcp

  3. Click Configure and set tool permissions to Always allow

  4. In a new chat, click + and toggle proto-okn on. 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." โ†’ 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 .md or .pdf and 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.

(*) ARCH: Advancing Research Capacity in Health, NSF Proto-OKN supplemental awards.

Space Flight Use Cases

Biomedical Use Cases

Environmental Use Cases

Criminal and Environmental Justice

Misc. Use Cases

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.

Proto-OKN Integration Opportunities

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 uvx is on PATH (which uvx); if not, use the absolute path in command

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

  • 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"


For questions, issues, or contributions, please visit our GitHub repository.

A
license - permissive license
-
quality - not tested
A
maintenance

Maintenance

โ€“Maintainers
1hResponse time
5wRelease cycle
3Releases (12mo)
Issues opened vs closed

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/sbl-sdsc/mcp-proto-okn'

If you have feedback or need assistance with the MCP directory API, please join our Discord server