Skip to main content

Choose your language

AI agents · MCP

Let Claude or Codex log your expenses.

Video: a message to Ibils is sent from Claude, and the answer from your Ibils books comes back in the same chat.
Set it upFor Premium Pro or Premium MaxDeveloper reference

Make a key in the app

Pick the agent and its access, then tap Make key.

ProfileAI settingsClaude & Codex

Paste the command

Tap Send to laptop or Copy to this phone, then paste it into Terminal.

Terminal
claude mcp add --scope user \
--transport http ibils \
https://api.ibils-savy.com/mcp \
--header \
"Authorization: Bearer YOUR_KEY"

Ask your agent

Ask in plain words. The agent finds the numbers.

Claude Code

How much did I spend on food this month vs last month?

Down $60 from last month.

This month$310.00
Last month$370.00

Decide what the agent may do

With Read and change, the agent saves right away without asking you. Pick Read only if it just needs to look.

120
calls per minutefor each key
20
new keys per hourfor each account
Tap the trash icon and the agent loses access at once.

Developer reference

Protocol

Transport
MCP Streamable HTTP, POST to the endpoint
Auth
Authorization: Bearer <key>
Key
Starts with ibils_mcp_. Shown once in the app; the server keeps only its hash. Works until revoked.
Protocol version
2025-06-18
Format
JSON-RPC 2.0, batches allowed
Methods
initialize, ping, tools/list, tools/call, notifications/*
GET
Returns 405. This version has no SSE stream.
Book
The agent starts on your default book and switches when you ask.
Log
Every tool call is logged on Ibils servers.

Test your key

Ask for the tool list with curl, no agent needed.
Terminal
export IBILS_MCP_TOKEN=ibils_mcp_...
curl -s https://api.ibils-savy.com/mcp \
-d '{"jsonrpc":"2.0","id":1,
     "method":"tools/list"}' \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $IBILS_MCP_TOKEN"

A JSON list of tools means the key works. A 401 means the key wasn’t sent or is wrong.

They’re the same tools Himel uses in the app. tools/list returns all of them with their argument schemas.

Errors

HTTP statuses and JSON-RPC codes, with what they mean.

Three-digit numbers are HTTP statuses: the 401 code is in the message field, the 402 code in the reason field. Negative numbers are JSON-RPC error codes in the body, sent with HTTP 200.

StatusCodeMeaning
401mcp_token_requiredThe Authorization header is missing. Send your key in that header.
401mcp_token_invalidThe key isn’t recognised. Check for a typo, or make a new key.
402mcp_premium_requiredThis account isn’t on Premium Pro or Premium Max.
429Too Many RequestsMore than 120 calls a minute on one key. Wait a moment, then retry.
405Method Not AllowedThe request used GET. Send POST.
-32001insufficient_scopeA tool that changes data was called with a Read only key. Make a Read and change key.
-32601Method not foundUnknown method. The Protocol table lists the supported ones.
-32602Invalid paramsUnknown tool name, or arguments that aren’t a JSON object. Run tools/list for names and schemas.
200isError: trueThe tool ran and failed, or the arguments don’t match its schema. The reply is a normal HTTP 200, and the reason is in the result text.

Still not working? Contact us