Personal expense tracker: capture receipts, log IRS mileage, reconcile statements, export reports.
Maintain this server? Claim it
Call this server's tools from your browser. Nothing to install.
Requests go through mcptry because browsers can't call most MCP servers directly. Header values are sent to the server for that request only and are never stored or logged.
Tool list from our last check. Connect live to refresh it.
Move an expense into a report. Also renames the stored receipt image to the dated convention name when the expense has a date and original filename.
Report name.
This tool isn't marked read-only, so it may change something on the server or in an account you connected.
Pick your client. Values in capitals, like YOUR_TOKEN, are yours to fill in.
Run in a terminal
claude mcp add --transport http expense https://expense.labnotes.org/mcp
Move an expense into a report. Also renames the stored receipt image to the dated convention name when the expense has a date and original filename.
| Argument | Type | Description |
|---|---|---|
| report* | string | Report name. |
| expenseId* | string |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"expenseId",
"report"
],
"properties": {
"report": {
"type": "string",
"minLength": 1,
"description": "Report name."
},
"expenseId": {
"type": "string",
"minLength": 1
}
}
}Apply what a person accepted from `reconcile` and complete the run. `matches` are `{ line, expenseId }` pairs (a matched pair's line, or a review candidate) and are re-checked against a fresh match, so only an expense the statement supports for that line is accepted. `additions` are the lines with no expense behind them, filed as new expenses from the statement's own date and amount; a refund line cannot be added. Nothing is written if any row fails. Asks the user to confirm first; a client that cannot answer the prompt passes confirm: true.
| Argument | Type | Description |
|---|---|---|
| confirm | boolean | Confirmation for clients that cannot answer the interactive prompt. |
| matches | array | Accepted lines that have an expense behind them. |
| fileName | string | Label for the run; defaults to statement.csv. |
| additions | array | Accepted lines with no expense behind them, to file as new expenses; date and amount come from the statement. |
| statementCsv* | string |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"statementCsv"
],
"properties": {
"confirm": {
"type": "boolean",
"description": "Confirmation for clients that cannot answer the interactive prompt."
},
"matches": {
"type": "array",
"items": {
"type": "object",
"required": [
"line",
"expenseId"
],
"properties": {
"line": {
"type": "integer",
"maximum": 9007199254740991,
"description": "1-based statement line number from reconcile.",
"exclusiveMinimum": 0
},
"expenseId": {
"type": "string",
"minLength": 1,
"description": "Expense id from the matched pair or a review candidate."
}
}
},
"maxItems": 200,
"description": "Accepted lines that have an expense behind them."
},
"fileName": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Label for the run; defaults to statement.csv."
},
"additions": {
"type": "array",
"items": {
"type": "object",
"required": [
"line",
"report"
],
"properties": {
"line": {
"type": "integer",
"maximum": 9007199254740991,
"description": "1-based statement line number from reconcile.",
"exclusiveMinimum": 0
},
"report": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Open report to file it under; list_reports shows them."
},
"category": {
"type": "string",
"maxLength": 100,
"minLength": 1
},
"merchant": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Merchant; defaults to the statement's description."
},
"description": {
"type": "string",
"maxLength": 1000
}
}
},
"maxItems": 200,
"description": "Accepted lines with no expense behind them, to file as new expenses; date and amount come from the statement."
},
"statementCsv": {
"type": "string",
"maxLength": 2000000,
"minLength": 1
}
}
}Capture a receipt from a base64 image/PDF or a URL: extract the merchant, amount and category (reusing the merchant's previous category when known), store the image, and create the expense. A non-USD amount is converted to USD at the ECB reference rate for the expense date. Returns the extracted fields and the new expense id.
| Argument | Type | Description |
|---|---|---|
| url | string | URL of a receipt image or PDF to fetch instead of imageData. |
| date | string | Expense date YYYY-MM-DD. Omitted dates the expense today in UTC, per the server instructions. |
| mime | string | MIME type of imageData, e.g. image/png or application/pdf. Guessed from filename when omitted. |
| amount | string | Amount as a decimal string in `currency`, e.g. "42.50" (otherwise extracted). |
| report | string | Report name to file under. |
| category | string | Category override (otherwise resolved from the merchant's history, then the extraction suggestion). |
| currency | string | ISO 4217 code of the amount's currency, e.g. "EUR". Defaults to the currency extracted from the receipt, else USD. A non-USD amount is stored as its USD conversion. |
| filename | string |
Close (or reopen) a report. A closed report refuses every expense filed to it until it is reopened, so closing asks the user to confirm first; a client that cannot answer the prompt passes confirm: true. Reopening needs no confirmation.
| Argument | Type | Description |
|---|---|---|
| name* | string | |
| closed | boolean | Default true. |
| confirm | boolean | Confirmation for closing, for clients that cannot answer the interactive prompt. |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"minLength": 1
},
"closed": {
"type": "boolean",
"description": "Default true."
},
"confirm": {
"type": "boolean",
"description": "Confirmation for closing, for clients that cannot answer the interactive prompt."
}
}
}Create a report (e.g. "Q3 2026") to group expenses. Fails if the name already exists.
| Argument | Type | Description |
|---|---|---|
| name* | string | Report name. |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"minLength": 1,
"description": "Report name."
}
}
}Totals for expenses matching the filters: overall count + sum, and per-category breakdown. The answer to "how much did I spend on X?".
| Argument | Type | Description |
|---|---|---|
| type | string | |
| dateTo | string | Inclusive end date YYYY-MM-DD. |
| report | string | Exact report name. |
| category | string | Exact category name (case-insensitive). |
| dateFrom | string | Inclusive start date YYYY-MM-DD. |
| merchant | string | Substring match on merchant (receipts) or stop addresses (mileage). |
| unreported | boolean | Only expenses not in any report. |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"type": {
"enum": [
"receipt",
"mileage"
],
"type": "string"
},
"dateTo": {
"type": "string",
"format": "date",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
"description": "Inclusive end date YYYY-MM-DD."
},
"report": {
"type": "string",
"description": "Exact report name."
},
"category": {
"type": "string",
"description": "Exact category name (case-insensitive)."
},
"dateFrom": {
"type": "string",
"format": "date",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
"description": "Inclusive start date YYYY-MM-DD."
},
"merchant": {
"type": "string",
"description": "Substring match on merchant (receipts) or stop addresses (mileage)."
},
"unreported": {
"type": "boolean",
"description": "Only expenses not in any report."
}
}
}Render a report as a PDF (the same layout as the web export: grouped by category, mileage rows with type/rate/distance, and a 'Receipts & routes' appendix — receipt images plus a real route map per mileage trip with its date, mileage, and amount listed beside it) and return it base64-encoded. Decode and save as a .pdf file.
| Argument | Type | Description |
|---|---|---|
| name* | string | Report name. |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"minLength": 1,
"description": "Report name."
}
}
}Account settings: the home address (start and end of every trip), the account's named locations, and the IRS mileage-rate master table (period + type).
No arguments.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {}
}The account's category names (alphabetical) — use these when categorizing expenses.
No arguments.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {}
}Query expenses with optional filters (date range, category, merchant, report, unreported-only, type). Returns newest first. Amounts are decimal strings.
| Argument | Type | Description |
|---|---|---|
| type | string | |
| limit | integer | Max rows (default 100). |
| dateTo | string | Inclusive end date YYYY-MM-DD. |
| report | string | Exact report name. |
| category | string | Exact category name (case-insensitive). |
| dateFrom | string | Inclusive start date YYYY-MM-DD. |
| merchant | string | Substring match on merchant (receipts) or stop addresses (mileage). |
| unreported | boolean | Only expenses not in any report. |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"type": {
"enum": [
"receipt",
"mileage"
],
"type": "string"
},
"limit": {
"type": "integer",
"maximum": 500,
"minimum": 1,
"description": "Max rows (default 100)."
},
"dateTo": {
"type": "string",
"format": "date",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
"description": "Inclusive end date YYYY-MM-DD."
},
"report": {
"type": "string",
"description": "Exact report name."
},
"category": {
"type": "string",
"description": "Exact category name (case-insensitive)."
},
"dateFrom": {
"type": "string",
"format": "date",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
"description": "Inclusive start date YYYY-MM-DD."
},
"merchant": {
"type": "string",
"description": "Substring match on merchant (receipts) or stop addresses (mileage)."
},
"unreported": {
"type": "boolean",
"description": "Only expenses not in any report."
}
}
}Merchant names previously used, most recent first.
No arguments.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {}
}All reports with their expense counts and exact totals.
No arguments.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {}
}Log a driving trip: geocode the stops, compute the route distance and the amount at the IRS rate for the trip's date and type, and create the mileage expense. The trip runs one way, from the first stop to the last; pass roundTrip true when the drive returns to its first stop.
| Argument | Type | Description |
|---|---|---|
| date | string | Trip date YYYY-MM-DD. Omitted dates the trip today in UTC, per the server instructions. |
| type | string | IRS trip type — picks the rate for the trip's date (defaults to business). |
| report | string | Report name to file under. |
| category | string | Category name. |
| locations* | array | Ordered trip stops: start, intermediate stops, end. Each is an address string or a pre-geocoded { address, lat, lng }. |
| roundTrip | boolean | One way by default: the trip starts at the first stop and ends at the last. Pass true when the drive returns to the first stop (a closed loop), which roughly doubles the distance for a there-and-back pair. |
| description | string | Description or memo. |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"locations"
],
"properties": {
"date": {
"type": "string",
"format": "date",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
"description": "Trip date YYYY-MM-DD. Omitted dates the trip today in UTC, per the server instructions."
},
"type": {
"enum": [
"business",
"charity",
"medical",
"moving"
],
"type": "string",
"description": "IRS trip type — picks the rate for the trip's date (defaults to business)."
},
"report": {
"type": "string",
"description": "Report name to file under."
},
"category": {
"type": "string",
"description": "Category name."
},
"locations": {
"type": "array",
"items": {
"anyOf": [
{
"type": "string",
"maxLength": 300,
"description": "Address to geocode."
},
{
"type": "object",
"required": [
"address"
],
"properties": {
"lat": {
"type": "number",
"description": "Pre-known latitude — skips geocoding."
},
"lng": {
"type": "number",
"description": "Pre-known longitude — skips geocoding."
},
"address": {
"type": "string",
"maxLength": 300
}
}
}
]
},
"maxItems": 12,
"minItems": 2,
"description": "Ordered trip stops: start, intermediate stops, end. Each is an address string or a pre-geocoded { address, lat, lng }."
},
"roundTrip": {
"type": "boolean",
"description": "One way by default: the trip starts at the first stop and ends at the last. Pass true when the drive returns to the first stop (a closed loop), which roughly doubles the distance for a there-and-back pair."
},
"description": {
"type": "string",
"description": "Description or memo."
}
}
}Match a bank statement against logged expenses. Pass the statement as CSV or QFX/OFX text (CSV: header row optional, date/description/amount columns, signed amounts or Debit/Credit split; QFX/OFX: FITID honored). Returns matched pairs (high confidence), statement lines needing review (amount+date match but merchant differs, or ambiguous), statement lines with no matching receipt, and logged receipts with no statement line. Refund/credit lines and already-reconciled receipts are never auto-matched.
| Argument | Type | Description |
|---|---|---|
| statementCsv* | string |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"statementCsv"
],
"properties": {
"statementCsv": {
"type": "string",
"maxLength": 2000000,
"minLength": 1
}
}
}We read every tool's name, description and inputs the way the model will, looking for instructions hidden from you. A clean result means no warning signs, not a guarantee. Scanned Nov 26, 2026.
| Original filename; used for the stored image name. |
| merchant | string | Merchant override (otherwise extracted). |
| imageData | string | Base64-encoded receipt image (PNG/JPEG/HEIC/WebP) or PDF bytes. |
| description | string | Description or memo. |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"url": {
"type": "string",
"description": "URL of a receipt image or PDF to fetch instead of imageData."
},
"date": {
"type": "string",
"format": "date",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
"description": "Expense date YYYY-MM-DD. Omitted dates the expense today in UTC, per the server instructions."
},
"mime": {
"type": "string",
"description": "MIME type of imageData, e.g. image/png or application/pdf. Guessed from filename when omitted."
},
"amount": {
"type": "string",
"description": "Amount as a decimal string in `currency`, e.g. \"42.50\" (otherwise extracted)."
},
"report": {
"type": "string",
"description": "Report name to file under."
},
"category": {
"type": "string",
"description": "Category override (otherwise resolved from the merchant's history, then the extraction suggestion)."
},
"currency": {
"type": "string",
"description": "ISO 4217 code of the amount's currency, e.g. \"EUR\". Defaults to the currency extracted from the receipt, else USD. A non-USD amount is stored as its USD conversion."
},
"filename": {
"type": "string",
"description": "Original filename; used for the stored image name."
},
"merchant": {
"type": "string",
"description": "Merchant override (otherwise extracted)."
},
"imageData": {
"type": "string",
"description": "Base64-encoded receipt image (PNG/JPEG/HEIC/WebP) or PDF bytes."
},
"description": {
"type": "string",
"description": "Description or memo."
}
}
}