search_entities
Pack: wikidata · Endpoint: https://gateway.pipeworx.io/wikidata/mcp
Search Wikidata entities by label or alias (e.g., “Albert Einstein”, “Python programming language”, “Tokyo”). Returns entity IDs, labels, descriptions, and aliases. Useful for finding the Wikidata ID of any concept.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
query | string | yes | Search query (e.g., “Marie Curie”, “Bitcoin”, “Great Wall of China”) |
language | string | no | Language code for labels (default “en”). E.g., “fr”, “de”, “ja” |
limit | number | no | Max results to return (1-50, default 10) |
Example call
Arguments
{
"query": "Albert Einstein"
}
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":"search_entities","arguments":{"query":"Albert Einstein"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('search_entities', {
"query": "Albert Einstein"
});
More examples
{
"query": "Python programming language",
"language": "en",
"limit": 5
}
Response shape
Always returns: results
| Field | Type | Description |
|---|---|---|
results | array | Array of search results |
Full JSON Schema
{
"type": "object",
"properties": {
"results": {
"type": "array",
"description": "Array of search results",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Wikidata entity ID (e.g., Q42)"
},
"label": {
"type": [
"string",
"null"
],
"description": "Entity label in requested language"
},
"description": {
"type": [
"string",
"null"
],
"description": "Entity description in requested language"
},
"aliases": {
"type": "array",
"description": "Alternative names for the entity",
"items": {
"type": "string"
}
},
"uri": {
"type": [
"string",
"null"
],
"description": "Concept URI (e.g., http://www.wikidata.org/entity/Q42)"
}
},
"required": [
"id",
"label",
"description",
"aliases",
"uri"
]
}
}
},
"required": [
"results"
]
}
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.