Datacommons Client
Access and query public data repositories via Data Commons APIs to retrieve structured information on diverse topics.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add datacommons-client npx -- -y @trustedskills/datacommons-client
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"datacommons-client": {
"command": "npx",
"args": [
"-y",
"@trustedskills/datacommons-client"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
The datacommons-client skill enables AI agents to interact with the Data Commons knowledge graph, allowing them to retrieve structured data about real-world entities like cities, businesses, and environmental metrics. It facilitates complex queries across diverse domains including economics, health, and sustainability by leveraging a unified data infrastructure.
When to use it
- Analyzing local economic indicators such as unemployment rates or median household income for specific geographic regions.
- Investigating public health trends or air quality measurements linked to particular locations over time.
- Gathering aggregated statistics on education outcomes, housing prices, or energy consumption for comparative analysis.
- Accessing standardized data from multiple sources simultaneously without needing separate API keys for each dataset.
Key capabilities
- Querying the Data Commons knowledge graph for entity-specific metrics.
- Retrieving time-series data to track changes in variables over historical periods.
- Filtering results by geographic boundaries, including countries, states, and cities.
- Accessing a wide range of pre-processed datasets covering demographics, environment, and finance.
Example prompts
- "What has been the trend in median home prices for Austin, Texas over the last five years?"
- "Retrieve current air quality index data and population density for New York City."
- "Compare the unemployment rates between rural and urban areas in California as of 2023."
Tips & gotchas
Ensure your AI agent specifies clear geographic identifiers (like city names or state codes) to avoid ambiguous results, as Data Commons relies heavily on location-based indexing. Be aware that data availability depends on the specific metrics published by contributing organizations within the Data Commons ecosystem; some niche indicators may have limited historical coverage.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.