Skip to content
Grok

PublicSafetyAPI for Grok

dev.publicsafetyapi/publicsafetyapi-mcp

US police, fire, EMS and hospital locations near any address, from federal HIFLD data

client:Grok transport:stdio runtime:pypi

Install PublicSafetyAPI in Grok

.mcp.json (in your project root)

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "publicsafetyapi-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "publicsafetyapi-mcp"
      ],
      "env": {
        "PUBLICSAFETYAPI_KEY": "<PUBLICSAFETYAPI_KEY>"
      }
    }
  }
}

Grok Build reads Claude Code's .mcp.json and Claude Desktop's config unchanged, so a server you have already set up there needs nothing new. The Grok web app and X integration do not take custom servers. Grok docs

PublicSafetyAPI in other clients