FIPS County Code Lookup — 3,231 US Counties
LocalAbout FIPS County Code Lookup — 3,231 US Counties
This MCP server looks up US counties by FIPS code, name, or state. It is intended for applications that need county-level identification, and also provides a REST API with batch lookup using US Census Bureau data.
Key features
- 01Look up counties by FIPS code
- 02Search by name and state
- 03List counties in a state
- 04View county and state statistics
- 05REST API and batch lookup
Use cases
- 01Check county details by FIPS code
- 02Filter locations by county name and state
- 03Process county codes in batches
- 04Retrieve county counts by state
MCP support
Exposes county lookup, search, state listing, and statistics tools over MCP. It uses stdio by default and can also run in Streamable HTTP mode.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
Tools
Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.
Details
From the project READMEMCP 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)
| Tool | Description |
|---|---|
fips_lookup | Look up a county by its 5-digit FIPS code |
fips_search | Search counties by name, optionally filtered by state |
fips_state | List all counties in a state by FIPS code or abbreviation |
fips_stats | Get 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 codeGET /search?name=los+angeles&state=CA-- search counties by nameGET /state/:code-- list all counties in a state (e.g.,/state/CA)POST /lookup/batch-- batch lookup multiple FIPS codesGET /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
PORTenv var to start in Streamable HTTP mode on/mcp
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.