MCP OKN Server

A Model Context Protocol (MCP) server providing seamless access to SPARQL endpoints with specialized support for the OKN knowledge graphs. Query 30+ scientific knowledge graphs using natural language through your favorite AI assistant.

⚠️ Endpoint updated — action required

The hosted MCP endpoint has moved to https://apps.okn.us/okn-mcp-dev/mcp.

If you previously connected the mcp-proto-okn server (the connector named proto-okn, pointing at the old https://apps.okn.us/okn-mcp/mcp endpoint), delete or deactivate that connector in your AI agent and add a new connector pointing at the new URL above. The setup steps below use the new connector name mcp-okn-dev.

Transition period: the legacy mcp-proto-okn server (old endpoint) will remain available for a transition period, so any existing setups will keep working until you have migrated. We recommend moving to the new endpoint as soon as possible to take advantage of the cross-graph query capabilities.

What it does

The MCP OKN Server connects AI assistants — such as Claude Desktop, ChatGPT, VS Code Copilot, and others — directly to the FRINK-hosted knowledge graphs. Instead of writing SPARQL by hand, you describe what you need in plain English and the server translates your request into structured queries across one or more graphs.

Key features

How to connect

A hosted instance of the assistant endpoint is available at https://apps.okn.us/okn-mcp-dev/mcp. Point your MCP-capable client at that URL — no local installation required. Visiting it directly in a browser returns a JSON-RPC error (the endpoint speaks JSON-RPC, not HTTP GET); that is expected and does not indicate the server is down. Setup steps below cover the two most common clients.

What this enables

Once connected, your assistant can discover OKN graphs, inspect graph metadata, run SPARQL queries, bridge identifiers, and return answers with source graph context. It is most useful for open-ended cross-graph questions.

Quick verification prompt

“List all OKN knowledge graphs as a table of shortname and description.”

Claude Desktop

Requirements: A Claude Pro or Max subscription is required for MCP connectors in Claude Desktop.

Download Claude Desktop from claude.ai/download.

  1. Launch Claude Desktop and open Claude → Settings.
  2. Choose Connectors from the Settings menu. If you previously added the legacy mcp-proto-okn server, find the proto-okn connector and delete or deactivate it.
  3. Click Add custom connector and enter:
    • Name: mcp-okn-dev
    • URL: https://apps.okn.us/okn-mcp-dev/mcp
  4. Once mcp-okn-dev appears in the connector list, click Configure and set tool permissions to Always allow.
  5. Start a new chat, click the + button, toggle mcp-okn-dev on, and turn Web search off.
  6. Try the verification prompt above. If the assistant returns a graph list, the connector is working.

ChatGPT

Requirements: Full MCP app support is available for ChatGPT Business, Enterprise, and Edu workspaces. ChatGPT Pro users can use custom MCP apps in developer mode. Custom MCP apps are web-only, so use the ChatGPT web app at chatgpt.com rather than the desktop app.

Note: ChatGPT may not perform as well as Claude models for this task. For best results, use Claude Sonnet or Claude Opus.

  1. Sign in to chatgpt.com.
  2. Click your profile name/avatar.
  3. Open Settings.
  4. Go to Apps.
  5. Open Advanced settings.
  6. Turn on Developer mode (required for custom MCP apps in ChatGPT).
  7. Return to Apps.
  8. Click Create app.
  9. Enter the MCP app details:
    • Name: mcp-okn-dev
    • URL: https://apps.okn.us/okn-mcp-dev/mcp
  10. Save or create the app.
  11. Start a new chat.
  12. Click the + button in the message box.
  13. Select mcp-okn-dev from the list of available apps/tools.
  14. Turn Web search off before testing, so ChatGPT uses the MCP app rather than web search.
  15. Run the verification prompt. If ChatGPT returns a graph list, the MCP app is working.

Claude Code

Add to .mcp.json in your project root (or ~/.claude/settings.json for all projects). If you previously configured the legacy proto-okn server, remove that entry first.

{
  "mcpServers": {
    "mcp-okn-dev": {
      "type": "url",
      "url": "https://apps.okn.us/okn-mcp-dev/mcp"
    }
  }
}

Verify with /mcp — you should see mcp-okn-dev connected.

Compatible clients

Any MCP-compliant application works. Popular choices include:

Example queries

Once connected, try prompts like these:

Review the full set of single-KG and cross-KG queries, along with their chat transcripts.

If you find an issue or would like to contribute additional example queries, please file an issue.