GraphDB MCP ServerServer

keonchennl
GitHub
GraphDBSPARQLRDF

Loading subscription status...

💡 Description

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

📝 JSON Entries

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

🛠️ Tools

sparqlQuerylistGraphs

Features

  • Execute SPARQL queries
  • List available graphs

💬 Example Queries

  • List all classes in the ontology
  • List all properties for a specific class
  • Count instances by class