ParseAddr — Address Parsing & Normalization

com.parseaddr由 parseaddr.com 發布官方發布者v0.1.0更新於 Oct 24, 2026

Hosted libpostal: messy free-text postal addresses → structured fields. No 2-4GB self-host.

已驗證Streamable HTTP可網頁執行開發者工具資料與分析

概覽

AI 產生的概覽

託管版 libpostal 服務,讓助理把雜亂的自由文字郵政地址解析成結構化欄位,並展開為正規化變體。

可以做什麼
  • 把自由文字地址解析為門牌號、道路、單元、城市、郵遞區號、國家等結構化欄位
  • 將地址展開並正規化為多種標準寫法,用於去重與紀錄比對
  • 兩個工具都呼叫託管 API,不需自行架設 libpostal 或編譯 C 程式
適用情境
適合助理需要為結帳、配送物流、CRM 去重或開戶流程解析與標準化郵政地址,又不想自架 libpostal 的情境。它只做解析與正規化,不做權威的可投遞性驗證。
執行需求
需要連線至 api.parseaddr.com 的遠端端點(streamable HTTP),以及透過 Authorization 標頭以 bearer 方式傳送的 ParseAddr API 金鑰。免費金鑰只需電子郵件、不需信用卡,每月 2,000 次呼叫;README 另述可用 npx 執行本機 stdio 伺服器並設定 PARSEADDR_API_KEY 環境變數。
安裝前請注意
API 金鑰是敏感憑證,透過 Authorization 標頭傳送,請勿寫入共用設定。送出的每個地址字串都會傳給第三方 ParseAddr 服務。超出免費額度按呼叫計費,且輸出僅為解析與正規化結果,並非可投遞性驗證。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 ParseAddr — Address Parsing & Normalization,將其新增到工作區。
  2. 連接 Authorization token 憑證。它們會被私密儲存,絕不會在公開頁面上展示。
  3. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/com.parseaddr%2Faddress-parse/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "parseaddr-address-parsing-normalization": {
      "type": "http",
      "url": "https://api.parseaddr.com/mcp",
      "headers": {
        "Authorization": "Bearer <YOUR_TOKEN>"
      }
    }
  }
}

README

parseaddr — clients & MCP server

Thin, open clients for the ParseAddr hosted address API. Turn messy, free-text postal addresses into clean structured fields (house number, road, unit, city, postcode, country) with a single call — no 2–4 GB libpostal self-host, no C build, no ops. The heavy lifting runs on api.parseaddr.com; everything in this repo is a small HTTP client that calls it.

This repo is the client layer only (npm package, PyPI package, MCP server, registry manifests). The service itself is hosted — you don't run it, you call it.

When to use this (humans & AI agents)

Reach for ParseAddr when you need to parse or standardise postal addresses and:

  • you don't want to self-host libpostal (a dedicated 2–4 GB-RAM box + a fiddly C build), and
  • you want cheap, self-serve, usage-based pricing rather than enterprise incumbents.

Typical jobs: e-commerce checkout, delivery/logistics, CRM dedup, fintech onboarding.

Not USPS CASS / Royal Mail PAF deliverability validation — see address validation vs parsing. For the messy-string → JSON job, see parse messy addresses API.

Node (npm)

Get a free API key — email only, no card, 2,000 calls/month.

parseaddr is not on the npm registry yet (npmjs 404). Install from this repo:

bash
npm install ./packages/npm

Activate the key with a first parse (replace pa_YOUR_KEY):

bash
curl -s https://api.parseaddr.com/v1/parse \  -H "Authorization: Bearer pa_YOUR_KEY" \  -H "Content-Type: application/json" \  -d '{"address":"flat 2, 10 downing st, london sw1a 2aa"}'

Or from Node:

js
import { parse } from "parseaddr";await parse("flat 2, 10 downing st, london sw1a 2aa", { apiKey: "pa_YOUR_KEY" });// { parsed: { unit: "flat 2", house_number: "10", road: "downing st",//             city: "london", postcode: "sw1a 2aa" }, components: [...] }

Set PARSEADDR_API_KEY and you can omit { apiKey }.

Python (pip)

Get a free API key — email only, no card, 2,000 calls/month.

parseaddr is not on PyPI yet (pypi.org 404). Install from this repo:

bash
pip install ./packages/pypi

First parse (same key, same activation):

bash
curl -s https://api.parseaddr.com/v1/parse \  -H "Authorization: Bearer pa_YOUR_KEY" \  -H "Content-Type: application/json" \  -d '{"address":"flat 2, 10 downing st, london sw1a 2aa"}'

Or from Python:

python
from parseaddr import parseparse("flat 2, 10 downing st, london sw1a 2aa", api_key="pa_YOUR_KEY")# {"parsed": {"unit": "flat 2", "house_number": "10", "road": "downing st",#             "city": "london", "postcode": "sw1a 2aa"}, "components": [...]}

Set PARSEADDR_API_KEY and you can omit api_key=.

MCP (coding agents)

Get a free API key — then set PARSEADDR_API_KEY and run the stdio server (parse_address, expand_address).

MCP registry listings (com.parseaddr/address-parse on the Official Registry · mcp.so · Smithery · Glama · LobeHub) are being submitted; until they go live, run the server from source:

bash
npm install ./packages/npm && npx parseaddr-mcp

Example MCP config (point command/args at the local install):

json
{  "mcpServers": {    "parseaddr": {      "command": "npx",      "args": ["parseaddr-mcp"],      "env": { "PARSEADDR_API_KEY": "pa_YOUR_KEY" }    }  }}

Activate the key with a first parse before relying on the tools:

bash
curl -s https://api.parseaddr.com/v1/parse \  -H "Authorization: Bearer pa_YOUR_KEY" \  -H "Content-Type: application/json" \  -d '{"address":"flat 2, 10 downing st, london sw1a 2aa"}'

The server calls https://api.parseaddr.com on your behalf.

Endpoints (called for you by these clients)

What it is NOT

Not authoritative deliverability validation (no Royal Mail PAF licence) — parsing/standardisation only. See address validation vs parsing.

來源:README.md,提交 3c191eb

工具

2

parse_address

Parse a messy free-text postal address into structured fields (house_number, road, unit, city, postcode, country, ...). Powered by libpostal. Use when a developer needs to standardise or parse postal addresses and does not want to self-host libpostal (a 2-4GB-RAM box + a fiddly C build).

輸入參數address必填

expand_address

Expand/normalize an address into canonical variants for deduplication and record matching (e.g. "100 main st" vs "100 Main Street").

輸入參數address必填

版本歷史

1
  1. v0.1.0最新Oct 12, 2026

評分

已滿足適用檢查項的 100%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分