MCP server
Wikidata Sparql
io.github.pipeworx-io/wikidata-sparql
Checked 26 Oct 2026, 08:29 UTC · Connected to it and listed its tools
Wikidata SPARQL MCP — Wikidata Query Service
From the maker's README Wikidata Query Service MCP — full SPARQL access to the entire Wikidata knowledge graph (100M items, 1.5B statements). Complements the existing wikidata pack (which covers entity search + retrieval). Source
At a glance
- Type
- MCP server
- Publisher
- pipeworx.io (verified by the MCP Registry)
- Status
- Working at last check
- Tools
- 48
- Token cost
- About 27,409 tokens per request
- Sets up in
- Claude Code, Claude Desktop, Codex, Gemini CLI, Cursor, VS Code, Antigravity, ChatGPT, OpenAI API, Grok
- Last checked
- 26 Oct 2026, 08:29 UTC
Connect it to your agent
Opens the app, which shows the server and asks you to confirm. For other apps, copy the setup below.
Claude Code
claude mcp add --transport http wikidata-sparql https://gateway.pipeworx.io/wikidata-sparql/mcp
Claude Desktop
Settings → Connectors → Add custom connector, and paste the URL.
Codex (config.toml)
[mcp_servers.wikidata-sparql] url = "https://gateway.pipeworx.io/wikidata-sparql/mcp"
Gemini CLI
{"mcpServers":{"wikidata-sparql":{"httpUrl":"https://gateway.pipeworx.io/wikidata-sparql/mcp"}}}
Cursor
{"mcpServers":{"wikidata-sparql":{"url":"https://gateway.pipeworx.io/wikidata-sparql/mcp"}}}
VS Code
{"servers":{"wikidata-sparql":{"type":"http","url":"https://gateway.pipeworx.io/wikidata-sparql/mcp"}}}
Antigravity
agy mcp add wikidata-sparql https://gateway.pipeworx.io/wikidata-sparql/mcp
ChatGPT
Settings → Apps & Connectors → Advanced settings: turn on Developer mode, then Create a connector and paste the URL. Which plans can do this varies.
OpenAI API (Responses tools)
{"type":"mcp","server_label":"wikidata-sparql","server_url":"https://gateway.pipeworx.io/wikidata-sparql/mcp","require_approval":"always"}
Grok (xAI API tools)
{"type":"mcp","server_label":"wikidata-sparql","server_url":"https://gateway.pipeworx.io/wikidata-sparql/mcp"}
Tools
current_officeholder~300 tokens
Who currently holds a political office / leadership position for a place — answers "who is the current mayor of London", "who is the prime minister of Japan", "president of France", "governor of California", "who leads <city/country>". Give the place or organization name; returns the current head ofentities_at~180 tokens
Geo-spatial query: items near a point. Use instance_of to filter by class.instances_of~148 tokens
Convenience: list all items that are an instance of a Wikidata class.properties_of~112 tokens
Convenience: all statements (property → value) about an entity.query~233 tokens
Run a SPARQL query against the Wikidata Query Service. Returns JSON bindings by default.subclasses_of~133 tokens
Return all subclasses of a Wikidata class via transitive P279 (subclass-of) traversal; takes a Wikidata entity id (e.g. Q11424) and returns labelled subclass items up to the specified limit.
Browse
Related MCP servers
- Wikidata
Search and fetch Wikidata entities, execute SPARQL queries, and resolve external identifiers. - Geo Reconcile
Wikidata <-> OpenStreetMap reconciliation. - SiteCheck
225 pay-per-call agent tools: Polymarket, chain reads, DeFi, web, SEC, KYB, geo, dev, AI. x402 - Wikidata
Wikidata MCP — wraps Wikidata API (wikidata.org/w/api.php) - Dbpedia
DBpedia MCP — SPARQL + Lookup over Wikipedia-derived structured data - Artsdata
Search Artsdata for authoritative data on Canadian events, artists, organizations, and places. - Brainkb
MCP server for querying BrainKB, a knowledge base for neuroscience knowledge graphs. - Eur Lex
Search EU legislation, CJEU case law, and treaties; traverse CELLAR graph; browse EuroVoc concepts.
Badge for your README
[](https://aptlynx.net/servers/io.github.pipeworx-io/wikidata-sparql)
Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents