npm @sthan/mcp-serverstdioMITupdated 2mo ago
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.
What can you do with sthan io?
Sthan 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 |
|---|---|
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 |
The MCP server itself โ the binary that your client launches | |
@sthan/core |
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
Add sthan io to your client. Pick the one you use.
claude mcp add mcp-server -- npx -y @sthan/mcp-servercodex mcp add mcp-server -- npx -y @sthan/mcp-serveramp mcp add mcp-server -- npx -y @sthan/mcp-server{
"mcpServers": {
"mcp-server": {
"command": "npx",
"args": [
"-y",
"@sthan/mcp-server"
]
}
}
}Add to `claude_desktop_config.json`, then restart Claude Desktop.
{
"mcpServers": {
"mcp-server": {
"command": "npx",
"args": [
"-y",
"@sthan/mcp-server"
]
}
}
}Add to `~/.cursor/mcp.json`, or `.cursor/mcp.json` for a single project.
code --add-mcp '{"name":"mcp-server","command":"npx","args":["-y","@sthan/mcp-server"]}'Or add the block manually to `.vscode/mcp.json` under `servers`.
{
"mcpServers": {
"mcp-server": {
"command": "npx",
"args": [
"-y",
"@sthan/mcp-server"
]
}
}
}Add to `~/.codeium/windsurf/mcp_config.json`.
{
"mcpServers": {
"mcp-server": {
"command": "npx",
"args": [
"-y",
"@sthan/mcp-server"
]
}
}
}Add to `cline_mcp_settings.json` via the MCP Servers panel.
{
"mcpServers": {
"mcp-server": {
"command": "npx",
"args": [
"-y",
"@sthan/mcp-server"
]
}
}
}Add to `~/.gemini/settings.json`.
{
"mcpServers": {
"mcp-server": {
"type": "local",
"command": "npx",
"args": [
"-y",
"@sthan/mcp-server"
],
"tools": [
"*"
]
}
}
}Add to `~/.copilot/mcp-config.json`, or run `/mcp add` inside the CLI.
{
"context_servers": {
"mcp-server": {
"command": {
"path": "npx",
"args": [
"-y",
"@sthan/mcp-server"
]
}
}
}
}Add to your Zed `settings.json`.
npx -y @sthan/mcp-serverRun `goose configure`, choose **Add Extension โ Command-line Extension**, and paste this command.
8 tools
sthan io exposes 8 tools to a connected agent.
- 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.
Score
75 / 100
Good
- Documentation25/25
- Maintenance16/25
- Trust16/20
- Capability6/15
- Install experience12/15
- Documents what it does and how to connect
- Has a resolvable package or endpoint
- Exposes at least one tool, prompt or resource
- README has substantive content
- Includes a code example
- Documents its configuration
- Mentions credentials or security posture
- Last commit 65 days ago
- Has a release history
- Repository is not archived
- Licensed MIT
- Namespace verified in the official MCP registry
- Claimed by its owner
- Published under an organisation
- 8 tool(s) documented
- Provides prompt templates
- Provides resources
- 12 documented install method(s)
- Published to a package registry
- Offers a hosted endpoint โ no local install
Version history
| Versions | Published |
|---|---|
| 0.1.1Latest | Apr 5, 2026 |