PU

PublicSafetyAPI MCP Server

Published by public-safety-api

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

Website
CATEGORY
More to explore
DEPLOYMENT
Local package
LATEST SOURCE VERSION
0.1.3
SOURCE CHECKED
Dec 4, 2026

Quick answers

How do I add PublicSafetyAPI MCP Server to Claude Code, Cursor or Codex?

Claude CodeCommand

Run this in your terminal:

claude mcp add --env 'PUBLICSAFETYAPI_KEY=<your-publicsafetyapi-key>' --transport stdio publicsafetyapi -- uvx publicsafetyapi-mcp

Replace the <your-…> placeholder with your own PUBLICSAFETYAPI_KEY.

Claude Code setup guide
CursorConfig

Add this to ~/.cursor/mcp.json, or to .cursor/mcp.json in a project:

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

Replace the <your-…> placeholder with your own PUBLICSAFETYAPI_KEY.

Cursor setup guide
CodexCommand

Run this in your terminal:

codex mcp add publicsafetyapi --env 'PUBLICSAFETYAPI_KEY=<your-publicsafetyapi-key>' -- uvx publicsafetyapi-mcp

Replace the <your-…> placeholder with your own PUBLICSAFETYAPI_KEY.

Codex setup guide
VS CodeConfig

Add this to .mcp.json at the root of your workspace:

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

Replace the <your-…> placeholder with your own PUBLICSAFETYAPI_KEY.

VS Code setup guide
Claude DesktopConfig

Add this to claude_desktop_config.json, then restart Claude:

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

Replace the <your-…> placeholder with your own PUBLICSAFETYAPI_KEY.

Claude Desktop setup guide
ChatGPTNot available

ChatGPT can't add it from its published details: it connects from the cloud and needs a public address, and this server runs on your computer.

ChatGPT setup guide

Which apps can use PublicSafetyAPI MCP Server?

Claude Code, Cursor, Codex, VS Code and Claude Desktop can add it from its published details. ChatGPT can't: it connects from the cloud and needs a public address, and this server runs on your computer.

Does PublicSafetyAPI MCP Server need an API key?

To run it on your computer, set PUBLICSAFETYAPI_KEY first, with values from the publisher.

Is PublicSafetyAPI MCP Server official?

It's published by public-safety-api. The Official MCP Registry accepts names under dev.publicsafetyapi only from someone who proved they control publicsafetyapi.dev. We last checked its listing on Dec 4, 2026. A listing shows where a server comes from; it isn't a security review.

Published packages

pypi · publicsafetyapi-mcp@0.1.3
View source repository