🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@sthan/mcp-server

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sthan/mcp-server

MCP server for sthan.io — US address verification, parsing, autocomplete, geocoding, and IP geolocation

latest
Source
npmnpm
Version
0.1.5
Version published
Maintainers
1
Created
Source

@sthan/mcp-server

MCP server for sthan.io — US address verification, parsing, autocomplete, geocoding, and IP geolocation.

Works with Claude Code, Cursor, VS Code, Windsurf, and any MCP-compatible client.

Setup

1. Get an API key

Sign up at sthan.io (free tier, no credit card required). Create an API key from your dashboard.

2. Configure your client

Claude Code (~/.claude/mcp.json or project .claude/mcp.json):

{
  "mcpServers": {
    "sthan": {
      "command": "npx",
      "args": ["@sthan/mcp-server"],
      "env": { "STHAN_API_KEY": "sthan_test_your_api_key_here" }
    }
  }
}

Cursor (.cursor/mcp.json):

{
  "mcpServers": {
    "sthan": {
      "command": "npx",
      "args": ["@sthan/mcp-server"],
      "env": { "STHAN_API_KEY": "sthan_test_your_api_key_here" }
    }
  }
}

VS Code (settings.json):

{
  "mcp.servers": {
    "sthan": {
      "command": "npx",
      "args": ["@sthan/mcp-server"],
      "env": { "STHAN_API_KEY": "sthan_test_your_api_key_here" }
    }
  }
}

Tools

ToolDescription
sthan_verify_addressVerify a US address for deliverability. Returns DPV confirmation, ZIP+4, carrier route.
sthan_parse_addressParse freeform address text into structured components (street, city, state, zip, unit).
sthan_autocomplete_addressGet address suggestions from partial input. Sub-100ms response time.
sthan_autocomplete_cityGet US city suggestions from partial input.
sthan_autocomplete_zipcodeGet US ZIP code suggestions from partial input.
sthan_geocodeConvert a US address to latitude/longitude coordinates.
sthan_reverse_geocodeConvert coordinates to the nearest US street address.
sthan_ip_geolocationLook up geographic location of an IPv4 or IPv6 address.

Environment variables

VariableRequiredDescription
STHAN_API_KEYYesYour sthan.io API key (sthan_test_* or sthan_live_*)
STHAN_API_URLNoOverride base URL (default: https://api.sthan.io)

Examples

Once configured, just ask your AI assistant naturally:

  • "Is 123 Main St, New York, NY 10001 a real address?"
  • "Parse this address: apt 2b 500 broadway new york ny"
  • "What are the coordinates for the White House?"
  • "What address is at 40.7128, -74.0060?"
  • "Where is IP 8.8.8.8 located?"

License

MIT

Keywords

mcp

FAQs

Package last updated on 28 Jun 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts