Skip to content

Releases: hesscl/ctpp-mcp

v1.1.0

27 Feb 20:41

Choose a tag to compare

What's Changed

  • Switch license from CC0 to MIT
  • Add HTTP transport support (MCP_TRANSPORT=http) with Bearer token auth, 1 MB body cap, and 100-session limit
  • Harden input validation across all tools
  • Bump @types/node to ^22 to match Dockerfile runtime

v0.1.0

27 Feb 18:44

Choose a tag to compare

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 pagination
  • get-table-variables β€” returns variable definitions (estimates + MOE columns) for a specific table
  • get-group-geographies β€” returns supported geographies for a table group
  • fetch-ctpp-data β€” fetches statistical data; handles both residence/workplace and flow (O-D) tables
  • resolve-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-Key header (set CTPP_API_KEY env var)
  • Docker Compose manages the PostgreSQL geography lookup DB
  • See README for setup and MCP client configuration