Search DevTools

Jump to any tool or page

turnono-datacommons-mcp-server

Discover statistical indicators and topics in Data Commons. Retrieve observations for specific var…

turnono0 stars0 forksDeveloper Tools
View source

Install

mcp_config.json

{
  "mcpServers": {
    "ai-smithery-turnono-datacommons-mcp-server": {
      "url": "https://server.smithery.ai/@turnono/datacommons-mcp-server/mcp",
      "type": "streamable-http"
    }
  }
}

Documentation

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

Sourced from the repository README.

More in Developer Tools