Apitier

io.github.apitier由 GitHub 帳號 apitier 發布v1.0.2更新於 Oct 25, 2026

APITier utility APIs as MCP tools: validation, UK/India address lookup, barcode/QR, data conversion.

已驗證STDIO僅桌面資料與分析商業與電商

概覽

AI 產生的概覽

APITier 公用工具 API 伺服器,讓助理驗證電子郵件、電話、加值稅號與英國銀行資訊,查詢英國/印度地址與公司,並產生條碼、QR 碼及轉換資料格式。

可以做什麼
驗證電子郵件、電話號碼、英國與歐盟加值稅號,以及英國排序碼和帳號,並在可取時回傳國家、電信業者與登記企業資訊。依 Royal Mail PAF 查詢英國地址與郵遞區號,解析 UPRN 與 UDPRN 紀錄,並查詢印度 PIN 碼對應地區。在 Companies House 上查核英國公司,包括狀態、SIC 代碼與重要控制人,並執行整合式英國 KYC 上線檢查,回傳通過/複核/不通過結論與風險分數。產生條碼與 QR 碼圖片,並在 CSV、JSON、XML 與 YAML 之間轉換資料。
適用情境
適合助理需要核對聯絡方式或稅務資訊、填寫英國地址表單、在簽約或上線前審查英國供應商與企業,或產生條碼、QR 碼及做格式轉換的情境。偏向法遵、KYC 與資料登錄流程,而非一般網路搜尋。
執行需求
透過 npx 在本機執行(需 Node.js),或連線至 APITier 的託管 HTTP 端點。需要 APITier 帳號與 MCP 金鑰,或分別提供郵遞區號、潛在客戶、電子郵件、電話、加值稅、印度 PIN 碼、條碼與資料轉換的服務金鑰。整合式 KYC 工具需要郵遞區號、潛在客戶與加值稅三項訂閱;排序碼驗證不需金鑰。需要連線至 APITier 的網路存取。
安裝前請注意
會透過環境變數索取多組金鑰,請避免寫入共用設定。託管模式會把 MCP 金鑰當作 URL 查詢參數傳送,可能外洩到日誌中。查詢會將地址、公司編號、電子郵件、電話與加值稅號傳送至 APITier 伺服器。工具本身是唯讀查詢與產生操作,但訂閱可能由 APITier 計費。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Apitier,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

@apitier/mcp-server

MCP (Model Context Protocol) server exposing all APITier utility APIs as tools for AI agents.

Two integration modes:

ModeBest for
Hosted HTTP — https://mcp.apitier.comAnthropic connector directory, remote agents, server-to-server
stdio (npx) — runs locallyClaude Desktop, Cursor, Windsurf, local agents

Both modes use the same MCP Key — one key unlocks all your subscribed services.

Postman collection: import the ready-made collection to test all endpoints instantly: https://raw.githubusercontent.com/apitier/apitier-mcp-server/main/postman/APITier%20MCP%20Server.postman_collection.json

In Postman: Import → Link → paste URL → set mcp_api_key collection variable.


Tools Available

🇬🇧 UK KYC Onboarding

ToolDescription
kyc_onboard_ukFull UK business onboarding check in one call. Validates VAT, verifies Companies House, retrieves PSC (beneficial owners), and confirms the registered address. Returns PASS / REVIEW / FAIL, a risk score, and the full data bundle. Requires postcode + vat + leadAgent subscriptions.

Example output:

json
{  "decision": "PASS",  "risk_score": 95,  "flags": [],  "checks": {    "company": { "status": "active", "data": { ... } },    "psc":     { "status": "found",  "data": { ... } },    "vat":     { "status": "valid",  "data": { ... } },    "address": { "status": "verified", "data": { ... } }  }}

🇬🇧 UK Address & Property

ToolDescription
verify_uk_addressVerify a UK address against Royal Mail PAF — returns canonical address, UPRN, UDPRN, and per-delivery-point geocode
lookup_uprnLook up a full AddressBase record by UDPRN — returns UPRN, PAF canonical address, coordinates. Use UDPRN from verify_uk_address
lookup_uk_postcodeUK postcode → full PAF address list + district, ward, county, country, and geocode

🇬🇧 UK Business & Compliance

ToolDescription
verify_uk_companyLook up a UK company on Companies House by name or number — status, address, SIC codes, filing health
get_company_pscPersons with Significant Control register for a UK company — required for AML beneficial ownership checks
validate_sort_codeValidate a UK sort code and optionally a bank account number (Vocalink modulus check). No API key required.

