io.github.cyanheads

wikidata-mcp-server

Search and fetch Wikidata entities, execute SPARQL queries, and resolve external identifiers.

communityknowledge

Package Details

Transportstdio
Runtimebun

Package Arguments

Positional
Position 0
run
Position 1
start:stdio

Environment Variables

WIKIDATA_USER_AGENT(str)
Default:wikidata-mcp-server/0.1 (https://github.com/cyanheads/wikidata-mcp-server)

User-Agent string for Wikimedia requests. Wikimedia policy requires a descriptive value.

WIKIDATA_SPARQL_TIMEOUT_MS(str)
Default:55000

Max time to wait for a SPARQL response in milliseconds.

WIKIDATA_REST_TIMEOUT_MS(str)
Default:10000

Max time to wait for REST API responses in milliseconds.

MCP_LOG_LEVEL(str)
Default:info

Sets the minimum log level for output (e.g., 'debug', 'info', 'warn').

TransportStreamable HTTP
Runtimebun

Package Arguments

Positional
Position 0
run
Position 1
start:http

Environment Variables

MCP_HTTP_HOST(str)
Default:127.0.0.1

The hostname for the HTTP server.

MCP_HTTP_PORT(str)
Default:3010

The port to run the HTTP server on.

MCP_HTTP_ENDPOINT_PATH(str)
Default:/mcp

The endpoint path for the MCP server.

MCP_AUTH_MODE(str)
Default:none

Authentication mode to use: 'none', 'jwt', or 'oauth'.

WIKIDATA_USER_AGENT(str)
Default:wikidata-mcp-server/0.1 (https://github.com/cyanheads/wikidata-mcp-server)

User-Agent string for Wikimedia requests. Wikimedia policy requires a descriptive value.

WIKIDATA_SPARQL_TIMEOUT_MS(str)
Default:55000

Max time to wait for a SPARQL response in milliseconds.

WIKIDATA_REST_TIMEOUT_MS(str)
Default:10000

Max time to wait for REST API responses in milliseconds.

MCP_LOG_LEVEL(str)
Default:info

Sets the minimum log level for output (e.g., 'debug', 'info', 'warn').