Full source for the American Default MCP server. Each file is served as plain text (.txt suffix) so it renders in the browser. To run the server locally, download the files into a directory mirroring this structure, then follow the README.
README.md (10,339 bytes)__init__.py (180 bytes)auth.py (4,170 bytes)citation.py (4,412 bytes)data_loaders.py (11,357 bytes)freshness.py (5,478 bytes)http_app.py (16,199 bytes)mcp_server.py (17,593 bytes)rate_limit.py (5,134 bytes)schemas.py (6,308 bytes)validators.py (4,670 bytes)get_adi_composite_input.json (240 bytes)get_adi_composite_output.json (3,414 bytes)get_county_scorecard_input.json (500 bytes)get_county_scorecard_output.json (3,436 bytes)get_cross_correlations_input.json (465 bytes)get_cross_correlations_output.json (1,548 bytes)get_indicator_input.json (467 bytes)get_indicator_output.json (2,086 bytes)get_indicator_v2_input.json (629 bytes)get_indicator_v2_output.json (2,973 bytes)search_indicators_input.json (658 bytes)search_indicators_output.json (1,077 bytes)__init__.py (384 bytes)get_adi_composite.py (3,657 bytes)get_county_scorecard.py (6,406 bytes)get_cross_correlations.py (5,586 bytes)get_indicator.py (7,034 bytes)get_indicator_v2.py (1,164 bytes)search_indicators.py (6,533 bytes)Generated by scripts/build_public_code.py at build time. Stays in sync with the production scoring engine.