mcp-graphdb
5
GraphDB MCP Server is a Model Context Protocol server facilitating read-only access to Ontotext GraphDB for executing SPARQL queries and exploring RDF graphs. It provides various tools and resources for graph interaction, configuration options, and supports integration with Claude Desktop.
GraphDB MCP Server
A Model Context Protocol server that provides read-only access to Ontotext GraphDB. This server enables LLMs to explore RDF graphs and execute SPARQL queries against a GraphDB instance.
Components
Tools
- sparqlQuery
- Execute SPARQL queries against the connected GraphDB repository
- Input:
query
(string),graph
(string, optional),format
(string, optional)
- listGraphs
- Lists all graphs available in the repository
Resources
- Class List
- Predicates
- Statistics
- Sample Data
- Graph Content
Configuration
Configure using environment variables via a .env
file or command-line arguments.
Usage with Claude Desktop
Add the configuration to the "mcpServers" section of your claude_desktop_config.json
.
Installation
Clone the repository, install dependencies, and build the project.
License
Licensed under the GPL-3.0 License.