Overview
MCP Server for Apache Jena is a Model Context Protocol (MCP) server that connects AI agents to Apache Jena, enabling them to execute SPARQL queries and updates on RDF data.
To use the MCP Server, clone the repository, install dependencies, configure your environment, and start the server. Then, connect your MCP-compatible AI agent to the server.
- Execute SPARQL queries against a Jena Fuseki server - Execute SPARQL updates to modify RDF data - List available named graphs in the dataset - API key authentication for secure access - Compatible with the Model Context Protocol
- Integrating AI agents with RDF data for enhanced querying capabilities.
- Modifying RDF datasets dynamically through SPARQL updates.
- Providing a secure interface for AI agents to interact with Jena Fuseki.
Add to your AI client
Use these steps to connect MCP Server for Apache Jena in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"mcp-jena-ramuzes": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-jena-ramuzes"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"mcp-jena-ramuzes": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-jena-ramuzes"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"mcp-jena-ramuzes": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-jena-ramuzes"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"mcp-jena-ramuzes": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-jena-ramuzes"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"mcp-jena-ramuzes": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-jena-ramuzes"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"mcp-jena-ramuzes": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-jena-ramuzes"
]
}
}
}FAQ
What is required to run the MCP Server?
You need Node.js (v14 or later) and an Apache Jena Fuseki server with RDF data loaded.
How do I configure my AI agent to connect?
Follow the configuration steps provided in the documentation for your specific AI agent (e.g., Cursor or Cline).
Is there any authentication required?
Yes, the server uses API key authentication for secure access.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":3300,"uuid":"55d7e5c0-8db5-42cd-a1ed-22fb7d462016","name":"mcp-jena","title":"MCP Server for Apache Jena","description":"mcp server for Apache Jena","avatar_url":"https://avatars.githubusercontent.com/u/3285759?v=4","created_at":"2025-03-18T17:17:04.243Z","updated_at":"2025-03-18T17:18:19.257Z","status":"created","author_name":"ramuzes","author_avatar_url":"https://avatars.githubusercontent.com/u/3285759?v=4","tags":"[]","category":"developer-tools","is_featured":false,"sort":1,"url":"https://github.com/ramuzes/mcp-jena","target":"_self","content":"$29","summary":"$2a","img_url":null,"type":null,"metadata":"{\"star\":\"0\",\"license\":\"MIT license\",\"language\":\"TypeScript\",\"is_official\":false,\"latest_commit_time\":\"2025-06-02 14:54:51\"}","user_uuid":null,"tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]