MCP.so
登录
M

MCP GraphDB

@keonchennl

关于 MCP GraphDB

A Model Context Protocol server that provides read only access to graphs in a certain repository in Ontotext GraphDB. This server enables LLMs to execute SPARQL queries.

基本信息

分类

其他

传输方式

stdio

发布者

keonchennl

提交者

Keon Chen

配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "graphdb": {
      "command": "node",
      "args": [
        "/path/to/mcp-server-graphdb/dist/index.js"
      ],
      "env": {
        "GRAPHDB_ENDPOINT": "http://localhost:7200",
        "GRAPHDB_REPOSITORY": "myRepository",
        "GRAPHDB_USERNAME": "username",
        "GRAPHDB_PASSWORD": "password"
      }
    }
  }
}

工具

1

\`query\` (string): The SPARQL query to execute

概览

What is MCP GraphDB?

A Model Context Protocol server that provides read-only access to Ontotext GraphDB, enabling LLMs to explore RDF graphs and execute SPARQL queries.

How to use MCP GraphDB?

Install dependencies, build with yarn build, then configure via environment variables (GRAPHDB_ENDPOINT, GRAPHDB_REPOSITORY, GRAPHDB_USERNAME, GRAPHDB_PASSWORD) or pass endpoint and repository as command-line arguments. Use with Claude Desktop by adding a configuration entry to claude_desktop_config.json.

Key features of MCP GraphDB

  • Read-only SPARQL query execution
  • List all graphs in the repository
  • View RDF classes with instance counts
  • List predicates with usage counts
  • Access repository statistics (subjects, triples)
  • Retrieve sample triples from graphs

Use cases of MCP GraphDB

  • Explore RDF knowledge graphs via natural language prompts from an LLM
  • Query class and predicate statistics to understand data distribution
  • Extract sample data from specific graphs for validation
  • Enable

评论

其他 分类下的更多 MCP 服务器