io.github.therealtimex/un-datacommons-mcp
MCP server to query Data Commons indicators and observations (base or custom).
Install
Add this to your client's MCP configuration (Claude Desktop: claude_desktop_config.json; Cursor: .cursor/mcp.json; VS Code and others use the same "mcpServers" shape).
un-datacommons-mcpclaude mcp add un-datacommons-mcp -e 'DC_API_KEY=<your dc_api_key>' -e 'DC_TYPE=<DC_TYPE>' -e 'CUSTOM_DC_URL=<CUSTOM_DC_URL>' -e 'DC_ROOT_TOPIC_DCIDS=<DC_ROOT_TOPIC_DCIDS>' -e 'DC_SEARCH_SCOPE=<DC_SEARCH_SCOPE>' -- uvx un-datacommons-mcp==1.0.1
{
"mcpServers": {
"un-datacommons-mcp": {
"command": "uvx",
"args": [
"un-datacommons-mcp==1.0.1"
],
"env": {
"DC_API_KEY": "<your 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>"
}
}
}
}
Environment variables
DC_API_KEYrequired secret Data Commons API key from apikeys.datacommons.orgDC_TYPEType of Data Commons to use: base|custom (default: base)CUSTOM_DC_URLCustom DC base URL when DC_TYPE=customDC_ROOT_TOPIC_DCIDSComma-separated root topic DCIDs for custom DCsDC_SEARCH_SCOPESearch scope for custom DCs: base_only|custom_only|base_and_custom
Documentation
From the project's README on GitHub, refreshed weekly. Links open on GitHub.
Data Commons Agent Toolkit
This repo contains MCP tools and sample agents for fetching public information from Data Commons.
Docs
MCP Server
Sample agents
Frequently asked questions
What is io.github.therealtimex/un-datacommons-mcp?
MCP server to query Data Commons indicators and observations (base or custom).
How do I install io.github.therealtimex/un-datacommons-mcp?
It runs on your machine. In Claude Code: claude mcp add un-datacommons-mcp -e 'DC_API_KEY=<your dc_api_key>' -e 'DC_TYPE=<DC_TYPE>' -e 'CUSTOM_DC_URL=<CUSTOM_DC_URL>' -e 'DC_ROOT_TOPIC_DCIDS=<DC_ROOT_TOPIC_DCIDS>' -e 'DC_SEARCH_SCOPE=<DC_SEARCH_SCOPE>' -- uvx un-datacommons-mcp==1.0.1. For other clients, paste the JSON configuration from this page into their MCP settings.
Does io.github.therealtimex/un-datacommons-mcp need an API key?
Yes. It expects DC_API_KEY, which you set in its configuration.
Is io.github.therealtimex/un-datacommons-mcp open source?
Yes. Its code is on GitHub under the Apache-2.0 license.
Who maintains io.github.therealtimex/un-datacommons-mcp?
It is published by therealtimex. AI.tn lists it but does not maintain or endorse it.
From the official MCP Registry. Listing is not an endorsement: review a server's code and permissions before giving it access to your data.