MCP Hub
Back to servers

turnono-datacommons-mcp-server

A Model Context Protocol server that facilitates access to the Data Commons API for searching and retrieving statistical indicators, observations, and data.

Updated
Oct 5, 2025
Validated
Jan 9, 2026

DataCommons MCP Server

A Model Context Protocol (MCP) server for accessing Data Commons API data.

Features

  • Search for indicators and topics
  • Get observations and data
  • Support for various data formats and chart configurations
  • HTTP and stdio transport modes

Installation

Using pip

pip install -r requirements.txt
pip install -e .

Using Docker

docker build -t datacommons-mcp .
docker run -p 8000:8000 datacommons-mcp

Usage

CLI Commands

Start the server in HTTP mode:

python -m datacommons_mcp.cli serve http --host 0.0.0.0 --port 8000

Start the server in stdio mode:

python -m datacommons_mcp.cli serve stdio

Environment Variables

  • GOOGLE_API_KEY: Your Google API key for Data Commons access

Development

Install development dependencies:

pip install -e ".[dev]"

Run tests:

pytest

Format code:

black .
isort .

License

MIT License

Reviews

No reviews yet

Sign in to write a review