Skip to main content
Glama
AddressPenny MCP Server

AddressPenny MCP Server

@addresspenny/mcp

用于 Addresspenny 地址验证的 Model Context Protocol 服务器。让 Claude Desktop、Cursor 以及任何兼容 MCP 的代理能够验证邮政地址、批量清理列表,并从自由格式文本中提取地址。

工具

  • validate_address — 验证单个邮政地址。返回标准化地址和验证元数据。消耗 1 个积分。

  • bulk_validate — 在一次调用中验证最多 100 个地址。每个地址消耗 1 个积分。

  • parse_and_validate — 从非结构化文本(聊天记录、转录、抓取的页面)中提取所有邮政地址并逐一验证。每个提取并验证的地址消耗 1 个积分。

Related MCP server: A2A MCP Server

要求

  • Node.js 18 或更高版本

  • 一个拥有 API 令牌及其账户 ID 的 Addresspenny 账户 — 请在 addresspenny.com 创建两者

配置

服务器读取三个环境变量:

变量

必需

默认值

说明

ADDRESSPENNY_API_KEY

是

—

来自 Addresspenny 的 API 令牌

ADDRESSPENNY_ACCOUNT_ID

是

—

带前缀的账户 ID(例如 acct_abc123)

ADDRESSPENNY_API_URL

否

https://addresspenny.com/api/v1

用于自托管或暂存环境的覆盖地址

Claude Desktop

编辑 ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) 或您操作系统上的等效文件:

{
  "mcpServers": {
    "addresspenny": {
      "command": "npx",
      "args": ["-y", "@addresspenny/mcp"],
      "env": {
        "ADDRESSPENNY_API_KEY": "your-api-token",
        "ADDRESSPENNY_ACCOUNT_ID": "acct_your_account_id"
      }
    }
  }
}

重启 Claude Desktop。工具将出现在聊天输入框的工具图标下。

Cursor

添加到 ~/.cursor/mcp.json:

{
  "mcpServers": {
    "addresspenny": {
      "command": "npx",
      "args": ["-y", "@addresspenny/mcp"],
      "env": {
        "ADDRESSPENNY_API_KEY": "your-api-token",
        "ADDRESSPENNY_ACCOUNT_ID": "acct_your_account_id"
      }
    }
  }
}

本地开发

npm install
npm run build
ADDRESSPENNY_API_KEY=... ADDRESSPENNY_ACCOUNT_ID=... node build/index.js

该服务器通过 stdio 使用 MCP 协议进行通信。它不打算直接调用 — 请使用上述配置将 MCP 客户端指向它。

许可证

MIT

Available Tools

3 tools
bulk_validateA

Validate up to 100 postal addresses in a single request. Consumes 1 credit per address. Returns an array where each entry is either a validated address or an error.

Inputs: addresses (required).

parse_and_validateA

Extract postal addresses from unstructured text (emails, chat messages, call transcripts, scraped pages) and validate each one. Consumes 1 credit per extracted and validated address. Returns an empty list if no complete addresses are found.

Inputs: text (required).

validate_addressA

Validate a single postal address. Returns the standardized address, deliverability status, and validation metadata. Consumes 1 credit.

Inputs: address (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.1/5.0

    Scored across 3 tools

    Disambiguation5/5

    Each tool has a distinct purpose: bulk_validate for multiple addresses, validate_address for a single address, and parse_and_validate for extracting addresses from text. No overlap exists.

    Naming Consistency3/5

    Tools share the 'validate' root but naming patterns differ: bulk_validate and validate_address follow a verb-like pattern, while parse_and_validate uses two verbs joined by 'and', breaking consistency.

    Tool Count5/5

    Three tools are appropriate for the domain: single validation, batch validation, and text extraction. The count is well-scoped and each tool earns its place.

    Completeness4/5

    Core address validation operations are covered (single, bulk, extraction from text). Missing features like credit management or account info are minor gaps that do not hinder core functionality.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers