RDF ExplorerSAFE
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.
Overview
From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.
Overview
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 facilitates communication between AI applications (hosts/clients) and RDF data, making graph exploration and analyzing graph data through SPARQL queries. A perfect tool for knowledge graph research and AI data preparation.
Components
Tools
The server implements SPARQL queries and search functionality:
execute_on_endpoint- Execute a SPARQL query directly on an external endpoint
- Input:
endpoint(str): The SPARQL endpoint URL to query.query(str): The SPARQL query to execute.ctx(Context): The FastMCP context object.- Returns: Query results as a newline-separated string, or an error message.
sparql_query- Execute a SPARQL query on the current graph or active external endpoint
- Input:
query(str): The SPARQL query to execute.ctx(Context): The FastMCP context object.use_service(bool): Whether to use a SERVICE clause for federated queries in local mode (default: True).- Returns: Query results as a newline-separated string, or an error message.
graph_stats- Calculate and return statistics about the graph in JSON format
- Input:
ctx(Context): The FastMCP context object.- Returns: JSON string containing graph statistics (e.g., triple count, unique subjects).
count_triples- Count triples in the graph. Disabled in SPARQL Endpoint Mode; use a custom prompt instead.
- Input:
ctx(Context): The FastMCP context object.- Returns: Number of triples as a string, or an error message.
full_text_search- Perform a full-text search on the graph or endpoint, avoiding proprietary syntax.
- Input:
search_term(str): The term to search for.ctx(Context): The FastMCP conte
10bb4a182f53OBSERVED · 2026-10-08Exposed tools (10)
6 read · 4 write · 0 destructive.
| Tool | Risk | Description |
|---|---|---|
connect_external_triplestore | write | Connect to an external SPARQL endpoint and optionally set it as active for local mode queries. |
count_triples | read | Count triples in the graph. Disabled in SPARQL Endpoint Mode; use a custom prompt instead. |
execute_on_endpoint | write | Execute a SPARQL query directly on an external endpoint. |
explore_url | read | Extract triples from an RSS/OPML feed URL and store them in the feed graph. |
full_text_search | read | Perform a full-text search on the graph or endpoint, avoiding proprietary syntax. |
get_mode | read | Get the current mode of RDF Explorer. Useful for knowledge graph and semantic tech users to verify data source. |
graph_stats | read | Calculate and return statistics about the graph in JSON format. |
health_check | read | Check the health of the triplestore connection. |
set_max_tokens | write | Set the maximum token limit for prompts. |
sparql_query | write | Execute a SPARQL query on the current graph or active external endpoint. |
Trust audit
SAFEgrade B · trust 89/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.
| Layer | What it checks | Result |
|---|---|---|
| L0 | Provenance & inventory | PASS |
| L1 | Static analysis of the code | PASS |
| L2 | Instruction surface (what it tells the agent) | PASS |
| L3 | Class-specific surface | PASS |
| L4 | Behavioural (sandbox) | SKIPPED |
What the source does
- Filesystem
- none-observed
- Network
- declared (1 observation(s))
- Shell
- none-observed
- Dependencies
- not all pinned
- Secrets in source
- none-found
Findings (1)
rdflib, requests, feedparser, tiktoken
Gates applied: no_behavioural_pass.
10bb4a182f53full audit observations/trust-audit/mcp-server/emekaokoye__rdf-explorer.json · Report an issue / request a re-scanAudit history
Every audit this server has had. A grade with a past is a grade somebody is still checking.
| Date | Source | Verdict | Grade | Score | Change |
|---|---|---|---|---|---|
| 2026-10-08 | 10bb4a182f53 | SAFE | B | 89 | first audit |
Questions
What is the RDF Explorer MCP server?
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 tools does RDF Explorer expose?
10 in total: 6 read-only, 4 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.
Is RDF Explorer safe to connect to an agent?
The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean server reads B.
What credentials does RDF Explorer need?
No credential environment variables were found in its source, so it appears to need none.
How current is this page?
The grade is for one exact copy of the source (10bb4a182f53), read on 2026-10-08. The repository is watched and re-audited when it changes.