MCP server exposing SPARQL query functionalities for LLMs
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β we're steadily working through the catalog.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
mcp-sparql β MCP server exposing SPARQL query functionalities for LLMs.
mcp-name: io.github.daedalus/mcp-sparql
Add to your MCP configuration (e.g., ~/.config/claude/mcp.json):
| Tool | Description |
|---|---|
sparql_query | Execute SPARQL SELECT queries (table or JSON output) |
sparql_ask | Execute SPARQL ASK queries (boolean result) |
sparql_construct | Execute SPARQL CONSTRUCT queries (Turtle or JSON-LD) |
sparql_describe | Execute SPARQL DESCRIBE queries (Turtle or JSON-LD) |
sparql_validate | Validate SPARQL query syntax without executing |
sparql_list_graphs | List named graphs on a SPARQL endpoint |
sparql_get_prefixes | Get common prefixes for a SPARQL endpoint |
Query Wikidata:
Check if an entity exists:
Validate a query:
List named graphs:
Get common prefixes:
| Resource | URI | Description |
|---|---|---|
| Common Prefixes | sparql://common-prefixes | Standard SPARQL namespace prefixes |
sparql_queryExecute a SPARQL SELECT query.
Parameters:
endpoint (str): SPARQL endpoint URLquery (str): SPARQL SELECT querytimeout (int, default=30): Query timeout in secondsoutput_format (str, default="table"): "table" for Markdown, "json" for JSONheaders (dict, optional): HTTP headers for authenticationmax_rows (int, default=1000): Maximum result rowssparql_askExecute a SPARQL ASK query. Returns "true" or "false".
sparql_constructExecute a SPARQL CONSTRUCT query. Returns RDF triples.
Additional parameters:
output_format (str, default="turtle"): "turtle" or "json"sparql_describeExecute a SPARQL DESCRIBE query. Returns RDF description.
sparql_validateValidate SPARQL query syntax without executing.
sparql_list_graphsList available named graphs on a SPARQL endpoint.
sparql_get_prefixesGet commonly used prefixes for a SPARQL endpoint.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/mcp-sparql)<a href="https://allmcps.com/mcp/mcp-sparql"><img src="https://allmcps.com/api/badge/mcp-sparql?style=directory" alt="MCP Sparql on AllMCPs" /></a>