mcp-proto-okn 发布:用自然语言查询开放科学知识图谱的 MCP 服务器
mcp-proto-okn: Natural-language access to open scientific knowledge graphs through the Model Context Protocol
mcp-proto-okn 是一个基于 Python 的 Model Context Protocol 服务器,让 AI 助手通过自然语言发现、检查和查询科学知识图谱。它针对 proto-Open Knowledge network 中 RDF 与属性图架构不一致、跨图查询困难的问题,提供图路由、模式检查、SPARQL 执行、本体扩展、多图查询和对话记录生成等功能。该工具基于 FastMCP 框架实现,代码与文档、客户端配置说明和示例分析记录均开放在 GitHub 仓库,基准测试框架、全部语料及每次记录的提示、工具调用、提交答案、耗时和成本也一并公开。
来源:Bioinformatics Advances · doi.org
Motivation
The proto-Open Knowledge network is an NSF program to connect dozens of domain-specific knowledge graphs. However, graphs differ in their architechture (rdf vs. property graphs) making querying across graphs challenging.
Results
MCP Server Proto-OKN (mcp-proto-okn) is a Python-based Model Context Protocol server that enables AI assistants to discover, inspect, query and integrate scientific knowledge graphs through natural language. The server provides graph routing, schema inspection, SPARQL execution, ontology expansion, multi-graph querying, and transcript generation, lowering the barrier to cross-domain knowledge graph analysis for biomedical and scientific users.
Availability and Implementation
mcp-proto-okn is implemented in Python using the FastMCP framework and is available at https://github.com/sbl-sdsc/mcp-proto-okn. Documentation, client configuration instructions, and example analysis transcripts are provided in the GitHub repository. The benchmark harness, all corpora, and every recorded episode, including each prompt, tool call, submitted answer, timing and cost, are available at https://github.com/sbl-sdsc/mcp-proto-okn-benchmark