RDF Explorer

v1.0.0Search & Data Extractionstable

A Model Context Protocol (MCP) server that provides conversational interface for the exploration and analysis of RDF (Turtle) based Knowledge Graph in Local File mode or SPARQL Endpoint mode.

rdf-explorermcpai-integration
Share:
52
Stars
0
Downloads
0
Weekly
0/5

What is RDF Explorer?

RDF Explorer is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to model context protocol (mcp) server that provides conversational interface for the exploration and analysis of rdf (turtle) based knowledge graph in local file mode or sparql endpoint mode.

A Model Context Protocol (MCP) server that provides conversational interface for the exploration and analysis of RDF (Turtle) based Knowledge Graph in Local File mode or SPARQL Endpoint mode.

This server falls under the Search & Data Extraction category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • A Model Context Protocol (MCP) server that provides conversa

Use Cases

RDF knowledge graph exploration
SPARQL endpoint analysis
emekaokoye

Maintainer

LicenseMIT License
Languagepython
Versionv1.0.0
UpdatedApr 15, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

NPM

npx -y rdf-explorer

Manual Installation

npx -y rdf-explorer

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use RDF Explorer

RDF Explorer is a Python MCP server that provides a conversational interface for exploring and querying RDF knowledge graphs in Turtle (.ttl) format or via SPARQL endpoints. It exposes tools for running SPARQL queries, performing full-text search, retrieving graph statistics, and browsing schema definitions—either against local Turtle files or remote SPARQL endpoints like DBpedia or Wikidata. Knowledge engineers, linked data developers, and semantic web practitioners use it to interrogate complex ontologies and knowledge graphs using plain English rather than hand-written SPARQL.

Prerequisites

  • Python 3.8+ and pip installed
  • A Turtle (.ttl) RDF file to explore, or a SPARQL endpoint URL
  • An MCP-compatible client such as Claude Desktop
  • Git to clone the repository (for local installation)
1

Install via npx (npm package)

The quickest way to run RDF Explorer is via the published npm package using npx. No cloning required.

npx -y rdf-explorer
2

Or clone and install from source

For a local Python installation, clone the repository and install the Python dependencies in a virtual environment.

git clone https://github.com/emekaokoye/mcp-rdf-explorer.git
cd mcp-rdf-explorer
python -m venv venv
source venv/bin/activate
pip install -r requirements.txt
3

Choose your operating mode

RDF Explorer runs in either Local File mode (pointing at a .ttl file) or SPARQL Endpoint mode (pointing at a remote endpoint). Decide which mode suits your data source before configuring.

4

Configure Claude Desktop for Local File mode

Add the server to your claude_desktop_config.json with the --triple-file argument pointing to your Turtle file.

5

Or configure for SPARQL Endpoint mode

Use the --sparql-endpoint argument instead to point the server at a remote SPARQL endpoint URL.

RDF Explorer Examples

Client configuration

Two configuration variants: one for a local Turtle file and one for a remote SPARQL endpoint. Choose the one that matches your data source.

{
  "mcpServers": {
    "rdf-explorer-local": {
      "command": "npx",
      "args": ["-y", "rdf-explorer", "--triple-file", "/path/to/your/knowledge-graph.ttl"]
    },
    "rdf-explorer-sparql": {
      "command": "npx",
      "args": ["-y", "rdf-explorer", "--sparql-endpoint", "https://dbpedia.org/sparql"]
    }
  }
}

Prompts to try

Example prompts for exploring RDF knowledge graphs in both local and SPARQL endpoint modes.

- "Show me all the classes and properties defined in this knowledge graph"
- "How many triples are in this graph?"
- "Find all employees in the Sales department"
- "Using the DBpedia endpoint, list 10 songs by Michael Jackson"
- "Run a SPARQL query to find all instances of foaf:Person in the graph"
- "What mode is RDF Explorer running in and is the connection healthy?"

Troubleshooting RDF Explorer

SPARQL endpoint queries return no results or time out

Verify the endpoint URL is correct and publicly accessible. Some endpoints like DBpedia have rate limits—add LIMIT clauses to your queries to reduce response size. Use the health_check tool to confirm connectivity.

Local Turtle file fails to parse

Ensure your .ttl file is valid Turtle syntax. Validate it with an online RDF validator or the rdflib Python library: 'python -c "import rdflib; g=rdflib.Graph(); g.parse(\"your-file.ttl\")"'.

count_triples tool is unavailable

The count_triples tool is only available in Local File mode, not SPARQL Endpoint mode. Check which mode is active using the get_mode tool. Switch to local mode by restarting with --triple-file if needed.

Frequently Asked Questions about RDF Explorer

What is RDF Explorer?

RDF Explorer is a Model Context Protocol (MCP) server that model context protocol (mcp) server that provides conversational interface for the exploration and analysis of rdf (turtle) based knowledge graph in local file mode or sparql endpoint mode. It connects AI assistants to external tools and data sources through a standardized interface.

How do I install RDF Explorer?

Install via npm with the command: npx -y rdf-explorer. Then add the server configuration to your AI client's JSON config file (e.g., claude_desktop_config.json or .cursor/mcp.json).

Which AI clients work with RDF Explorer?

RDF Explorer works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is RDF Explorer free to use?

Yes, RDF Explorer is open source and available under the MIT License license. You can use it freely in both personal and commercial projects.

Browse More Search & Data Extraction MCP Servers

Explore all search & data extraction servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "rdf-explorer": { "command": "npx", "args": ["-y", "rdf-explorer"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use RDF Explorer?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides