GraphDB MCP Server
About
An MCP server that enables AI assistants to interact with GraphDB by executing SPARQL queries and retrieving database schemas. It is built for developers and knowledge workers who want to explore graph data through natural language interfaces.
Details
- Author
- ianormy
- Downloads
- 332
- Categories
- Other
Jump to
- Execute SPARQL read queries against a GraphDB repository.
- Retrieve the ontology schema as RDF triples.
- Uses the Model Context Protocol for integration.
- Supports local GraphDB instances via HTTP.
Setting up with Highlight
This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:
- Download and install Highlight from highlightai.com/download
- Navigate to the plugins tab and select "Add Custom Plugin"
-
Configure the plugin with the settings below
Plugin Name
GraphDB MCP ServerCommand (node, npx, python, etc.)Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.
- Enable "Start Automatically" if you want the plugin to start when Highlight launches
From the repository
Install uv, clone the repository, set up a virtual environment, and run uvx with --db-url, --schema-file, --username, and --password arguments. Add the server to your Claude Desktop configuration using the mcp-graphdb key.
Claude Desktop / Cursor
Paste into your MCP client config file to install this server.
{
"mcpServers": {
"graphdb mcp server": {
"mcp-graphdb-ianormy": {
"command": "uv",
"args": [
"venv"
]
}
}
}
}
McpServers
{
"mcp-graphdb-ianormy": {
"command": "uv",
"args": [
"venv"
]
}
}
GraphDB MCP Server
Overview
A Model Context Protocol (MCP) server implementation that provides database interaction and allows graph exploration capabilities through GraphDB.
This server enables running SPARQL graph queries.
Components
Tools
The server offers these core tools:
- read-graphdb-sparql
- Execute SPARQL read queries to read data from a repository
- Input:
- query (string): The SPARQL query to execute
- Returns: Query results as JSON serialized array of objects
- get-graphdb-schema
- Get a list of the RDF triples that define the ontology for the GraphDB database
- No input required
- Returns: JSON serialized list of the RDF triples that define the ontology of the GraphDB database
Usage with Claude Desktop
"mcpServers": {
"mcp-graphdb": {
"command": "uvx",
"args": [
"D:\\Source\\mcp\\mcp-graphdb",
"--db-url",
"http://localhost:7200/repositories/starwars",
"--schema-file",
"D:\\Source\\mcp\\mcp-graphdb\\data\\starwars-ontology.trig",
"--username",
"ignore",
"--password",
"ignore"
]
}
}
Development
Prerequisites
1. Install uv (Universal Virtualenv):
```bash
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.



