Skip to content
Agentmart
Submit a tool

Un Datacommons MCP

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

Connector by therealtimex · GitHub account verified by the MCP Registry

IndexedApache-2.0Local (stdio)
Write a review

Install

Works with Claude Code, Codex, VS Code, Cursor, Windsurf, Claude Desktop. Read the repository before you give any tool access to your data.

npx agentmarket install connector/therealtimex-un-datacommons-mcp

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

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

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this server can do and what it asks for, from its tool list and install config. Checked Oct 25, 2026.

Tools
3 read · 0 write · 0 deleteRead-only
Secrets
1 (API keys, tokens or passwords)
Install scripts
Not scanned yet
Runs as
Python package

Tools by what they do 3

Read from the source code; the running server may list different tools.

Read 3 · Look things up without changing anything.

  • get_observations
  • search_indicators
  • validate_child_place_types

Secrets and settings it asks for

Secrets: values you paste in that let it act as you.

  • DC_API_KEY

Other settings (environment variables or headers).

  • CUSTOM_DC_URL
  • DC_ROOT_TOPIC_DCIDS
  • DC_SEARCH_SCOPE
  • DC_TYPE

Tools (3)

Read from the source code; the running server may differ. Descriptions are the server’s own words; hidden characters are shown as [U+…].

  • get_observations

    Fetches observations for a statistical variable from Data Commons. **CRITICAL: Always validate variable-place combinations first** - You **MUST** call `search_indicators` first to verify that the variable exists for the specified place - Only use DCIDs returned by `search_indicators` - never guess or assume variable-place combinations - This ensures data availability and prevents errors from invalid combinations This tool can operate in two primary modes: 1. **Single Place Mode**: Get data for one specific place (e.g., "Population of California"). 2. **Child Places Mode**: Get data for all…

  • search_indicators

    **Purpose:** Search for topics and variables (collectively called "indicators") available in the Data Commons Knowledge Graph. **Core Concept: Results are Candidates** This tool returns *candidate* indicators that match your query. You must always filter and rank these results based on the user's context to find the most relevant one. **Background: Data Commons Structure** Data Commons organizes data in two main hierarchies: 1. **Topics:** A hierarchy of categories (e.g., `Health` -> `Clinical Data` -> `Medical Conditions`). Topics contain sub-topics and member variables. 2. **Places:** A …

  • validate_child_place_types

    Checks which of the child place types are valid for the parent place. Use this tool to validate the child place types before calling get_observations for those places. Example: - For counties in Kenya, you can check for both "County" and "AdministrativeArea1" to determine which is valid. i.e. "validate_child_place_types("Kenya", ["County", "AdministrativeArea1"])" The full list of valid child place types are the following: - AdministrativeArea1 - AdministrativeArea2 - AdministrativeArea3 - AdministrativeArea4 - AdministrativeArea5 - Continent - Country - State - County - City - CensusZipC…

Signals

Stars
0
Forks
0
Open issues
0
Weekly downloads
27
Last commit
Sep 29, 2025 (1 year ago)
Last release
Sep 29, 2025 (1 year ago)
Last package publish
Sep 29, 2025 (1 year ago)

From GitHub (fetched Oct 24, 2026) and the package registry.

Details

Registry name
io.github.therealtimex/un-datacommons-mcp
Version
1.0.1
Auth
API key
Packages
pypi un-datacommons-mcp
License
Apache-2.0
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from therealtimex

Cite this page

Un Datacommons MCP. Agent Mart. https://agentmart.dev/connectors/therealtimex-un-datacommons-mcp (last updated 2026-10-24)