Gemini CLI federal regulations mcp server Resource/Example CFR section (40 CFR 50.1)
How to: Gemini CLI federal regulations mcp server Example CFR section (40 CFR 50.1)
Add federal regulations mcp server to Gemini CLI
-
01
Open ~/.gemini/settings.json and merge this in. Keep any servers already there.
{
"mcpServers": {
"federal-regulations-mcp-server": {
"httpUrl": "https://federal-regulations.caseyjhand.com/mcp"
}
}
}
-
02
Save the file and restart Gemini CLI.
-
03
Example CFR section (40 CFR 50.1) is surfaced wherever your client lets you attach context. It is context to attach, not an action to run.
-
04
If it does not appear, check that federal regulations mcp server is connected and that you are looking at its resources rather than its tools.
Gemini expands $VAR and ${VAR} inside env values, so a secret can live in your shell rather than this file. Gemini CLI docs
Set these first
federal regulations mcp server will not start until these are set, so it never reaches Gemini CLI.
-
REGULATIONS_GOV_API_KEY -
MCP_LOG_LEVEL
Same resource, other clients
Read from the server itself, by connecting to it and calling resources/list on 24 September 2026.
A listing does not declare its resources, so asking is the only way to know them, and this
is what the server actually offers rather than what its listing claims. Names only are
stored; connect the server for each resource's type and contents.