← Back to browse

un-datacommons-mcp

Indexed by io.github.therealtimex

About

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

Use this server

Add it to your MCP client. The catalogue lists this config verbatim from its source — it does not run, download, or vouch for the server. Review the command before you run it.

Transportstdio (runs a local command)
Env varsDC_API_KEY DC_TYPE CUSTOM_DC_URL DC_ROOT_TOPIC_DCIDS DC_SEARCH_SCOPE
Claude Code
claude mcp add --env DC_API_KEY= --env DC_TYPE= --env CUSTOM_DC_URL= --env DC_ROOT_TOPIC_DCIDS= --env DC_SEARCH_SCOPE= un-datacommons-mcp -- uvx un-datacommons-mcp
Cursor

Add to Cursor

If the button doesn't open Cursor, use the JSON below — Cursor accepts the same mcpServers config.

VS Code
code --add-mcp '{"name":"un-datacommons-mcp","command":"uvx","args":["un-datacommons-mcp"],"env":{"DC_API_KEY":"","DC_TYPE":"","CUSTOM_DC_URL":"","DC_ROOT_TOPIC_DCIDS":"","DC_SEARCH_SCOPE":""}}'
JSON
{
  "mcpServers": {
    "un-datacommons-mcp": {
      "command": "uvx",
      "args": [
        "un-datacommons-mcp"
      ],
      "env": {
        "DC_API_KEY": "",
        "DC_TYPE": "",
        "CUSTOM_DC_URL": "",
        "DC_ROOT_TOPIC_DCIDS": "",
        "DC_SEARCH_SCOPE": ""
      }
    }
  }
}

Environment variables are listed by name only — fill in your own values. Entries never carry secrets.