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

コメント

「その他」の他のコンテンツ