get_entities

Pack: wikidata · Endpoint: https://gateway.pipeworx.io/wikidata/mcp

Batch version of get_entity — resolve up to ${MAX_BATCH_IDS} Wikidata Q-ids in ONE call instead of looping single get_entity calls. Same fields as get_entity per entity (labels, descriptions, aliases, claims, sitelinks, revision info), keyed by Q-id. Any id that does not resolve (bad format, deleted, or genuinely unknown) is reported in “not_found” rather than failing the whole batch — the other ids still resolve. Pass “language” (comma/pipe-joined for several) the same as get_entity to get multilingual labels for every entity in the batch.

Parameters

NameTypeRequiredDescription
idsarrayyesWikidata Q-ids to resolve, up to ${MAX_BATCH_IDS} — either an array of strings (e.g. [“Q162887”,“Q1326165”,“Q3493773”]) or a single comma/pipe-joined string (e.g. “Q162887,Q1326165,Q3493773”).
itemsstringno
languagestringno

Example call

Arguments

{
  "ids": [
    "Q162887",
    "Q1326165",
    "Q3493773"
  ]
}

curl

curl -X POST https://gateway.pipeworx.io/wikidata/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_entities","arguments":{"ids":["Q162887","Q1326165","Q3493773"]}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('get_entities', {
  "ids": [
    "Q162887",
    "Q1326165",
    "Q3493773"
  ]
});

More examples

{
  "ids": "Q162887,Q1326165,Q3493773",
  "language": "ka,en"
}

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "wikidata": {
      "url": "https://gateway.pipeworx.io/wikidata/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build September 9, 2026