MCP directory
UD

Un Datacommons Mcp

by github.com/therealtimex · v1.0.1 · updated Sep 29, 2025

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

PyPI

Run it locally

Install the package and point your AI client at it.

PyPI

uvx un-datacommons-mcp==1.0.1

Environment variables

  • DC_API_KEYrequiredsecret

    Data Commons API key from apikeys.datacommons.org

  • DC_TYPE

    Type of Data Commons to use: base|custom (default: base)

  • CUSTOM_DC_URL

    Custom DC base URL when DC_TYPE=custom

  • DC_ROOT_TOPIC_DCIDS

    Comma-separated root topic DCIDs for custom DCs

  • DC_SEARCH_SCOPE

    Search scope for custom DCs: base_only|custom_only|base_and_custom

More from github.com/therealtimex

More MCP servers