Agent Toolbox
Everyday tools for AI agents, paid per call with x402: images, markdown, speech-to-text, embeddings.
我该使用它吗
质量与安全性
基于对工具定义和协议合规性的自动分析。
上下文开销
这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。
安装
一键安装
将以下内容添加到你的 `claude_desktop_config.json` 文件中:
{
"mcpServers": {
"agent-toolbox": {
"url": "https://agent-toolbox.zafermemon87.workers.dev/mcp"
}
}
}远程端点
https://agent-toolbox.zafermemon87.workers.dev/mcpstreamable-http它能做什么
工具清单
工具(22)
🟢generate_image(prompt, steps)
Generate a 1024x1024 JPEG image from a text prompt with FLUX.1 schnell; every prompt passes a safety check first (sexual content and other unsafe requests are refused and not charged). Returns the image as base64. Costs USD 0.01 per call, paid with x402 (USDC on Base); calls that fail are not charged.
输入模式
{
"type": "object",
"properties": {
"prompt": {
"type": "string",
"description": "What to draw, up to 2048 characters"
},
"steps": {
"type": "integer",
"minimum": 1,
"maximum": 8,
"description": "Diffusion steps, 1 to 8 (default 4; more is slower and finer)"
}
},
"required": [
"prompt"
]
}🟢url_to_markdown(url)
Fetch a public web page or document (HTML, PDF, Word, Excel, CSV, XML; up to 10 MB) and return it as clean Markdown with its title and final URL. Costs USD 0.002 per call, paid with x402 (USDC on Base); calls that fail are not charged.
输入模式
{
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "A public http(s) URL"
}
},
"required": [
"url"
]
}🟢file_to_markdown(filename, file_base64)
Convert an uploaded document (PDF, Word, Excel, CSV, HTML, XML, OpenDocument; up to 10 MB) to Markdown. Costs USD 0.003 per call, paid with x402 (USDC on Base); calls that fail are not charged.
输入模式
{
"type": "object",
"properties": {
"filename": {
"type": "string",
"description": "File name with extension, e.g. report.pdf"
},
"file_base64": {
"type": "string",
"description": "The file, base64-encoded"
}
},
"required": [
"filename",
"file_base64"
]
}🟢transcribe_audio(audio_url, audio_base64, language, task)
Speech to text with Whisper large v3 turbo: transcribe audio (mp3, wav, m4a, ogg, webm; up to 20 MB, about 20 minutes) from a URL or base64, or translate the speech into English. Returns the text, language, duration and timed segments. Costs USD 0.01 per call, paid with x402 (USDC on Base); calls that fail are not charged.
输入模式
{
"type": "object",
"properties": {
"audio_url": {
"type": "string",
"description": "A public http(s) URL"
},
"audio_base64": {
"type": "string",
"description": "The audio file, base64-encoded"
},
"language": {
"type": "string",
"description": "Language code such as en or hi (detected when left out)"
},
"task": {
"type": "string",
"enum": [
"transcribe",
"translate"
],
"description": "translate = into English"
}
}
}🟢embed_text(texts)
Text embeddings with BGE-M3 (multilingual, 1024 dimensions) for search, clustering and RAG: up to 100 texts of up to 8,000 characters per call. Costs USD 0.002 per call, paid with x402 (USDC on Base); calls that fail are not charged.
输入模式
{
"type": "object",
"properties": {
"texts": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 100,
"description": "Texts to embed"
}
},
"required": [
"texts"
]
}🟢translate_text(text, target_lang, source_lang)
Translate text (up to 5,000 characters) between 100 languages with M2M100 1.2B. Costs USD 0.002 per call, paid with x402 (USDC on Base); calls that fail are not charged.
输入模式
{
"type": "object",
"properties": {
"text": {
"type": "string"
},
"target_lang": {
"type": "string",
"description": "Language name or code, e.g. french or fr"
},
"source_lang": {
"type": "string",
"description": "Default english"
}
},
"required": [
"text",
"target_lang"
]
}🟢summarize(text, url, length, focus)
Summarize text (up to 60,000 characters) or a public web page or PDF by URL with Llama 3.1 8B, short, medium or long, optionally focused on a topic. Costs USD 0.003 per call, paid with x402 (USDC on Base); calls that fail are not charged.
输入模式
{
"type": "object",
"properties": {
"text": {
"type": "string"
},
"url": {
"type": "string",
"description": "A public http(s) URL"
},
"length": {
"type": "string",
"enum": [
"short",
"medium",
"long"
]
},
"focus": {
"type": "string",
"description": "Optional topic to focus on"
}
}
}🟢verify_email(email)
Check an email address: format, whether the domain exists and accepts mail (MX records), disposable providers, role accounts and free providers, with a valid / risky / invalid verdict. The mailbox itself is not probed. Costs USD 0.002 per call, paid with x402 (USDC on Base); calls that fail are not charged.
输入模式
{
"type": "object",
"properties": {
"email": {
"type": "string"
}
},
"required": [
"email"
]
}🟢fx_rates(base, symbols, amount)
Currency exchange rates and conversion for about 30 currencies (USD, EUR, GBP, INR, JPY, CNY ...) from the European Central Bank reference rates of the latest working day. Costs USD 0.002 per call, paid with x402 (USDC on Base); calls that fail are not charged.
输入模式
{
"type": "object",
"properties": {
"base": {
"type": "string",
"description": "Base currency, default USD"
},
"symbols": {
"type": "string",
"description": "Comma-separated, e.g. EUR,INR (default: all)"
},
"amount": {
"type": "number",
"description": "Amount to convert (default 1)"
}
}
}🟢dns_lookup(name, type)
DNS records of a domain (A, AAAA, MX, TXT, NS, CNAME, SOA, CAA, SRV, PTR) over DNS-over-HTTPS (1.1.1.1), with DNSSEC validation status. Costs USD 0.002 per call, paid with x402 (USDC on Base); calls that fail are not charged.
输入模式
{
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Domain name"
},
"type": {
"type": "string",
"enum": [
"A",
"NS",
"CNAME",
"SOA",
"PTR",
"MX",
"TXT",
"AAAA",
"SRV",
"CAA"
]
}
},
"required": [
"name"
]
}🟢chat_gpt_oss_120b(messages, max_tokens, temperature, response_format)
OpenAI-compatible chat completion with gpt-oss-120b (OpenAI's open-weight reasoning model): set the base URL to /v1/llm/gpt-oss-120b in any OpenAI SDK. Up to 32,000 characters in and 2,048 tokens out per call, a fixed price per call, no streaming. Costs USD 0.005 per call, paid with x402 (USDC on Base); calls that fail are not charged.
输入模式
{
"type": "object",
"properties": {
"messages": {
"type": "array",
"description": "OpenAI chat messages: [{role: system|user|assistant, content}] (up to 32,000 characters in total)",
"items": {
"type": "object",
"required": [
"role",
"content"
],
"properties": {
"role": {
"type": "string"
},
"content": {
"type": "string"
}
}
}
},
"max_tokens": {
"type": "integer",
"minimum": 1,
"maximum": 2048,
"description": "Default 2048"
},
"temperature": {
"type": "number",
"minimum": 0,
"maximum": 2
},
"response_format": {
"type": "object",
"description": "{\"type\": \"json_object\"} for JSON output"
}
},
"required": [
"messages"
]
}🟢chat_qwen3_30b(messages, max_tokens, temperature, response_format)
OpenAI-compatible chat completion with Qwen3 30B (fast mixture-of-experts model): set the base URL to /v1/llm/qwen3-30b in any OpenAI SDK. Up to 32,000 characters in and 2,048 tokens out per call, a fixed price per call, no streaming. Costs USD 0.002 per call, paid with x402 (USDC on Base); calls that fail are not charged.
输入模式
{
"type": "object",
"properties": {
"messages": {
"type": "array",
"description": "OpenAI chat messages: [{role: system|user|assistant, content}] (up to 32,000 characters in total)",
"items": {
"type": "object",
"required": [
"role",
"content"
],
"properties": {
"role": {
"type": "string"
},
"content": {
"type": "string"
}
}
}
},
"max_tokens": {
"type": "integer",
"minimum": 1,
"maximum": 2048,
"description": "Default 2048"
},
"temperature": {
"type": "number",
"minimum": 0,
"maximum": 2
},
"response_format": {
"type": "object",
"description": "{\"type\": \"json_object\"} for JSON output"
}
},
"required": [
"messages"
]
}🟢domain_whois(domain)
Domain registration data from RDAP (the successor of WHOIS): registrar, creation, expiry and update dates, status codes, nameservers and DNSSEC. Costs USD 0.002 per call, paid with x402 (USDC on Base); calls that fail are not charged.
输入模式
{
"type": "object",
"properties": {
"domain": {
"type": "string"
}
},
"required": [
"domain"
]
}🟢company_search(query, country, limit)
Find companies worldwide by name in the official GLEIF register of legal entities: legal name, LEI, country, registered address, company-register number, legal form and status, best match first, plus matching US-listed companies with ticker and SEC CIK. Costs USD 0.005 per call, paid with x402 (USDC on Base); calls that fail are not charged.
输入模式
{
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "Company name, e.g. Reliance Industries"
},
"country": {
"type": "string",
"description": "Optional two-letter country code to narrow the search, e.g. IN"
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 20,
"description": "How many matches (default 5)"
}
},
"required": [
"query"
]
}🟢company_lei(lei)
Full official record of a legal entity by its LEI (Legal Entity Identifier) from GLEIF: legal and other names, registered and head-office addresses, company-register number, legal form, status, founding date, LEI status, and its direct and ultimate parent companies. Costs USD 0.005 per call, paid with x402 (USDC on Base); calls that fail are not charged.
输入模式
{
"type": "object",
"properties": {
"lei": {
"type": "string",
"description": "20-character LEI, e.g. HWUPKR0MPOU8FGXBT394"
}
},
"required": [
"lei"
]
}🟢company_us(ticker, cik)
US public company profile from SEC EDGAR by ticker or CIK: industry, exchange, state of incorporation, fiscal year end, address and phone, shares outstanding, latest full-year financials (revenue, net income, assets, liabilities, equity, cash, diluted EPS) and links to the latest 10-K, 10-Q and 8-K filings. Costs USD 0.01 per call, paid with x402 (USDC on Base); calls that fail are not charged.
输入模式
{
"type": "object",
"properties": {
"ticker": {
"type": "string",
"description": "Stock ticker, e.g. AAPL"
},
"cik": {
"type": "string",
"description": "SEC CIK number, e.g. 320193 (instead of ticker)"
}
}
}🟢extract_data(url, text, fields)
Extract structured JSON from a web page, PDF or text: name the fields you want (up to 25, with types) and get each value with the exact quote from the page that states it. Every quote is checked against the page itself (verified, quoted, unverified or not_found), so values are never invented. Charged only when at least one field is found. Costs USD 0.005 per call, paid with x402 (USDC on Base); calls that fail are not charged.
输入模式
{
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "A public http(s) URL"
},
"text": {
"type": "string",
"description": "Text to read instead of a URL (up to 60,000 characters)"
},
"fields": {
"type": "object",
"description": "Field name -> \"type: what it is\" (types: string, number, integer, boolean), e.g. {\"price\": \"number: the current price\"}; a JSON Schema with properties also works",
"additionalProperties": {
"type": "string"
}
}
},
"required": [
"fields"
]
}🟢watch_field(url, field, description, when, value, ...)
Watch one field on a web page for 30 days, e.g. a price, stock status or version number: it is read again every 15 to 1440 minutes and an alert goes to your webhook, Slack, Discord or Telegram when it changes, goes below or above a number, contains a text, or disappears. Returns the current value now; check status or stop it for free with the watch secret. Costs USD 0.10 per call, paid with x402 (USDC on Base); calls that fail are not charged.
输入模式
{
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "A public http(s) URL"
},
"field": {
"type": "string",
"description": "A short name for the field, e.g. price"
},
"description": {
"type": "string",
"description": "What the field is, e.g. the current price of the product"
},
"when": {
"type": "string",
"enum": [
"changes",
"below",
"above",
"contains",
"gone"
],
"description": "Default changes; below and above compare numbers; contains looks for text in the value; gone fires when the field is no longer on the page"
},
"value": {
"description": "The number for below/above, or the text for contains"
},
"type": {
"type": "string",
"enum": [
"string",
"number",
"integer",
"boolean"
],
"description": "The field's type (number for below and above)"
},
"every_minutes": {
"type": "integer",
"minimum": 15,
"maximum": 1440,
"description": "How often the page is read (default 60)"
},
"callback_url": {
"type": "string",
"description": "Optional https URL for alerts (a signed JSON POST); Slack and Discord incoming webhooks and https://api.telegram.org/bot<token>/sendMessage?chat_id=<id> get a readable message. Without it, poll the status."
},
"format": {
"type": "string",
"enum": [
"json",
"slack",
"discord",
"telegram"
],
"description": "Detected from the callback host when left out"
},
"label": {
"type": "string",
"description": "Optional name for your own reference"
}
},
"required": [
"url",
"field"
]
}🟢read_url(url)
Free. Read a public web page or document (HTML, PDF, Word, Excel, CSV; up to 5 MB) as clean Markdown with its title. Up to 20 reads a minute per IP; for more, url_to_markdown is the paid version with no limit.
输入模式
{
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "A public http(s) URL"
}
},
"required": [
"url"
]
}🟢watch_status(watch_id, secret)
Free. A field watch's status, current value and last 20 alerts, with the watch_id and secret that watch_field returned.
输入模式
{
"type": "object",
"properties": {
"watch_id": {
"type": "string"
},
"secret": {
"type": "string"
}
},
"required": [
"watch_id",
"secret"
]
}🔴stop_watch(watch_id, secret)
Free. Stop a field watch, with the watch_id and secret that watch_field returned.
输入模式
{
"type": "object",
"properties": {
"watch_id": {
"type": "string"
},
"secret": {
"type": "string"
}
},
"required": [
"watch_id",
"secret"
]
}🟢service_info
Free. Lists every tool with its price and explains how payment works (x402 over MCP, USDC on Base).
输入模式
{
"type": "object",
"properties": {}
}社区
证据