RDF Explorer
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.
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
Maintainer
Works with
Installation
NPM
npx -y rdf-explorerManual Installation
npx -y rdf-explorerConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
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)
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-explorerOr 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.txtChoose 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.
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.
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.
RDF Explorer Alternatives — Similar Search & Data Extraction Servers
Looking for alternatives to RDF Explorer? Here are other popular search & data extraction servers you can use with Claude, Cursor, and VS Code.
TrendRadar
★ 58.0kA real-time hotspot monitoring and news aggregation assistant that provides AI-powered analysis of trending topics across multiple platforms via the Model Context Protocol. It enables users to track news and receive automated notifications through va
Scrapling
★ 52.7k🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl!
PDF Math Translate
★ 33.9k[EMNLP 2025 Demo] PDF scientific paper translation with preserved formats - 基于 AI 完整保留排版的 PDF 文档全文双语翻译,支持 Google/DeepL/Ollama/OpenAI 等服务,提供 CLI/GUI/MCP/Docker/Zotero
GPT Researcher
★ 27.2kAn autonomous agent that conducts deep research on any data using any LLM providers
Agent Reach
★ 20.1kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
Xiaohongshu
★ 13.7kMCP for xiaohongshu.com
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.
Set Up RDF Explorer in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
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.