Skip to content
Grok

un datacommons mcp for Grok

io.github.therealtimex/un-datacommons-mcp

MCP server to query Data Commons indicators and observations (base or custom).

client:Grok transport:stdio runtime:pypi

Install un datacommons mcp in Grok

.mcp.json (in your project root)

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "un-datacommons-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "un-datacommons-mcp"
      ],
      "env": {
        "DC_API_KEY": "<DC_API_KEY>",
        "DC_TYPE": "<DC_TYPE>",
        "CUSTOM_DC_URL": "<CUSTOM_DC_URL>",
        "DC_ROOT_TOPIC_DCIDS": "<DC_ROOT_TOPIC_DCIDS>",
        "DC_SEARCH_SCOPE": "<DC_SEARCH_SCOPE>"
      }
    }
  }
}

Grok Build reads Claude Code's .mcp.json and Claude Desktop's config unchanged, so a server you have already set up there needs nothing new. The Grok web app and X integration do not take custom servers. Grok docs

un datacommons mcp in other clients