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,172 bytes)citation.py (4,412 bytes)data_loaders.py (11,399 bytes)freshness.py (5,478 bytes)http_app.py (16,334 bytes)mcp_server.py (17,893 bytes)rate_limit.py (5,136 bytes)schemas.py (6,308 bytes)validators.py (4,679 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,659 bytes)get_county_scorecard.py (6,408 bytes)get_cross_correlations.py (5,588 bytes)get_indicator.py (7,036 bytes)get_indicator_v2.py (1,166 bytes)search_indicators.py (6,535 bytes)Generated by scripts/build_public_code.py at build time. Stays in sync with the production scoring engine.