# Data Commons MCP (slim)

> Google's Data Commons knowledge graph of public statistics from government and international sources, queried through a hosted MCP server with six read-only tools or the REST v2 API. Both need a free Data Commons API key.

- Full: https://www.anchorterminal.com/tools/data-commons-mcp.md (~8,550 tokens) · this version ~1,480 tokens · JSON https://www.anchorterminal.com/tools/data-commons-mcp.json · canonical https://www.anchorterminal.com/tools/data-commons-mcp
- Index: https://www.anchorterminal.com/llms.txt · API: https://www.anchorterminal.com/api/v1/index.json · MCP: https://www.anchorterminal.com/mcp · Updated: 2026-11-23 · pricing https://www.anchorterminal.com/tools/data-commons-mcp#pricing · reviews https://www.anchorterminal.com/tools/data-commons-mcp#reviews
- Licence: CC BY 4.0, credit Anchor Terminal and link this page (https://www.anchorterminal.com/terms/#data)

**D · 49.8/100 · rank #1245 of 1654 · #10 in Data providers · not agent-ready · confidence medium**


Assessment: Six compact, read-only tools over Google's public statistics graph, with an open-source server, llms.txt and agent skills served as MCP resources. A free key from a self-service portal is needed, and there is no status page, no published rate limit and no 429 guidance.

## Facts

- Kind: MCP server · vendor: Google · category: Data providers · legal entity: Google LLC · provenance 66/100
- Endpoint: `https://api.datacommons.org/mcp` (Streamable HTTP, stdio, HTTP)
- Auth: API key · pricing: Free · x402: no · licence: Apache-2.0 for the MCP server and client libraries. The knowledge graph and its compilation are CC BY, and source datasets keep their own terms
- Benchmark probes: not run yet, so Performance is pending
- Live, from our pollers (not part of the score): up at 2026-11-23 16:29 UTC · uptime 30 days 100.0% (7 probes) · p50 156 ms · p95 215 ms over 24 hours
- Price: Free. Use beyond unstated free limits is to be priced like the BigQuery public dataset programme
- Access: Free API key from apikeys.datacommons.org, sent as X-API-Key. A shared trial key in the REST docs allows single requests
- MCP server: Hosted at https://api.datacommons.org/mcp since 9 February 2026, six read-only tools and three skills as resources. Open source as datacommons-mcp for stdio or self-hosted HTTP against a Custom Data Commons
- REST API: v2 at https://api.datacommons.org/v2 with /observation, /node and /resolve, GET or POST, nextToken paging
- Data: Over 100 datasets and 250 billion data points, per the docs. Graph CC BY, each observation linked to its source
- Not supported by MCP: Non-geographical entities, events, graph exploration and chart-ready output
- Client libraries: datacommons-client for Python (2.1.6, 29 January 2026), a third-party R client, and Google Sheets functions and Web Components that need no key

- Scores: Reliability 15, Performance not tested, Schema & documentation 77, Agent ergonomics 74, Security & auth 35, Payments & pricing 60, Task success not tested, Maintenance & community 38, Transparency & trust 61
- Why: Reliability, Graded as a hosted MCP server and API. · Schema & documentation, The MCP tools are FastMCP functions with typed parameters, so every tool has a JSON Schema input with required fields (25). · Agent ergonomics, Six tools whose description files total 3,752 bytes, with the playbooks moved into resources (25). · Security & auth, One API key per user from a self-service portal, with no scopes found. · Payments & pricing, No x402, MPP or L402 (0). · Maintenance & community, datacommons-mcp 1.4.0 on 3 September 2026, 81 days before the check (20). · Transparency & trust, The MCP server and client libraries are Apache-2.0 and the graph is CC BY, with source data under its own terms, as the FAQ says (30).
- Sources: 13, open questions: 5, both in the full twin
- Capabilities: data.knowledge
- JSON: https://www.anchorterminal.com/api/v1/tools/data-commons-mcp.json · card, about 200 tokens, for choosing between listings: https://www.anchorterminal.com/tools/data-commons-mcp.card.md
- Its vendor verifies the listing with `verify_listing` or `POST https://www.anchorterminal.com/api/v1/verify` (the full twin says how); no effect on the grade.
- Support: support@datacommons.org; https://docs.datacommons.org/support.html; https://datacommons.org/faq; more in the full twin

## Before you call it

1. Read the resource skill://data-commons-researcher/SKILL.md before the first get_observations call, as the tool description asks
2. Resolve places and variables to DCIDs with search_indicators first, then pass the DCIDs to the observation tools
3. Use get_child_observations with a parent place and child type rather than calling get_observations once per place
4. Pin a source with source_override or filter.facet_ids, because a query returns every facet by default and mixes sources
5. Send the key in the X-API-Key header, not in the URL, and cite the original source as the attribution page requires

## Connect

```bash
pip install datacommons-client
```

```bash
curl -X POST https://api.datacommons.org/v2/observation \
  -H "X-API-Key: $DC_API_KEY" -H 'Content-Type: application/json' \
  -d '{"date":"LATEST","variable":{"dcids":["Count_Person"]},"entity":{"dcids":["country/CAN"]},"select":["date","entity","variable","value"]}'
```

```bash
claude mcp add --transport http datacommons https://api.datacommons.org/mcp --header "X-API-Key: $DC_API_KEY"
```
Full config and headless snippets are in the full page. Through letme (picks today, calling later): https://letme.dev/data-commons-mcp

## Similar tools

| Tool | Grade | Score | Shared capabilities | Slim |
| --- | --- | --- | --- | --- |
| Wikimedia REST API | BB | 72.5 | data.knowledge | https://www.anchorterminal.com/tools/wikimedia.min.md |
| Diffbot | C | 58.6 | data.knowledge | https://www.anchorterminal.com/tools/diffbot.min.md |
| Pandex | E | 39.5 | data.knowledge | https://www.anchorterminal.com/tools/pandex.min.md |
| Getty Images MCP Server | F | 26.9 | data.knowledge | https://www.anchorterminal.com/tools/getty-images-mcp.min.md |
| Codex | BB | 74.9 | same category | https://www.anchorterminal.com/tools/codex-graphql.min.md |


## Panel reviews (0, desk reviews from public material, no calls made)

