APITier MCP Server
Official@apitier/mcp-server
すべてのAPITierユーティリティAPIをAIエージェント用のツールとして公開するMCP(Model Context Protocol)サーバーです。
利用可能なツール
ツール | 説明 |
| 英国郵便番号 → 完全な住所リスト + ジオコード |
| フリーテキストによる英国住所検索 |
| リアルタイムの英国住所サジェスト |
| メール検証 — 構文、MX、SMTP、使い捨てチェック |
| 電話番号の検証と解析(国際対応) |
| EU/英国のVAT番号検証、登録済み事業者を返却 |
| インドのPINコード → 州/地区/町 |
| バーコード画像の生成(Code128、EAN-13、UPCなど) |
| ロゴや色を指定可能なQRコード画像の生成 |
| CSV、JSON、XML、YAML間の変換 |
Related MCP server: APIbase
セットアップ
1. APIキーの取得
apitier.com にサインアップしてください。各APITierサービスには個別のサブスクリプションとAPIキーが必要です。使用したいサービスのキーのみが必要です。キーが設定されていないツールは、MCPツールリストから自動的に除外されます。
2. インストール
npm install -g @apitier/mcp-server
# or run directly without installing:
npx @apitier/mcp-serverClaude Desktop
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) または %APPDATA%\Claude\claude_desktop_config.json (Windows) に以下を追加します:
{
"mcpServers": {
"apitier": {
"command": "npx",
"args": ["@apitier/mcp-server"],
"env": {
"APITIER_POSTCODE_KEY": "key-from-postcode-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"
}
}
}
}サブスクライブしているサービスのキーのみを設定してください。Claude Desktopを再起動すると、アクティブなサブスクリプションのツールのみが表示されます。
Cursor / Windsurf / その他のMCPクライアント
{
"mcp": {
"servers": {
"apitier": {
"command": "npx",
"args": ["@apitier/mcp-server"],
"env": {
"APITIER_API_KEY": "your-api-key-here"
}
}
}
}
}LangChain (Python)
from mcp import ClientSession, StdioServerParameters
from mcp.client.stdio import stdio_client
from langchain_mcp_adapters.tools import load_mcp_tools
from langgraph.prebuilt import create_react_agent
from langchain_anthropic import ChatAnthropic
async def main():
server_params = StdioServerParameters(
command="npx",
args=["@apitier/mcp-server"],
env={"APITIER_API_KEY": "your-api-key"},
)
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: test@example.com and look up postcode SW1A 1AA"
})
print(result["messages"][-1].content)Vercel AI SDK (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: ["@apitier/mcp-server"],
env: { APITIER_API_KEY: process.env.APITIER_API_KEY! },
}),
});
const tools = await mcp.tools();
const { text } = await generateText({
model: anthropic("claude-sonnet-4-6"),
tools,
prompt: "Validate the email user@example.com and generate a QR code for https://apitier.com",
});
await mcp.close();環境変数
変数 | 必須 | 説明 |
| 1つ以上必須 | メール検証サブスクリプションのAPIキー |
| 1つ以上必須 | 電話検証サブスクリプションのAPIキー |
| 1つ以上必須 | VAT検証サブスクリプションのAPIキー |
| 1つ以上必須 | 英国郵便番号サブスクリプションのAPIキー |
| 1つ以上必須 | インドPINコードサブスクリプションのAPIキー |
| 1つ以上必須 | バーコード/QRコードサブスクリプションのAPIキー |
| 1つ以上必須 | データ変換サブスクリプションのAPIキー |
| いいえ | メールAPIベースURLのオーバーライド |
| いいえ | 電話APIベースURLのオーバーライド |
| いいえ | VAT APIベースURLのオーバーライド |
| いいえ | 英国郵便番号APIベースURLのオーバーライド |
| いいえ | インドPINコードAPIベースURLのオーバーライド |
| いいえ | バーコードAPIベースURLのオーバーライド |
| いいえ | データ変換APIベースURLのオーバーライド |
開発
git clone https://github.com/apitier/apitier-mcp-server.git
cd apitier-mcp-server
npm install
npm run build
APITIER_API_KEY=your-key node dist/index.jsMCPインスペクターでテストする場合:
npx @modelcontextprotocol/inspector npx @apitier/mcp-serverインスペクターの環境変数パネルで APITIER_API_KEY を設定してください。
エージェントプロンプトの例
Claude Desktopに接続したら、以下のように指示できます:
"Validate this list of emails and tell me which ones are invalid: ..."
"Look up UK postcode EC1A 1BB and fill in the address form"
"Generate a QR code for our company website with our logo"
"I have a CSV file — convert it to JSON"
"Verify this VAT number before I send the invoice: GB123456789"
"Validate these phone numbers and tell me which country each is from: ..."
This server cannot be deployed
Maintenance
Related MCP Connectors
MCP server for your apps' tools and custom tools, plus hosted AI agents and approval-gated workflows
- UnifAPIOAuthcom.unifapi
Hosted MCP server for live public-data APIs and Skills for AI agents.
- ZapierOAuthcom.zapier
Hosted MCP server connecting AI assistants to 9,000+ apps and 40,000+ actions via Zapier.
Pay-per-use tool marketplace for AI agents. Search, price-check, and call APIs via MCP.
Related MCP Servers
- AlicenseBqualityDmaintenanceProduction-ready MCP server with 40+ tools — QR codes, PDFs, text processing, TTS, web scraping, image generation and more. Built for AI agents.2539 npmMIT
- AlicenseAqualityAmaintenanceUnified MCP gateway for AI agents with 56+ tools and growing. Travel (Amadeus, Sabre GDS), e-commerce, local services, financial markets (Polymarket), and marketing APIs — all through a single endpoint. Pay-per-call via x402 micropayments in USDC.10024 npm10MIT
- FlicenseAqualityFmaintenanceMCP server that exposes 300+ AI agents as tools via a single API key. Supports listing agents, invoking any agent with chat-completion style messages, checking agent health, and retrieving platform statistics.54-
- FlicenseNot gradedqualityDmaintenanceMCP server providing 35 developer utility APIs (JSON formatting, code review, password generation, etc.) for AI agents like Claude.3-