送信

FIPS County Code Lookup — 3,231 US Counties

@easysolutions906

Look up US county FIPS codes. Search by code, county name, or state. 3,231 counties. Used by mortgage, title, GIS, and government platforms.
概要

MCP FIPS Server

A Model Context Protocol (MCP) server for looking up US counties by FIPS code, name, or state. Covers all 50 states, DC, and territories.

Tools (4 total)

ToolDescription
fips_lookupLook up a county by its 5-digit FIPS code
fips_searchSearch counties by name, optionally filtered by state
fips_stateList all counties in a state by FIPS code or abbreviation
fips_statsGet database statistics: total counties, states, and counts by state

Install

npx @easysolutions906/mcp-fips

Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "fips": {
      "command": "npx",
      "args": ["-y", "@easysolutions906/mcp-fips"]
    }
  }
}

Cursor

Add to .cursor/mcp.json:

{
  "mcpServers": {
    "fips": {
      "command": "npx",
      "args": ["-y", "@easysolutions906/mcp-fips"]
    }
  }
}

REST API

Set PORT env var to run as an HTTP server.

  • GET /lookup?fips=06037 -- look up county by FIPS code
  • GET /search?name=los+angeles&state=CA -- search counties by name
  • GET /state/:code -- list all counties in a state (e.g., /state/CA)
  • POST /lookup/batch -- batch lookup multiple FIPS codes
  • GET /stats -- county counts by state

Data Source

US Census Bureau FIPS county codes. Run npm run build-data to regenerate from the latest Census data.

Transport

  • stdio (default) -- for local use with Claude Desktop and Cursor
  • HTTP -- set PORT env var to start in Streamable HTTP mode on /mcp

サーバー設定

{
  "mcpServers": {
    "fips": {
      "command": "npx",
      "args": [
        "-y",
        "@easysolutions906/mcp-fips"
      ]
    }
  }
}