Releases: hesscl/ctpp-mcp
Releases Β· hesscl/ctpp-mcp
v1.1.0
v0.1.0
First working MCP server for the CTPP API
Features
list-datasetsβ lists available CTPP dataset vintages (2010, 2016, 2021)list-table-groupsβ lists table groups for a given year with keyword search and paginationget-table-variablesβ returns variable definitions (estimates + MOE columns) for a specific tableget-group-geographiesβ returns supported geographies for a table groupfetch-ctpp-dataβ fetches statistical data; handles both residence/workplace and flow (O-D) tablesresolve-geography-fipsβ converts place names to FIPS codes via local PostgreSQL + pg_trgm fuzzy matching
Stack
TypeScript Β· @modelcontextprotocol/sdk Β· Zod Β· Vitest Β· Docker Compose Β· PostgreSQL
Notes
- All 8 tests pass
- Auth via
X-API-Keyheader (setCTPP_API_KEYenv var) - Docker Compose manages the PostgreSQL geography lookup DB
- See README for setup and MCP client configuration