sthan-io/mcp-server
FreeNot checkedUS address verification, parsing, autocomplete, forward/reverse geocoding, and IP geolocation via sthan.io APIs. 8 tools, free tier available. npx @sthan/mcp-se
About
US address verification, parsing, autocomplete, forward/reverse geocoding, and IP geolocation via sthan.io APIs. 8 tools, free tier available. npx @sthan/mcp-server
README
MCP server for sthan.io — give your AI assistant the ability to verify, parse, autocomplete, and geocode US addresses, and look up IP geolocation. Works with Claude Desktop, Claude Code, Cursor, VS Code, Windsurf, and any MCP-compatible client.
8 tools · TypeScript · stdio transport · Free tier, no credit card required.
Why use it
- Real US postal data — addresses are verified against authoritative postal records, not heuristics. Returns delivery point validation (DPV), ZIP+4, residential/commercial flag.
- Sub-100ms autocomplete — typeahead-grade response times for address, city, and ZIP suggestions.
- Strong geocoding — forward geocoding returns accuracy classification (rooftop / interpolated / centroid / approximate) plus a confidence score, so your AI knows when to trust the result.
- IPv4 + IPv6 geolocation — country, region, city, coordinates, timezone, postal code.
- Free tier with no credit card — get a key in under a minute at sthan.io/dashboard.
Tools
| Tool | What it does |
|---|---|
sthan_verify_address |
Verify a US address is real and deliverable. Returns standardized format, ZIP+4, DPV, residential/commercial. |
sthan_parse_address |
Parse freeform US address text into structured components (street number, name, type, direction, unit, city, state, zip). |
sthan_autocomplete_address |
Suggest complete US addresses from partial input. Sub-100ms. |
sthan_autocomplete_city |
Suggest US cities from partial input, with state code. |
sthan_autocomplete_zipcode |
Suggest US ZIP codes from partial input. |
sthan_geocode |
US address → latitude/longitude with accuracy + confidence. |
sthan_reverse_geocode |
Latitude/longitude → nearest US street address with distance in meters. |
sthan_ip_geolocation |
IPv4 or IPv6 → country, region, city, coordinates, timezone, postal code. |
Quick start
1. Get a free API key
Sign up at sthan.io and create a key from the dashboard. No credit card.
2. Add to your MCP client
Claude Desktop / Claude Code (~/.claude/mcp.json or project .claude/mcp.json):
{
"mcpServers": {
"sthan": {
"command": "npx",
"args": ["-y", "@sthan/mcp-server"],
"env": { "STHAN_API_KEY": "sthan_test_your_key_here" }
}
}
}
Cursor (.cursor/mcp.json):
{
"mcpServers": {
"sthan": {
"command": "npx",
"args": ["-y", "@sthan/mcp-server"],
"env": { "STHAN_API_KEY": "sthan_test_your_key_here" }
}
}
}
VS Code (settings.json):
{
"mcp.servers": {
"sthan": {
"command": "npx",
"args": ["-y", "@sthan/mcp-server"],
"env": { "STHAN_API_KEY": "sthan_test_your_key_here" }
}
}
}
Example prompts
Once configured, just ask your AI assistant naturally:
- "Is 123 Main St, New York, NY 10001 a real, deliverable address?"
- "Parse this address: apt 2b 500 broadway new york ny"
- "What are the coordinates of 1600 Pennsylvania Ave, Washington DC?"
- "What's the nearest address to 40.7128, -74.0060?"
- "Where is IP 8.8.8.8 located?"
- "Suggest US cities starting with 'San Fr'."
Environment variables
| Variable | Required | Description |
|---|---|---|
STHAN_API_KEY |
Yes | Your sthan.io API key (sthan_test_* for development, sthan_live_* for production) |
STHAN_API_URL |
No | Override base URL (default: https://api.sthan.io) |
Packages
This monorepo publishes two packages:
| Package | npm | Purpose |
|---|---|---|
| @sthan/mcp-server | npm | The MCP server itself — the binary that your client launches |
| @sthan/core | npm | TypeScript SDK for direct programmatic use of sthan.io APIs |
Development
git clone https://github.com/sthan-io/mcp-server.git
cd mcp-server
npm install
npm run build --workspaces
Then run the server with STHAN_API_KEY=sthan_test_... node packages/mcp-server/dist/index.js.
Links
- Homepage: https://sthan.io
- API docs: https://sthan.io/docs
- OpenAPI spec: https://api.sthan.io/openapi.json
- AI reference (
llms-full.txt): https://api.sthan.io/llms-full.txt - Pricing: https://sthan.io/pricing/united-states
- Support: https://sthan.io/support
- Glama: https://glama.ai/mcp/servers/sthan-io/mcp-server
License
MIT — see LICENSE.
Install sthan-io/mcp-server in Claude Desktop, Claude Code & Cursor
unyly install sthan-io-mcp-serverInstalls into Claude Desktop, Claude Code, Cursor & VS Code — handles npx, uvx and build-from-source repos for you.
First time? Get the CLI: curl -fsSL https://unyly.org/install | sh
Or configure manually
Run in your terminal:
claude mcp add sthan-io-mcp-server -- npx -y @sthan/mcp-serverFAQ
Is sthan-io/mcp-server MCP free?
Yes, sthan-io/mcp-server MCP is free — one-click install via Unyly at no cost.
Does sthan-io/mcp-server need an API key?
No, sthan-io/mcp-server runs without API keys or environment variables.
Is sthan-io/mcp-server hosted or self-hosted?
Self-hosted: the server runs locally on your machine via the install command above.
How do I install sthan-io/mcp-server in Claude Desktop, Claude Code or Cursor?
Open sthan-io/mcp-server on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
GitHub
PRs, issues, code search, CI status
by GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
by mcpdotdirectCompare sthan-io/mcp-server with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All development MCPs
