MCP.so
Sign In

MCP Server for Apache Jena

@ramuzes

Basic information

Category

Other

License

MIT license

Transports

stdio

Author

ramuzes

About MCP Server for Apache Jena

mcp server for Apache Jena

MCP Server for Apache Jena config

Add this server to your MCP-compatible client using the configuration below.

{
  "mcpServers": {
    "mcp-jena": {
      "command": "docker",
      "args": [
        "build",
        "-t",
        "mcp-jena",
        "."
      ]
    }
  }
}

MCP Server for Apache Jena tools

5

Basic data discovery and statistics

Complex graph navigation patterns

Knowledge graph metrics and analysis

Data quality and consistency checks

Structure discovery and documentation

Overview

What is MCP Server for Apache Jena?

MCP Server for Apache Jena connects AI agents to Apache Jena, enabling SPARQL query and update capabilities against a Jena Fuseki server. It is designed for developers using AI assistants that support the Model Context Protocol.

How to use MCP Server for Apache Jena?

Install dependencies with npm install, build with npm run build, then start with npm start or with custom options like --endpoint, --dataset, --username, and --password. You can also run via Docker with environment variables.

Key features of MCP Server for Apache Jena

  • Execute SPARQL queries against a Jena Fuseki server
  • Execute SPARQL updates to modify RDF data
  • List available named graphs in the dataset
  • HTTP Basic authentication support for Jena Fuseki
  • Pre-built SPARQL query templates for common tasks

Use cases of MCP Server for Apache Jena

  • Querying RDF datasets from AI agents like Claude or Cursor
  • Inserting or updating RDF triples via SPARQL updates
  • Discovering and documenting named graphs in a knowledge graph
  • Validating and analyzing data quality with templates

Frequently asked questions

1

What are the prerequisites?

Node.js v16 or later, a running Apache Jena Fuseki server with loaded RDF data, and an AI agent that supports MCP.

2

How do I configure authentication?

Provide `--username` and `--password` flags or set `JENA_USERNAME` and `JENA_PASSWORD` environment variables for HTTP Basic authentication.

3

Can I run the server with Docker?

Yes, build the Docker image with `docker build -t mcp-jena .` and run it with `docker run -e JENA_FUSEKI_URL=... -e DEFAULT_DATASET=... mcp-jena`.

4

What tools does the server provide?

It offers `execute_sparql_query`, `execute_sparql_update`, `list_graphs`, and `sparql_query_templates` tools, each with documentation and examples.

5

What environment variables are available?

`JENA_FUSEKI_URL`, `DEFAULT_DATASET`, `JENA_USERNAME`, `JENA_PASSWORD`, `PORT` (default 8080), and `API_KEY` for authentication.

Comments

More Other MCP servers