OmniProvider
Pay-per-call LLM API for agents: model catalog, pricing, unpaid x402/MPP quotes, how-to-pay.
我該用這個嗎
品質與安全性
根據工具定義與協定合規性的自動化分析。
上下文成本
這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。
安裝
一鍵安裝
將以下內容加入你的 `claude_desktop_config.json` 檔案:
{
"mcpServers": {
"omniprovider": {
"url": "https://mcp.omnidev.tech/mcp"
}
}
}遠端端點
https://mcp.omnidev.tech/mcpstreamable-http它能做什麼
工具清單
工具(4)
🟢omniprovider_list_models(tier)
Returns the public catalog: model ids, context windows, maximum output tokens, price per million input and output tokens, accepted payment rails and prepaid packs that can be bought now.
輸入結構描述
{
"type": "object",
"properties": {
"tier": {
"type": "string",
"enum": [
"open",
"frontier"
],
"description": "Optional filter by catalog tier."
}
},
"additionalProperties": false
}🟢omniprovider_get_pricing(model, input_tokens, output_tokens)
Returns prices: fixed per-call prices of the nano, small and brief routes, and per-token prices of the catalog. With a model and token counts it also returns an estimated cost and the minimum charge per rail.
輸入結構描述
{
"type": "object",
"properties": {
"model": {
"type": "string",
"maxLength": 64,
"description": "Catalog model id."
},
"input_tokens": {
"type": "integer",
"minimum": 0,
"maximum": 2000000
},
"output_tokens": {
"type": "integer",
"minimum": 0,
"maximum": 200000
}
},
"additionalProperties": false
}🟢omniprovider_get_quote(route, body)
Sends one unpaid request to a paid route and returns the 402 payment requirements (amount, currency, network, payee, protocol). No payment is made and no credential is sent; the response is the quote for that exact request body.
輸入結構描述
{
"type": "object",
"properties": {
"route": {
"type": "string",
"enum": [
"/v1/chat/nano",
"/v1/chat/small",
"/v1/brief",
"/v1/chat/completions",
"/x402/chat-nano",
"/x402/chat-small",
"/x402/brief"
],
"description": "Paid route path. /v1/* accepts MPP, /x402/* accepts x402."
},
"body": {
"type": "object",
"description": "JSON request body the quote is computed for (messages or prompt; for /v1/chat/completions also model and max_tokens)."
}
},
"required": [
"route",
"body"
],
"additionalProperties": false
}🟢omniprovider_how_to_pay(rail)
Returns the payment flow for a rail: endpoint URL, required headers, the client nonce format, and client commands. Payment is produced by the caller's own wallet tooling; this server holds no keys.
輸入結構描述
{
"type": "object",
"properties": {
"rail": {
"type": "string",
"enum": [
"mpp",
"x402",
"package",
"card"
],
"description": "Payment rail; all rails when omitted."
}
},
"additionalProperties": false
}社群
證據