MCP GraphDB
@keonchennl
About 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.
Config
Add this server to your MCP-compatible client using the configuration below.
{
"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"
}
}
}
}Tools
1\`query\` (string): The SPARQL query to execute
Overview
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
Basic information
More Other MCP servers
MCP Registry
modelcontextprotocolA community driven registry service for Model Context Protocol (MCP) servers.
Reactive Resume
amruthpillaiA one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!
Mcp
browsermcpBrowser MCP is a Model Context Provider (MCP) server that allows AI applications to control your browser
Codelf
unbugA search tool helps dev to solve the naming things problem.

Sequential Thinking
modelcontextprotocolModel Context Protocol Servers
Comments