wikidata.com
wikidata.com logo

Wikidata

Integrates with Wikidata to enable entity searches, property retrieval, and SPARQL queries for accessing structured know...

Created byApr 23, 2025

Wikidata MCP Server

A server implementation for Wikidata API using the Model Context Protocol (MCP). This project provides tools to interact with Wikidata, such as **searching identifiers** (entity and property), **extracting metadata** (label and description) and **executing sparql query**.

Installation

Install `uv` if it is not installed yet.
Then, install dependencies.

Run

Run the server with:
If you want to test it with a simple client code (with `langchain-mcp-adapters`), run the client with:
The LLM extracts valid entity and property identifiers, executes a sparql query, and finally recommend a movie directed by Bong Joon-ho.

Wikidata MCP Tools

The following tools are implemented in the server:
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]

License

MIT License