Search and fetch Wikidata entities, execute SPARQL queries, and resolve external identifiers via MCP. STDIO or Streamable HTTP.
Setup
Choose your client, copy the config, then fill in any required environment variables.
Local
claude mcp add wikidata -- npx -y @cyanheads/wikidata-mcp-server~/.codex/config.toml
[mcp_servers.wikidata]
command = "npx"
args = ["-y", "@cyanheads/wikidata-mcp-server"]
# codex mcp add wikidata -- npx -y @cyanheads/wikidata-mcp-server~/.cursor/mcp.json
{
"mcpServers": {
"wikidata": {
"command": "npx",
"args": [
"-y",
"@cyanheads/wikidata-mcp-server"
]
}
}
}.vscode/mcp.json
{
"servers": {
"wikidata": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@cyanheads/wikidata-mcp-server"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"wikidata": {
"command": "npx",
"args": [
"-y",
"@cyanheads/wikidata-mcp-server"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"wikidata": {
"command": "npx",
"args": [
"-y",
"@cyanheads/wikidata-mcp-server"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"wikidata": {
"command": "npx",
"args": [
"-y",
"@cyanheads/wikidata-mcp-server"
]
}
}
}Remote
claude mcp add --transport http wikidata https://wikidata.caseyjhand.com/mcp~/.codex/config.toml
[mcp_servers.wikidata]
url = "https://wikidata.caseyjhand.com/mcp"
# codex mcp add wikidata --url https://wikidata.caseyjhand.com/mcp~/.cursor/mcp.json
{
"mcpServers": {
"wikidata": {
"url": "https://wikidata.caseyjhand.com/mcp"
}
}
}.vscode/mcp.json
{
"servers": {
"wikidata": {
"type": "http",
"url": "https://wikidata.caseyjhand.com/mcp"
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"wikidata": {
"httpUrl": "https://wikidata.caseyjhand.com/mcp"
}
}
}claude_desktop_config.json · Customize › Connectors › Add custom connector
{
"mcpServers": {
"wikidata": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://wikidata.caseyjhand.com/mcp"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"wikidata": {
"url": "https://wikidata.caseyjhand.com/mcp"
}
}
}