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 (5,335 bytes)__init__.py (180 bytes)auth.py (4,172 bytes)citation.py (4,554 bytes)data_loaders.py (11,497 bytes)discovery.py (4,552 bytes)freshness.py (6,050 bytes)http_app.py (16,704 bytes)mcp_server.py (19,227 bytes)rate_limit.py (5,136 bytes)schemas.py (6,486 bytes)validators.py (4,679 bytes)get_adi_composite_input.json (240 bytes)get_adi_composite_output.json (3,432 bytes)get_county_scorecard_input.json (500 bytes)get_county_scorecard_output.json (3,436 bytes)get_cross_correlations_input.json (466 bytes)get_cross_correlations_output.json (1,548 bytes)get_indicator_input.json (468 bytes)get_indicator_output.json (2,086 bytes)get_indicator_v2_input.json (630 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,850 bytes)get_county_scorecard.py (6,415 bytes)get_cross_correlations.py (5,588 bytes)get_indicator.py (7,126 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.