Discover statistical indicators and topics in Data Commons. Retrieve observations for specific var…
A Model Context Protocol (MCP) server for accessing Data Commons API data.
pip install -r requirements.txt
pip install -e .docker build -t datacommons-mcp .
docker run -p 8000:8000 datacommons-mcpStart the server in HTTP mode:
python -m datacommons_mcp.cli serve http --host 0.0.0.0 --port 8000Start the server in stdio mode:
python -m datacommons_mcp.cli serve stdioGOOGLE_API_KEY: Your Google API key for Data Commons accessInstall development dependencies:
pip install -e ".[dev]"Run tests:
pytestFormat code:
black .
isort .MIT License