🇬🇧🇪🇺 UK + EU VAT Compliance

ToolDescription
validate_vatValidate UK and EU VAT numbers — checks HMRC for GB numbers, EU VIES for all other country prefixes. Returns registered business name and address. Accepts any country prefix (e.g. GB123456789, DE123456789, FR12345678901).

🌍 Global Identity

ToolDescription
validate_emailValidate email — syntax, MX, SMTP reachability, disposable domain check. Works for any email address globally.
validate_phoneValidate and parse phone numbers — accepts any international format, returns country, carrier, and line type.

🇮🇳 India

ToolDescription
lookup_india_pincodeIndian PIN code → state / district / town

🌍 Utilities

ToolDescription
generate_barcodeGenerate barcode image (Code128, EAN-13, UPC, and more)
generate_qrcodeGenerate QR code image with optional logo and colour
convert_dataConvert between CSV, JSON, XML, YAML

Quick Start

1. Get your MCP Key

Sign up at apitier.com → Account → AI & MCP → Generate MCP Key.

Your MCP Key (mcp_...) automatically unlocks the tools for every APITier service you have subscribed to. No per-service configuration needed.


Hosted HTTP Endpoint

POST https://mcp.apitier.com/mcp?x-api-key=YOUR_MCP_KEY

Pass your MCP Key as the x-api-key query parameter. The endpoint resolves your subscribed services and returns only the tools available to you.

Required headers:

http
Content-Type: application/jsonAccept: application/json, text/event-stream

Test with curl:

bash
curl -s -X POST 'https://mcp.apitier.com/mcp?x-api-key=YOUR_MCP_KEY' \  -H 'Content-Type: application/json' \  -H 'Accept: application/json, text/event-stream' \  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list","params":{}}' | jq .

Call a tool:

bash
curl -s -X POST 'https://mcp.apitier.com/mcp?x-api-key=YOUR_MCP_KEY' \  -H 'Content-Type: application/json' \  -H 'Accept: application/json, text/event-stream' \  -d '{    "jsonrpc": "2.0",    "id": 1,    "method": "tools/call",    "params": {      "name": "verify_uk_company",      "arguments": { "q": "03977902" }    }  }' | jq .

Health check:

bash
curl https://mcp.apitier.com/health

Use with any HTTP MCP client

json
{  "mcpServers": {    "apitier": {      "url": "https://mcp.apitier.com/mcp?x-api-key=YOUR_MCP_KEY"    }  }}

Claude Desktop (stdio)

Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):

With MCP Key (recommended — single key, all subscribed tools):

json
{  "mcpServers": {    "apitier": {      "command": "npx",      "args": ["-y", "@apitier/mcp-server"],      "env": {        "APITIER_MCP_KEY": "mcp_your-key-here"      }    }  }}

With individual service keys (if you prefer explicit control):

json
{  "mcpServers": {    "apitier": {      "command": "npx",      "args": ["-y", "@apitier/mcp-server"],      "env": {        "APITIER_POSTCODE_KEY":     "key-from-postcode-subscription",        "APITIER_LEAD_AGENT_KEY":   "key-from-lead-agent-subscription",        "APITIER_EMAIL_KEY":        "key-from-email-subscription",        "APITIER_PHONE_KEY":        "key-from-phone-subscription",        "APITIER_VAT_KEY":          "key-from-vat-subscription",        "APITIER_BARCODE_KEY":      "key-from-barcode-subscription",        "APITIER_CONVERT_DATA_KEY": "key-from-data-conversion-subscription"      }    }  }}

Restart Claude Desktop after saving. Only tools for your active subscriptions will appear.


Cursor / Windsurf / VS Code

json
{  "mcp": {    "servers": {      "apitier": {        "command": "npx",        "args": ["-y", "@apitier/mcp-server"],        "env": {          "APITIER_MCP_KEY": "mcp_your-key-here"        }      }    }  }}

LangChain (Python)

stdio:

python
from mcp import ClientSession, StdioServerParametersfrom mcp.client.stdio import stdio_clientfrom langchain_mcp_adapters.tools import load_mcp_toolsfrom langgraph.prebuilt import create_react_agentfrom langchain_anthropic import ChatAnthropic
async def main():    server_params = StdioServerParameters(        command="npx",        args=["-y", "@apitier/mcp-server"],        env={"APITIER_MCP_KEY": "mcp_your-key-here"},    )
    async with stdio_client(server_params) as (read, write):        async with ClientSession(read, write) as session:            await session.initialize()            tools = await load_mcp_tools(session)
            model = ChatAnthropic(model="claude-sonnet-4-6")            agent = create_react_agent(model, tools)
            result = await agent.ainvoke({                "messages": "Validate this email: [email protected] and look up postcode SW1A 1AA"            })            print(result["messages"][-1].content)

