Search and trace US federal rules across the Federal Register (proposed/final rules and notices), the eCFR (codified, point-in-time CFR full text, locally mirrored), and Regulations.gov (rulemaking dockets and public comments) via MCP. STDIO or Streamable HTTP.
Setup
Choose your client, copy the config, then fill in any required environment variables.
Local
claude mcp add federal-regulations --env REGULATIONS_GOV_API_KEY='<REGULATIONS_GOV_API_KEY>' -- npx -y @cyanheads/federal-regulations-mcp-server~/.codex/config.toml
[mcp_servers.federal-regulations]
command = "npx"
args = ["-y", "@cyanheads/federal-regulations-mcp-server"]
env = { REGULATIONS_GOV_API_KEY = "<REGULATIONS_GOV_API_KEY>" }
# codex mcp add federal-regulations --env REGULATIONS_GOV_API_KEY='<REGULATIONS_GOV_API_KEY>' -- npx -y @cyanheads/federal-regulations-mcp-server~/.cursor/mcp.json
{
"mcpServers": {
"federal-regulations": {
"command": "npx",
"args": [
"-y",
"@cyanheads/federal-regulations-mcp-server"
],
"env": {
"REGULATIONS_GOV_API_KEY": "<REGULATIONS_GOV_API_KEY>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"federal-regulations": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@cyanheads/federal-regulations-mcp-server"
],
"env": {
"REGULATIONS_GOV_API_KEY": "<REGULATIONS_GOV_API_KEY>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"federal-regulations": {
"command": "npx",
"args": [
"-y",
"@cyanheads/federal-regulations-mcp-server"
],
"env": {
"REGULATIONS_GOV_API_KEY": "<REGULATIONS_GOV_API_KEY>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"federal-regulations": {
"command": "npx",
"args": [
"-y",
"@cyanheads/federal-regulations-mcp-server"
],
"env": {
"REGULATIONS_GOV_API_KEY": "<REGULATIONS_GOV_API_KEY>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"federal-regulations": {
"command": "npx",
"args": [
"-y",
"@cyanheads/federal-regulations-mcp-server"
],
"env": {
"REGULATIONS_GOV_API_KEY": "<REGULATIONS_GOV_API_KEY>"
}
}
}
}Remote
claude mcp add --transport http federal-regulations https://federal-regulations.caseyjhand.com/mcp~/.codex/config.toml
[mcp_servers.federal-regulations]
url = "https://federal-regulations.caseyjhand.com/mcp"
# codex mcp add federal-regulations --url https://federal-regulations.caseyjhand.com/mcp~/.cursor/mcp.json
{
"mcpServers": {
"federal-regulations": {
"url": "https://federal-regulations.caseyjhand.com/mcp"
}
}
}.vscode/mcp.json
{
"servers": {
"federal-regulations": {
"type": "http",
"url": "https://federal-regulations.caseyjhand.com/mcp"
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"federal-regulations": {
"httpUrl": "https://federal-regulations.caseyjhand.com/mcp"
}
}
}claude_desktop_config.json · Customize › Connectors › Add custom connector
{
"mcpServers": {
"federal-regulations": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://federal-regulations.caseyjhand.com/mcp"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"federal-regulations": {
"url": "https://federal-regulations.caseyjhand.com/mcp"
}
}
}Environment variables
REGULATIONS_GOV_API_KEY
Replace the placeholders with your own credentials and keep them out of version control.