Context7
Up-to-date docs for AI agents
Descripción del creador (original en inglés)
Search and fetch Wikidata entities, execute SPARQL queries, and resolve external identifiers.
Estos tres nunca se combinan en una sola puntuación: las opiniones, las mediciones y la popularidad son cosas distintas.
Todavía no escribimos un resumen sencillo para este. Abajo están los datos que leímos del registro.
Elige la app de IA que usas y copia la configuración.
WIKIDATA_USER_AGENT, WIKIDATA_SPARQL_TIMEOUT_MS, WIKIDATA_REST_TIMEOUT_MS, MCP_LOG_LEVELNecesitas
¿Qué app usas?
Elige tu app arriba. La recordamos, así que la próxima vez el botón dirá “Instalar en …”.
Funciona en Claude para web, escritorio y móvil:
https://wikidata.caseyjhand.com/mcpAbre Claude Desktop → Settings → Developer → Edit Config y pega esto en claude_desktop_config.json
{
"mcpServers": {
"wikidata": {
"command": "npx",
"args": [
"-y",
"@cyanheads/wikidata-mcp-server"
],
"env": {
"WIKIDATA_USER_AGENT": "your-value",
"WIKIDATA_SPARQL_TIMEOUT_MS": "your-value",
"WIKIDATA_REST_TIMEOUT_MS": "your-value",
"MCP_LOG_LEVEL": "your-value"
}
}
}
}Ejecuta esto en tu terminal
claude mcp add --transport http wikidata https://wikidata.caseyjhand.com/mcpclaude mcp add wikidata --env WIKIDATA_USER_AGENT=your-value --env WIKIDATA_SPARQL_TIMEOUT_MS=your-value --env WIKIDATA_REST_TIMEOUT_MS=your-value --env MCP_LOG_LEVEL=your-value -- npx -y @cyanheads/wikidata-mcp-serverCompleta los valores vacíos antes de ejecutarlo.
Pégalo en .cursor/mcp.json de tu proyecto, o en ~/.cursor/mcp.json
{
"mcpServers": {
"wikidata": {
"url": "https://wikidata.caseyjhand.com/mcp"
}
}
}Pégalo en .cursor/mcp.json de tu proyecto, o en ~/.cursor/mcp.json
{
"mcpServers": {
"wikidata": {
"command": "npx",
"args": [
"-y",
"@cyanheads/wikidata-mcp-server"
],
"env": {
"WIKIDATA_USER_AGENT": "your-value",
"WIKIDATA_SPARQL_TIMEOUT_MS": "your-value",
"WIKIDATA_REST_TIMEOUT_MS": "your-value",
"MCP_LOG_LEVEL": "your-value"
}
}
}
}Tu navegador te pide permiso para abrir la app; luego la app muestra la configuración y te pide confirmar. Los valores de las claves quedan vacíos para que los completes tú.
Pégalo en .vscode/mcp.json de tu proyecto
{
"servers": {
"wikidata": {
"type": "http",
"url": "https://wikidata.caseyjhand.com/mcp"
}
}
}Pégalo en .vscode/mcp.json de tu proyecto
{
"servers": {
"wikidata": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@cyanheads/wikidata-mcp-server"
],
"env": {
"WIKIDATA_USER_AGENT": "your-value",
"WIKIDATA_SPARQL_TIMEOUT_MS": "your-value",
"WIKIDATA_REST_TIMEOUT_MS": "your-value",
"MCP_LOG_LEVEL": "your-value"
}
}
}
}Tu navegador te pide permiso para abrir la app; luego la app muestra la configuración y te pide confirmar. Los valores de las claves quedan vacíos para que los completes tú.
ChatGPT solo se conecta a servidores en internet:
https://wikidata.caseyjhand.com/mcpLos nombres de los menús pueden variar un poco según el plan y con el tiempo.
Tu elección se guarda en una cookie en este dispositivo; no necesitas cuenta.
WIKIDATA_USER_AGENT envWIKIDATA_SPARQL_TIMEOUT_MS envWIKIDATA_REST_TIMEOUT_MS envMCP_LOG_LEVEL envEsta configuración se genera a partir de la ficha del creador en el registro. Si el README dice otra cosa, sigue el README.
Nombres y descripciones de las herramientas tal como los informó el servidor el 7 nov 2026. Los escribió el creador, no nosotros; los mostramos como texto sin formato.
wikidata_search_entitiesSearch Wikidata for items or properties by text query. Returns QIDs or PIDs with labels, descriptions, and match metadata indicating whether the hit was on a label or alias. Use type="item" for real-world concepts (people, places, works) and type="property" to find predicate P-ID
wikidata_get_entityFetch a Wikidata entity (item or property) by QID or PID. The fields parameter narrows the upstream fetch, not just the response — asking for labels alone costs a fraction of the whole entity, so name the fields you need. Omit fields for all data; a well-connected item is large e
wikidata_get_labelsResolve one or more QIDs or PIDs to their human-readable labels and descriptions. Lightweight — returns no claim data. Supports up to 50 IDs per call (batched automatically). Designed for the common agent pattern: receive QIDs from a SPARQL query, then humanize them.
wikidata_get_statementsFetch property claims for a Wikidata entity with qualifier and reference detail. Item QIDs and quantity units — in values, qualifiers, and references — are resolved to human-readable labels by default. Use the properties parameter to fetch only specific P-IDs — omitting it return
wikidata_get_sitelinksFetch Wikipedia and Wikimedia project article URLs for a Wikidata item. A sitelink maps a site code (e.g., "enwiki") to a Wikipedia article title and URL. Major items can have 300+ sitelinks across languages. Use sites to filter to specific language editions, or wikis_only to ret
wikidata_sparql_queryExecute a SPARQL SELECT query against the Wikidata Query Service. Full graph power: multi-hop traversals, aggregations, subqueries, OPTIONAL, FILTER, UNION, BIND. Standard Wikidata prefixes (wd:, wdt:, p:, ps:, pq:, wikibase:, bd:, rdfs:, schema:) are auto-injected. The wikibase:
wikidata_resolve_external_idLook up a Wikidata entity by an external identifier such as a DOI, PubMed ID, ORCID iD, or OpenAlex ID. Returns match= on success, match=null when not found, and match=null with multipleMatches populated when a Wikidata data integrity issue causes more than one entity to claim th
Revisamos información que cualquiera puede ver; no hemos leído el código. Las revisiones que no aplican no se cuentan. · Revisado el 7 nov 2026
El nombre en el registro se verificó con la cuenta de GitHub cyanheads, dueña del repo
Todavía no hemos leído este repo en GitHub
Todavía no hemos leído este repo en GitHub
Respondió en 270 ms (HTTP 200)
No hace falta iniciar sesión
Leímos 7 descripciones de herramientas y no encontramos instrucciones ocultas para la IA
Comparado con todos los servidores activos de esta categoría en el registro. Las estrellas solo cuentan cuando quien lo publica es dueño del repo.
Superó 3 de 3 revisiones básicas aplicables. No hemos leído el código. Antes de agregar una clave o un token, revisa qué acceso pide el servidor y usa una clave que tenga solo los permisos que necesitas.
El registro no indica ninguna clave obligatoria, aunque algunos servidores te piden iniciar sesión la primera vez que los usas.
Funciona de las dos formas: instálalo en tu computadora o conéctate a la versión en la nube.
El repo de GitHub cambió por última vez –, y la última versión (0.3.0) llegó al registro hace 10 días.
Las apps compatibles con MCP, como Claude Desktop, Claude Code, Cursor y VS Code. Se conecta por URL, así que también funcionan las apps que aceptan servidores MCP remotos, como ChatGPT en modo desarrollador.
En la misma categoría: Context7, Codebase Memory, Exa
Servidores de la misma categoría hechos por otros creadores, ordenados por estrellas.
Cómo leer una tarjeta:★ Estrellas de GitHubiTres pilares: reseñas · revisiones · usoiActualizado = fecha en que se publicó la última versión en el registroi
Up-to-date docs for AI agents
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
Connect AI agents to Exa for web search, content fetching, and multi-step research.
Copiado tal cual del repo del creador. PopNx MCP no lo ha revisado ni lo respalda. Se quitaron HTML, imágenes y scripts. Los enlaces llevan fuera de este sitio.
@cyanheads/wikidata-mcp-server Search and fetch Wikidata entities, execute SPARQL queries, and resolve external identifiers via MCP. STDIO or Streamable HTTP. 7 Tools • 1 Resource • 1 Skill
Public Hosted Server: https://wikidata.caseyjhand.com/mcp
Wikidata's knowledge graph. Search and fetch entities, traverse the graph with SPARQL, and resolve external identifiers like DOI, PMID, ORCID, OpenAlex, and IMDb to their Wikidata items. No API key required.
| Tool | Description |
|---|---|
wikidata_search_entities | Search for items or properties by text query, returning QIDs/PIDs with labels, descriptions, and match metadata |
wikidata_get_entity | Fetch a full entity by QID or PID with optional field and language filtering |
wikidata_get_labels | Batch-resolve up to 50 QIDs or PIDs to human-readable labels and descriptions |
wikidata_get_statements | Fetch property claims for an entity with qualifier detail and QID label resolution |
wikidata_get_sitelinks | Fetch Wikipedia and Wikimedia project article URLs for a Wikidata item |
wikidata_sparql_query | Execute a SPARQL SELECT query against the Wikidata Query Service |
wikidata_resolve_external_id | Look up a Wikidata entity by an external identifier (DOI, PubMed ID, ORCID, OpenAlex ID, etc.) |
| Resource | Description |
|---|---|
wikidata://entity/{id} | Compact markdown summary of a Wikidata entity — labels, English description, instance-of, Wikipedia link, image, and statement count |
All resource data is also reachable via tools.
The published wikidata-guide covers entity disambiguation, qualified statements, external identifiers, and SPARQL. It is included in plugin installs and served over MCP as skill://wikidata-guide/SKILL.md.
wikidata_search_entities tooltype="item" for people, places, and works, type="property" for P-IDsen, de, pt-br; case-insensitive); offset pagination, up to 50 results per callwikidata_get_entity toolQ76) fetch items and P-IDs (e.g. P31) fetch properties; fields selects labels, descriptions, aliases, statements, or sitelinks, and narrows the upstream fetch (Q76 is 344,114 bytes whole, 6,703 for labels alone)languages filters multilingual maps to the given language codesretrieval_notice names a fields set that fits and points oversized statements or sitelinks to the tool that can narrow themwikidata_get_labels toolwbgetentities API, with one or more language codes per requestfound count and notFound IDs for partial resultswikidata_get_statements toolproperties limits the fetch to specific P-IDs (omit for all); item QIDs and quantity units in values, qualifiers, and references are resolved to labels unless resolve_labels=falsesomevalue / novalueproperties whose sizes sum to 24,000 or less, as the retrieval_notice suggestswikidata_get_sitelinks toolenwiki) to article titles and URLs; sites filters to specific codeswikis_only=true keeps only Wikipedia links (drops Wiktionary, Wikiquote, Wikisource, etc.)wikidata_sparql_query toolwd:, wdt:, p:, ps:, pq:, wikibase:, bd:) and the wikibase:label SERVICE (when the query uses a ? Label, ? Description, or ? AltLabel variable) are added automatically; language takes one code or a fallback list like fr,enreturnedCount, totalCount, and a notice to page with ORDER BY plus LIMIT/OFFSET or to aggregatetimeout is 1–55s (server hard limit 60s); rate limit is 60 requests/min and 5 concurrent requests per IPwikidata_resolve_external_id toolexternal-id; item-valued or media properties (e.g. P31, P18) are rejectedmatch=null when not found (the Query Service lags the live wiki, so null is not proof of absence) and multipleMatches when more than one entity claims the same ID; the label uses the requested language, falling back to mulwikidata://entity/{id} resourceP31), enwiki Wikipedia link, image (P18), and statement counttext/markdown; for full entity data, use wikidata_get_entityid is a Q-ID or P-ID, the same identifiers the tools takeBuilt on @cyanheads/mcp-ts-core: stdio and Streamable HTTP transports, pluggable auth (none / jwt / oauth), swappable storage (in-memory, filesystem, Supabase, Cloudflare KV/R2/D1), structured logging with optional OpenTelemetry tracing.
Wikidata-specific:
wbgetentities API for efficient batch label resolutionUser-Agent per Wikimedia policy (WIKIDATA_USER_AGENT)WIKIDATA_REST_TIMEOUT_MS, WIKIDATA_SPARQL_TIMEOUT_MS)Agent-friendly output:
wikidata_get_labels designed to follow SPARQL result sets — run the query, then humanize in one callwikidata_resolve_external_id returns multipleMatches instead of a false null when a Wikidata data-integrity issue puts duplicate claims on one external IDkind: "outline" payload — field/property sizes plus a retrieval_notice naming the exact re-call — instead of a truncated or oversized responseConnect to the hosted instance, no install:
claude mcp add --transport http wikidata-mcp-server https://wikidata.caseyjhand.com/mcp
Or run it locally:
claude mcp add wikidata-mcp-server -- npx -y @cyanheads/wikidata-mcp-server
For other clients, add this to the MCP config file:
{
"mcpServers": { "wikidata-mcp-server": { "command": "npx", "args": ["-y", "@cyanheads/wikidata-mcp-server"] } } }
For Docker or a source build, see Running the server.
All configuration is validated at startup via Zod schemas. Key environment variables:
| Variable | Description | Default |
|---|---|---|
MCP_TRANSPORT_TYPE | Transport: stdio or http | stdio |
MCP_HTTP_PORT | HTTP server port | 3010 |
MCP_HTTP_ENDPOINT_PATH | HTTP endpoint path where the MCP server is mounted | /mcp |
MCP_PUBLIC_URL | Public origin override for TLS-terminating reverse-proxy deployments | none |
MCP_AUTH_MODE | Authentication: none, jwt, or oauth | none |
MCP_SESSION_MODE | HTTP session mode: stateful, stateless, or auto | stateless |
MCP_LOG_LEVEL | Log level (debug, info, notice, warning, error) | info |
MCP_GC_PRESSURE_INTERVAL_MS | Opt-in forced-GC interval in ms (Bun only) | 0 (disabled) |
LOGS_DIR | Directory for log files (Node.js only) | /logs |
STORAGE_PROVIDER_TYPE | Storage backend: in-memory, filesystem, supabase, cloudflare-kv/r2/d1 | in-memory |
WIKIDATA_USER_AGENT | User-Agent string for Wikimedia requests (policy requires a descriptive value) | wikidata-mcp-server/0.1 (https://github.com/cyanheads/wikidata-mcp-server) |
WIKIDATA_SPARQL_TIMEOUT_MS | Max wait for a SPARQL response in ms | 55000 |
WIKIDATA_REST_TIMEOUT_MS | Max wait for REST API responses in ms | 10000 |
OTEL_ENABLED | Enable OpenTelemetry | false |
See .env.example for the full list of optional overrides.
Requires Bun v1.4.0 or higher (or Node.js ≥24.0.0).
git clone https://github.com/cyanheads/wikidata-mcp-server.git
cd wikidata-mcp-server bun install cp .env.example .env
# One-time build
bun run rebuild
bun run start:http
bun run start:stdio
bun run devcheck # Lints, formats, type-checks, and more
bun run test # Runs the test suite
docker run --rm -p 3010:3010 ghcr.io/cyanheads/wikidata-mcp-server:latestSolo se muestra el principio; lee el resto en el repo