HTTP endpoint:

python
from mcp import ClientSessionfrom mcp.client.streamable_http import streamablehttp_client
async def main():    async with streamablehttp_client(        "https://mcp.apitier.com/mcp?x-api-key=mcp_your-key-here"    ) as (read, write, _):        async with ClientSession(read, write) as session:            await session.initialize()            tools = await load_mcp_tools(session)            # use tools with your agent...

Vercel AI SDK (TypeScript)

stdio:

typescript
import { experimental_createMCPClient as createMCPClient } from "ai";import { Experimental_StdioMCPTransport as StdioMCPTransport } from "ai/mcp-stdio";import { anthropic } from "@ai-sdk/anthropic";import { generateText } from "ai";
const mcp = await createMCPClient({  transport: new StdioMCPTransport({    command: "npx",    args: ["-y", "@apitier/mcp-server"],    env: { APITIER_MCP_KEY: process.env.APITIER_MCP_KEY! },  }),});
const tools = await mcp.tools();
const { text } = await generateText({  model: anthropic("claude-sonnet-4-6"),  tools,  prompt: "Verify this UK company: Google UK Limited",});
await mcp.close();

HTTP endpoint:

typescript
import { experimental_createMCPClient as createMCPClient } from "ai";
const mcp = await createMCPClient({  transport: {    type: "sse",    url: `https://mcp.apitier.com/mcp?x-api-key=${process.env.APITIER_MCP_KEY}`,  },});
const tools = await mcp.tools();

Environment Variables

VariableDescription
APITIER_MCP_KEYRecommended. Single MCP Key from account page — resolves all subscribed service keys automatically
APITIER_POSTCODE_KEYUK Postcode subscription — enables verify_uk_address, lookup_uprn, lookup_uk_postcode
APITIER_LEAD_AGENT_KEYLead Agent subscription — enables verify_uk_company, get_company_psc
APITIER_EMAIL_KEYEmail Validation subscription — enables validate_email
APITIER_PHONE_KEYPhone Validation subscription — enables validate_phone
APITIER_VAT_KEYVAT Validation subscription — enables validate_vat
APITIER_PINCODE_KEYIndia Pincode subscription — enables lookup_india_pincode
APITIER_BARCODE_KEYBarcode/QR Code subscription — enables generate_barcode, generate_qrcode
APITIER_CONVERT_DATA_KEYData Conversion subscription — enables convert_data

validate_sort_code requires no API key — it is always available.

kyc_onboard_uk requires APITIER_POSTCODE_KEY + APITIER_LEAD_AGENT_KEY + APITIER_VAT_KEY (or a unified APITIER_MCP_KEY with all three subscriptions). The tool only appears when all three services are active.

Individual service keys take precedence over APITIER_MCP_KEY if both are set.


Development

bash
git clone https://github.com/apitier/apitier-mcp-server.gitcd apitier-mcp-servernpm installnpm run buildAPITIER_MCP_KEY=mcp_your-key node dist/index.js

Test with the MCP Inspector:

bash
npx @modelcontextprotocol/inspector npx @apitier/mcp-server

Set APITIER_MCP_KEY in the inspector's environment variables panel.


Example Agent Prompts

Once connected to Claude Desktop or any MCP-compatible agent:

UK KYC onboarding

  • "Run a KYC check on Vodafone Group Plc, VAT GB778476239, postcode EC1A 1BB"
  • "Onboard this supplier: company name Tesco PLC, VAT GB220437023"
  • "Verify this business before we sign the contract: company number 00445790"

UK address & property

  • "Verify this address and give me its UPRN: 10 Downing Street, SW1A 2AA"
  • "Look up UK postcode EC1A 1BB and fill in the address form"

UK business & compliance

  • "Verify this UK company on Companies House: Barclays Bank UK PLC"
  • "Who are the persons with significant control for company number 00026167?"
  • "Validate this UK sort code and account number: 60-16-13 / 31926819"
  • "Validate this UK VAT number: GB927065390"
  • "Validate this EU VAT number before I send the invoice: DE123456789"

Global identity

  • "Validate this list of emails and tell me which ones are invalid"
  • "Validate these phone numbers and tell me which country each is from"

Utilities

  • "Generate a QR code for apitier.com"
  • "Convert this CSV to JSON"

來源:README.md,提交 87163dd

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v1.0.2最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

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

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分