Server data from the Official MCP Registry
Hard daily caps on AI agents' API spend, plus phone approval before any other payment.
About
Hard daily caps on AI agents' API spend, plus phone approval before any other payment.
Remote endpoints: streamable-http: https://zrphnuvrsldcycxtdftv.supabase.co/functions/v1/saifuban-mcp
Security Report
Valid MCP server (1 strong, 1 medium validity signals). No known CVEs in dependencies. Imported from the Official MCP Registry.
3 tools verified · Open access · No issues found
Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.
Permissions Found in Source Code
Found by scanning the linked source code. This listing connects to a hosted endpoint, so none of this runs on your machine: it describes what the server software does where it is hosted.
How to Connect
Remote Plugin
No local installation needed. Your AI client connects to the remote endpoint directly.
Add this to your MCP configuration to connect:
{
"mcpServers": {
"io-github-ut181749ut-saifuban": {
"url": "https://zrphnuvrsldcycxtdftv.supabase.co/functions/v1/saifuban-mcp"
}
}
}Documentation
View on GitHubFrom the project's GitHub README.
AIの財布番 (Saifuban) — a spending guard for AI agents
AIがお金を使う前に、あなたのスマホに承認を聞きにくる。AIエージェントのAPI代も1日の予算で止める。Claude・ChatGPT・Museで使えて、Museならチャットに1通送るだけ。日本語・円対応。 Hard daily caps on your AI agents' API spend, plus phone approval before any other payment.
👉 https://ut181749ut.github.io/saifuban/
日本語
AIエージェントは支払いの前に財布番に「払っていいか」を聞きます。財布番はあなたが決めたルールで答えます。
- 少額(例: 300円以下)は自動で許可
- それを超えるとスマホに通知 → 承認 / 却下をワンタップ
- 1日・1週間・1か月の予算、1回の上限、支払先の制限
- 「聞かずに払う」のを、前に払ったことがある支払先だけにする設定(初めての支払先はスマホで確認)
- 緊急停止ボタン
- AIごとに別々のルール
- サブスク(定期購入)は金額に関係なく必ずスマホで確認。通知に年額を表示。AIが申告し忘れても、理由や支払先の文言から定期購入らしいものを見つけて確認に回す
- AIが自分の過去の申請を調べられる(同じ支払いを二重にしないため)
- APIキーを預ければ、AIエージェントのAPI代も1日・週・月の予算で強制停止(AIには代理のキーだけを渡す)
- LangChain・CrewAI・OpenAI Agents SDK・Vercel AI SDK・Claude Codeでは、接続先と鍵を差し替えるだけ(コード例は英語版の「Use it from your agent framework」)
- 日本語・円で使える。メール登録なし・無料
財布番はお金を動かしません。カード情報や口座は預かりません。
使い方
- サイトで「はじめる」→ 予算を選ぶ → AI用のURLが出る
- そのURLをAIに登録(Claude: コネクタ / ChatGPT: 開発者モードのアプリ / Muse: チャットでURLを送る / Cursor・VS Code: MCP設定)
URLをコピーせずにつなぐこともできます(OAuth)。ClaudeやChatGPTのコネクタに次のURLを登録すると財布番の許可画面が開くので、つなぐAIを選んで「許可する」を押すだけです。
https://zrphnuvrsldcycxtdftv.supabase.co/functions/v1/saifuban-mcp
- AIに「財布番で今日の残り予算を見て」と聞いて確認
English
Stop your AI agents from overspending. Saifuban puts a hard daily cap on your agents' API bills and makes them ask your phone before any other payment.
Hard cap on API bills
Store your OpenAI, Anthropic, Google or OpenRouter key in Saifuban. Your agent only gets a proxy key (sbk_...), every call is metered, and requests are refused once the agent's daily (or optional weekly/monthly) budget is reached. Your real key never reaches the agent.
Each agent can also have at most a few API requests in flight at once (4 by default, adjustable). Extra requests get a 429 and the official SDKs retry them automatically, so a runaway loop can't fire hundreds of calls before the budget check catches up.
Use it from your agent framework
Point the client at the Saifuban proxy and give it the agent's proxy key. Nothing else changes.
Claude Code
export ANTHROPIC_BASE_URL="https://zrphnuvrsldcycxtdftv.supabase.co/functions/v1/saifuban-proxy/anthropic"
export ANTHROPIC_API_KEY="sbk_..."
OpenAI SDK / OpenAI Agents SDK (Python)
from openai import AsyncOpenAI
from agents import set_default_openai_client
set_default_openai_client(AsyncOpenAI(
base_url="https://zrphnuvrsldcycxtdftv.supabase.co/functions/v1/saifuban-proxy/openai/v1",
api_key="sbk_...",
))
LangChain
from langchain_openai import ChatOpenAI
from langchain_anthropic import ChatAnthropic
gpt = ChatOpenAI(model="gpt-4o-mini", base_url="https://zrphnuvrsldcycxtdftv.supabase.co/functions/v1/saifuban-proxy/openai/v1", api_key="sbk_...")
claude = ChatAnthropic(model="claude-sonnet-4-5", base_url="https://zrphnuvrsldcycxtdftv.supabase.co/functions/v1/saifuban-proxy/anthropic", api_key="sbk_...")
CrewAI
from crewai import LLM
llm = LLM(model="openai/gpt-4o-mini", base_url="https://zrphnuvrsldcycxtdftv.supabase.co/functions/v1/saifuban-proxy/openai/v1", api_key="sbk_...")
Vercel AI SDK
import { createOpenAI } from "@ai-sdk/openai";
const openai = createOpenAI({ baseURL: "https://zrphnuvrsldcycxtdftv.supabase.co/functions/v1/saifuban-proxy/openai/v1", apiKey: "sbk_..." });
OpenRouter (hundreds of models, actual cost reported per call): base URL https://zrphnuvrsldcycxtdftv.supabase.co/functions/v1/saifuban-proxy/openrouter/v1. Gemini: https://zrphnuvrsldcycxtdftv.supabase.co/functions/v1/saifuban-proxy/google/v1beta/openai (OpenAI-compatible).
Phone approval for everything else
Your AI agent asks Saifuban before every payment. Saifuban answers using your rules.
- Auto-approve small amounts (e.g. under ¥300)
- Anything above goes to your phone as a push notification — approve or reject in one tap
- Daily, weekly and monthly budgets, per-transaction limit, allowed merchants
- Optional: auto-approve only merchants you've paid before; new merchants always go to your phone
- Kill switch
- Separate rules per agent
Saifuban never moves money and never stores card or bank details. It only decides whether a payment is allowed.
Setup
- Open the site, press "はじめる" (Start), pick a budget — you get a personal MCP URL
- Add the URL to your AI as a remote MCP server (Streamable HTTP, no auth — the key is in the URL). With Muse, just send the URL in a chat message and ask it to connect
Or skip the copy-paste and connect with OAuth: add https://zrphnuvrsldcycxtdftv.supabase.co/functions/v1/saifuban-mcp as a connector in Claude or ChatGPT. A Saifuban consent page opens; pick (or create) the agent and press Allow. Dynamic Client Registration and PKCE (S256) are supported.
3. Ask your AI: "Check my remaining budget with Saifuban"
MCP tools
| Tool | What it does |
|---|---|
request_payment | Ask whether a payment (merchant, amount, currency JPY/USD, reason, recurring none/week/month/year) is allowed. Waits up to 45 s for phone approval. Returns a single-use payment_token when approved. Subscriptions always need your approval, whatever the amount, and the notification shows the yearly cost. Retrying a request that is still pending returns the same request instead of creating a new one (or pass idempotency_key). |
check_payment_status | Check whether a pending request was approved. |
list_payments | The agent's own past requests (filter by merchant / days), so it can check e.g. whether a Spotify charge was already approved this month and avoid paying twice. |
get_budget | Remaining budget today, this week and this month, per-transaction limit, auto-approve threshold, allowed merchants. |
Endpoint: https://zrphnuvrsldcycxtdftv.supabase.co/functions/v1/saifuban-mcp/<your-key> (get your key on the site)
Hard enforcement: single-use payment tokens
Calling request_payment is voluntary, so a prompt-injected agent could simply skip it. To make the guard enforceable, every approved request comes with a payment_token (sbt_...):
- single-use, valid for 24 hours
- bound to the approved merchant and amount
- invalid if the AI is stopped or the kill switch is on
Whatever actually moves the money (your payment tool, wrapper, or merchant backend) should require this token and redeem it before paying:
curl -X POST https://zrphnuvrsldcycxtdftv.supabase.co/functions/v1/saifuban/redeem \
-H "content-type: application/json" \
-d '{"token":"sbt_...","merchant":"OpenAI","amount":12.5,"currency":"USD"}'
# => {"valid":true,"consumed":true,...} or {"valid":false,"error":"already_used" | "merchant_mismatch" | "amount_exceeds_approval" | ...}
/verify takes the same body and checks without consuming. No agent key is needed to redeem, so the payment side doesn't have to share secrets with the agent.
API spend is already hard-enforced: when you store your provider API key in Saifuban, the agent only ever gets a proxy key.
Challenge
Think you can make Saifuban approve more than the budget? A live agent with a ¥100/day budget is open to everyone: https://ut181749ut.github.io/saifuban/challenge.html
Links
- 利用規約 / Terms
- プライバシーポリシー / Privacy
- Issues / requests: https://github.com/ut181749ut/saifuban/issues
Reviews
No reviews yet
Be the first to review this server!
More Developer Tools MCP Servers
Rea
Freeby Morluto · Developer Tools
Reverse engineer anything from your terminal or agent with one CLI and MCP server.
Paperclip
Freeby Paperclipai · Developer Tools
Trending hip-hop artist momentum scores across four cultural dimensions.
Scrapling
Freeby D4Vinci · Developer Tools
Web scraping with stealth HTTP, real browsers, and Cloudflare bypass. CSS selectors supported.
Git
Freeby Modelcontextprotocol · Developer Tools
Read, search, and manipulate Git repositories programmatically
Toleno
Freeby Toleno · Developer Tools
Toleno Network MCP Server — Manage your Toleno mining account with Claude AI using natural language.
MCP Marketplace
Freeby mcp-marketplace · Developer Tools
Search and install MCP servers from inside your AI client.
