Federal Regulations MCP Server
by cyanheadsio.github.cyanheads/federal-regulations-mcp-serverv0.5.2
Search and trace US federal rules across the Federal Register, eCFR, and Regulations.gov.
context tax
queued
security
queued
cold start
queued
freshness
Active15d ago
Install Federal Regulations MCP server
Install in Claude Code
claude mcp add federal-regulations -e REGULATIONS_GOV_API_KEY='<regulations-gov-api-key>' -- npx -y @cyanheads/federal-regulations-mcp-server run start:stdioInstall in Cursor
{
"mcpServers": {
"federal-regulations": {
"command": "npx",
"args": [
"-y",
"@cyanheads/federal-regulations-mcp-server",
"run",
"start:stdio"
],
"env": {
"REGULATIONS_GOV_API_KEY": "<regulations-gov-api-key>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"federal-regulations": {
"command": "npx",
"args": [
"-y",
"@cyanheads/federal-regulations-mcp-server",
"run",
"start:stdio"
],
"env": {
"REGULATIONS_GOV_API_KEY": "<regulations-gov-api-key>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"federal-regulations": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@cyanheads/federal-regulations-mcp-server",
"run",
"start:stdio"
],
"env": {
"REGULATIONS_GOV_API_KEY": "<regulations-gov-api-key>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"federal-regulations": {
"command": "npx",
"args": [
"-y",
"@cyanheads/federal-regulations-mcp-server",
"run",
"start:stdio"
],
"env": {
"REGULATIONS_GOV_API_KEY": "<regulations-gov-api-key>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| REGULATIONS_GOV_API_KEY | — | yes | api.data.gov key for the Regulations.gov tools (get_docket, find_comments). Free at https://api.data.gov/signup/. The Federal Register and eCFR tools work without it. |
| MCP_LOG_LEVEL | — | — | Sets the minimum log level for output (e.g., 'debug', 'info', 'warn'). |
| MCP_HTTP_HOST | — | — | The hostname for the HTTP server. |
| MCP_HTTP_PORT | — | — | The port to run the HTTP server on. |
| MCP_HTTP_ENDPOINT_PATH | — | — | The endpoint path for the MCP server. |
| MCP_AUTH_MODE | — | — | Authentication mode to use: 'none', 'jwt', or 'oauth'. |
| ECFR_MIRROR_REFRESH_CRON | — | — | Cron expression for an in-process eCFR mirror refresh (e.g. '0 4 * * 0'). Unset registers no job. Each run re-harvests every configured title in full, and a tick is skipped until mirror:init has completed once. |
Remote endpoints
- streamable-http
https://federal-regulations.caseyjhand.com/mcp
Freshness
Active — last maintenance signal 15d ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-09-25 · 15d ago · GitHub
Latest release
2026-09-25 · 15d ago · GitHub · v0.5.2
Package published
no data · npm/PyPI
Registry entry updated
2026-09-25 · 15d ago · official registry · v0.5.2
FAQ
›How do I install the Federal Regulations MCP server in Claude Code?
Run: claude mcp add federal-regulations -e REGULATIONS_GOV_API_KEY='<regulations-gov-api-key>' -- npx -y @cyanheads/federal-regulations-mcp-server run start:stdio. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Federal Regulations require an API key?
Yes. It expects REGULATIONS_GOV_API_KEY, of which 1 is a secret.
›Can I use Federal Regulations as a remote (hosted) MCP server?
Yes — it offers both a hosted endpoint and a local stdio package.
›Is Federal Regulations in the official MCP registry?
Yes, as io.github.cyanheads/federal-regulations-mcp-server.