mcp-server-sparql

mcp-server-sparql

3.3

If you are the rightful owner of mcp-server-sparql and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

MCP Server SPARQL is a Model Context Protocol server designed to facilitate querying SPARQL endpoints.

MCP Server SPARQL

A Model Context Protocol (MCP) server that provides tools for querying SPARQL endpoints.

Usage

Example usage for querying the Wikidata SPARQL endpoint.

uvx

"mcpServers": {
  "mcp-server-sparql": {
    "command": "uvx",
    "args": ["mcp-server-sparql", "--endpoint", "https://query.wikidata.org/sparql"],
  }
}

Tool: query

Execute a SPARQL query against the configured endpoint.

Parameters:

  • query_string: A valid SPARQL query string

Returns:

  • The query results in JSON format