
Sthan Io
io.github.sthan-io由 GitHub 帳號 sthan-io 發布v0.1.11更新於 Oct 24, 2026
US address verification, parsing, autocomplete, geocoding, and IP geolocation APIs.
概覽
本機 MCP 伺服器,透過 sthan.io API 讓 AI 助理驗證、解析、自動補完與地理編碼美國地址,並查詢 IP 地理位置。
- 可以做什麼
- 驗證與解析美國地址,回傳標準化格式、ZIP+4、投遞點驗證與住宅/商業標記,並從自由文字拆出結構化欄位。自動補完不完整的美國地址、城市與郵遞區號。將美國地址地理編碼為座標並附上精度與信心分數,也可將座標反查為最近地址。查詢 IPv4 或 IPv6 地理位置,包含位置、網路、代理/主機標記與信心分數。
- 適用情境
- 適合助理需要確認美國地址真實且可投遞、清理或拆分地址文字、在使用者輸入時提供地址建議、在地址與座標之間轉換,或定位某個 IP 位址時使用。
- 執行需求
- 以 stdio 在本機執行,通常透過 npm 套件以 npx 啟動,因此需要 Node.js。需要 sthan.io API 金鑰,透過環境變數 STHAN_API_KEY 提供,有免費額度。需連網呼叫 sthan.io 即時 API。地址驗證與解析最長可能約 2 分鐘,可能需要調高用戶端工具逾時。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Sthan Io,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
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, postal code, timezone with current local time, flag, currency, calling code, network (ASN, ISP, organisation), mobile/proxy/hosting flags, reverse DNS and a confidence score.
- Free tier with no credit card — get a key in under a minute at sthan.io/dashboard.
Tools
Quick start
1. Get a free API key
Sign up at sthan.io and create a key from the dashboard. No credit card.
2. One-click install
[Add to Claude Desktop] [Install in VS Code] [Install in VS Code Insiders] [Add to Cursor]
- Claude Desktop: download
sthan.mcpband double-click it. Claude asks for your API key and keeps it in your system keychain. Nothing else to install. - VS Code: click the button. VS Code asks for your API key and stores it securely.
- Cursor: click the button, then replace
your_key_herewith your key in Cursor Settings > MCP. - Claude Code:
claude mcp add sthan -e STHAN_API_KEY=your_key_here -- npx -y @sthan/mcp-server(details below).
3. Or set it up manually
Replace your_key_here with your key. Every setup below downloads the latest @sthan/mcp-server from npm and calls the live API at https://api.sthan.io.
Claude Code (terminal):
On native Windows, wrap npx with cmd /c:
Add --scope user to use it in every project. Start claude and type /mcp to confirm sthan is connected.
Claude Desktop: edit claude_desktop_config.json (macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\), then restart Claude Desktop:
Cursor: the same JSON in ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (one project).
Windsurf: the same JSON in ~/.codeium/windsurf/mcp_config.json.
VS Code: create .vscode/mcp.json. VS Code asks for the key once and stores it securely:
Try it without an AI client (opens the official MCP Inspector in your browser):
Click Connect, then Tools > List Tools, pick a tool, and run it.
Troubleshooting
- Keep the
-yinnpx -y. Without it,npxwaits for an "OK to install?" answer that an AI client cannot give, and the server never starts. - On Windows, run the
claude mcp add ... cmd /c ...command from PowerShell or Command Prompt. Git Bash rewrites/ctoC:/, which saves a broken command that times out (fix: prefix it withMSYS_NO_PATHCONV=1). - On Windows, if a client reports
spawn npx ENOENT, use"command": "cmd"with"args": ["/c", "npx", "-y", "@sthan/mcp-server"]. - Address verification and parsing can take up to about 2 minutes when a live postal lookup is needed. If your client gives up sooner, raise its tool timeout (Claude Code: set
MCP_TOOL_TIMEOUT=150000before startingclaude; MCP Inspector: raise Request Timeout in its Configuration panel).
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
Response times
Most calls return in 1 to 3 seconds. Address verification and parsing can take longer (up to about 2 minutes) when an address cannot be matched from sthan.io's own data and needs a live postal lookup, so the server waits up to 150 seconds for those two tools. If your MCP client stops waiting sooner, raise its tool timeout (for example, in Claude Code set MCP_TOOL_TIMEOUT=150000).
Packages
This monorepo publishes two packages:
Development
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.
來源:README.md,提交 8c4006f
工具
0版本歷史
5- v0.1.11最新Oct 16, 2026
- v0.1.10Oct 9, 2026
- v0.1.9Oct 2, 2026
- v0.1.7Sep 26, 2026
- v0.1.1Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分