Skip to main content
Glama

MCP Wikidata Server

by joelgombin

sparql_query

Execute SPARQL queries on Wikidata to extract structured data in JSON, CSV, or XML formats. Specify query and optional parameters like result limit for precise data retrieval.

Instructions

Execute a SPARQL query against Wikidata

Input Schema

NameRequiredDescriptionDefault
formatNoResponse formatjson
limitNoMaximum number of results (default: 100, max: 1000)
queryYesSPARQL query

Input Schema (JSON Schema)

{ "properties": { "format": { "default": "json", "description": "Response format", "enum": [ "json", "csv", "xml" ], "type": "string" }, "limit": { "default": 100, "description": "Maximum number of results (default: 100, max: 1000)", "maximum": 1000, "type": "integer" }, "query": { "description": "SPARQL query", "type": "string" } }, "required": [ "query" ], "type": "object" }
Install Server

Other Tools from MCP Wikidata Server

Related Tools

    MCP directory API

    We provide all the information about MCP servers via our MCP API.

    curl -X GET 'https://glama.ai/api/mcp/v1/servers/joelgombin/mcp-wikidata'

    If you have feedback or need assistance with the MCP directory API, please join our Discord server