MCP.so
登录

Mcp Wikidata

@zzaebok

关于 Mcp Wikidata

A server implementation for Wikidata API using the Model Context Protocol (MCP).

基本信息

分类

其他

许可证

MIT

运行时

python

传输方式

stdio

发布者

zzaebok

配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "mcp-wikidata": {
      "command": "npx",
      "args": [
        "-y",
        "@smithery/cli",
        "install",
        "@zzaebok/mcp-wikidata",
        "--client",
        "claude"
      ]
    }
  }
}

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is Mcp Wikidata?

Mcp Wikidata is a Model Context Protocol server that provides a set of tools for interacting with the Wikidata API. It allows AI agents to search for entity and property identifiers, retrieve metadata (label and description), and execute SPARQL queries against Wikidata.

How to use Mcp Wikidata?

Install via Smithery (npx -y @smithery/cli install @zzaebok/mcp-wikidata --client claude) or manually using uv after cloning the repository. Run the server with uv run src/server.py. The server exposes five tools that the LLM can invoke to answer queries about Wikidata entities and properties.

Key features of Mcp Wikidata

  • Search for a Wikidata entity ID by query string.
  • Search for a Wikidata property ID by query string.
  • Retrieve all properties associated with a given entity ID.
  • Execute arbitrary SPARQL queries on Wikidata.
  • Fetch the label and description for an entity in a specified language.

Use cases of Mcp Wikidata

  • Answer questions about people, places, or things by looking up their Wikidata entity.
  • Find the correct property ID for a relationship (e.g., “director” = P57).
  • List all properties of a known entity (e.g., get all statements for Bong Joon‑ho).
  • Run a SPARQL query to retrieve structured data (e.g., films directed by a person).
  • Combine entity lookup, property discovery, and SPARQL to perform multi‑step knowledge retrieval.

FAQ from Mcp Wikidata

评论

其他 分类下的更多 MCP 服务器