PortlandMaps (Unofficial)

v0.2.5
io.github.GPTNowLLC/portlandmaps-mcp Checked 3 days ago Published 5 months ago

Unofficial MCP server for the public PortlandMaps property/permit/zoning API.

Values you need

VariableWhat it is
PORTLANDMAPS_API_KEYrequired secret PortlandMaps API key. Required for the /api/* tools; without it those endpoints return error payloads.
PORTLANDMAPS_API_KEY_PARAMoptional Query-parameter name to send the API key as. Defaults to 'api_key'.
PORTLANDMAPS_CACHE_TTL_MSoptional In-memory response cache TTL in milliseconds. Defaults to 3600000 (one hour).

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add portlandmaps-mcp -e 'PORTLANDMAPS_API_KEY=<PORTLANDMAPS_API_KEY>' -- npx -y portlandmaps-mcp@0.2.5
Add to claude_desktop_config.json
{
  "mcpServers": {
    "portlandmaps-mcp": {
      "args": [
        "-y",
        "portlandmaps-mcp@0.2.5"
      ],
      "command": "npx",
      "env": {
        "PORTLANDMAPS_API_KEY": "<PORTLANDMAPS_API_KEY>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "portlandmaps-mcp": {
      "args": [
        "-y",
        "portlandmaps-mcp@0.2.5"
      ],
      "command": "npx",
      "env": {
        "PORTLANDMAPS_API_KEY": "<PORTLANDMAPS_API_KEY>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "PORTLANDMAPS_API_KEY",
      "id": "portlandmaps-api-key",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "portlandmaps-mcp": {
      "args": [
        "-y",
        "portlandmaps-mcp@0.2.5"
      ],
      "command": "npx",
      "env": {
        "PORTLANDMAPS_API_KEY": "${input:portlandmaps-api-key}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.portlandmaps-mcp]
command = "npx"
args = ["-y", "portlandmaps-mcp@0.2.5"]
env = { "PORTLANDMAPS_API_KEY" = "<PORTLANDMAPS_API_KEY>" }

Remote (hosted)

Run in a terminal
claude mcp add --transport http portlandmaps-mcp https://portlandmaps-mcp.vercel.app/mcp/v2
Add to Settings → Connectors → Add custom connector (or claude_desktop_config.json via mcp-remote)
{
  "mcpServers": {
    "portlandmaps-mcp": {
      "args": [
        "-y",
        "mcp-remote",
        "https://portlandmaps-mcp.vercel.app/mcp/v2"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "portlandmaps-mcp": {
      "url": "https://portlandmaps-mcp.vercel.app/mcp/v2"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "portlandmaps-mcp": {
      "type": "http",
      "url": "https://portlandmaps-mcp.vercel.app/mcp/v2"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.portlandmaps-mcp]
command = "npx"
args = ["-y", "mcp-remote", "https://portlandmaps-mcp.vercel.app/mcp/v2"]

For AI agents

  1. Ask the user for: PORTLANDMAPS_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: suggest_portlandmaps_address, get_portlandmaps_detail, get_assessor_data, get_permit_data, search_landuse_cases, search_sewer_records, query_intersects, convert_geometry, ….
  5. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json