sthan-io
OfficialSthan MCP Server
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 |
| Verify a US address is real and deliverable. Returns standardized format, ZIP+4, DPV, residential/commercial. |
| Parse freeform US address text into structured components (street number, name, type, direction, unit, city, state, zip). |
| Suggest complete US addresses from partial input. Sub-100ms. |
| Suggest US cities from partial input, with state code. |
| Suggest US ZIP codes from partial input. |
| US address → latitude/longitude with accuracy + confidence. |
| Latitude/longitude → nearest US street address with distance in meters. |
| 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 |
| Yes | Your sthan.io API key ( |
| No | Override base URL (default: |
Packages
This monorepo publishes two packages:
Package | npm | Purpose |
The MCP server itself — the binary that your client launches | ||
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 --workspacesThen 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.txtSupport: https://sthan.io/support
License
MIT — see LICENSE.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/sthan-io/mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server