Skip to main content
Glama
recite-mcp

recite-mcp

by rivradev

recite-mcp

mcp-name: io.github.rivradev/recite-mcp

recite-mcp is an MCP server for the Recite API. It provides the full documented Recite MCP surface for scans, transactions, imports, batch jobs, projects, summaries, webhooks, rules, usage, and exports, while preserving the local ledger/memory workflow for agents that want local-first bookkeeping.

Install

End users

Recommended:

uvx recite-mcp

Alternative (pipx):

pipx install recite-mcp

Alternative (pip):

python -m pip install recite-mcp

Contributors

python -m pip install -e .[dev]
pytest -q
python -m recite_mcp.server

Related MCP server: receiptconverter-mcp

Required Environment

Get an API key at https://recite.rivra.dev/settings/api (includes 30 free scans per month), then set RECITE_API_KEY (required to process receipts; server can still start without it so validate_setup() can report what's missing):

# Windows PowerShell
$env:RECITE_API_KEY="re_live_xxx"
# macOS/Linux
export RECITE_API_KEY="re_live_xxx"

Optional home override:

# Windows PowerShell
$env:RECITE_HOME="C:\path\to\recite-home"
# macOS/Linux
export RECITE_HOME="$HOME/.config/recite"

MCP Client Config

Copy-paste this config:

{
  "mcpServers": {
    "recite": {
      "command": "uvx",
      "args": ["recite-mcp"],
      "env": {
        "RECITE_API_KEY": "re_live_xxx"
      }
    }
  }
}

If installed via pipx or pip, use:

{
  "mcpServers": {
    "recite": {
      "command": "recite-mcp",
      "args": [],
      "env": {
        "RECITE_API_KEY": "re_live_xxx"
      }
    }
  }
}

Troubleshooting

MCP Registry ownership validation failed

  • Symptom: Registry publish returns a PyPI ownership/README validation error.

  • Fix: keep this exact line in packaged README: mcp-name: io.github.rivradev/recite-mcp, then bump version and upload new PyPI release before publishing to Registry.

RECITE_API_KEY missing or invalid

  • Symptom: validate_setup() reports missing_api_key or API requests are rejected.

  • Fix: set RECITE_API_KEY in MCP client env config (preferred) or shell environment.

uvx command not found

  • Symptom: terminal says uvx is not recognized.

  • Fix: install uv first, or use one of the alternatives:

    • pipx install recite-mcp

    • python -m pip install recite-mcp

recite-mcp command not found after install

  • Symptom: command not recognized after pipx/pip install.

  • Fix:

    • For pipx: run pipx ensurepath, then reopen terminal.

    • For pip: run with module entrypoint: python -m recite_mcp.server

MCP client starts but tools are unavailable

  • Symptom: server appears configured but no tools/resources are listed.

  • Fix:

    • Confirm MCP config JSON is valid.

    • Confirm command and args match your install method (uvx vs recite-mcp).

    • Restart MCP client after config changes.

Can't download from PyPI (uvx/pip)

  • Symptom: install/run fails with network/proxy errors.

  • Fix: ensure your environment can reach PyPI (or configure your proxy / custom index). If you're on a locked-down network, you may need to allowlist PyPI or use an internal mirror.

Quick local validation (no MCP client)

  • Run recite-mcp --validate (or uvx recite-mcp --validate) to print local config/health JSON. Exit code is 0 if an API key is present, otherwise 1.

Main Features

API tools (41 total):

  • Scans — scan_receipt (file, URL, base64, or raw text; ephemeral mode), get_scan

  • Transactions — create, list (with filters), get, update, delete, import_transactions (JSON list, CSV text, or CSV file)

  • Batch scans — submit_batch_scans (1–20 items, async, webhook notification), get_batch_scan_status, get_batch_scan_results

  • Projects — list, create, update, delete

  • Summaries — get_summary (period, date range, group-by)

  • Webhooks — create, list, delete (transaction.created/updated/deleted, batch.completed)

  • Reconciliation — create_reconciliation_link, list_reconciliation_links, update_reconciliation_link, delete_reconciliation_link, run_auto_match, get_reconciliation_summary, get_reconciliation_recommendations, export_reconciliation

  • Rules — create, list, update, delete (vendor_category, default_project, processing_preference)

  • Categories — get_categories (17 built-in + custom), create_category, delete_category

  • Vendors — get_vendors, create_vendor, delete_vendor

  • Usage — get_usage (period, breakdown)

  • Exports — export_transactions (CSV/JSON, optional file save)

Local tools:

  • process_receipt — scan + ledger append in one step (optional rename, dry-run, category hint)

  • process_receipts_batch — scan a directory of images/PDFs (recursive, dry-run preview)

  • summarize_ledger, export_ledger, add_ledger_correction — local CSV ledger management

  • update_memory, list_memory — persistent agent instruction storage

  • get_config, validate_setup — configuration inspection and health check

Resources: recite://ledger, recite://memory, recite://health

Documentation

  • User guide: docs/user_guide.md

Available Tools

57 tools
add_ledger_correctionD

Inputs: original_entry_id (required), corrected_fields (required), reason (required).

create_categoryA

Add a custom category. Duplicates (case-insensitive) are rejected. Max 100 custom categories.

Args: name: Category name to add.

Inputs: name (required).

create_projectD

Inputs: name (required), description.

create_ruleA

Create an automation rule.

Args: rule_type: One of: vendor_category, default_project, processing_preference. condition: Condition object (e.g. {"vendor": "Starbucks"}). action: Action object (e.g. {"set_category": "Coffee"}). priority: Optional priority integer (higher = first).

Inputs: rule_type (required), condition (required), action (required), priority.

create_transactionA

Create a transaction in the Recite API.

Required fields: date: Transaction date (YYYY-MM-DD). amount: Monetary amount (use 'amount', not 'total'). transaction_type: One of Expense, Income, Asset, Liability, Equity. category: Category string. payment_method: Payment method string (e.g. "Credit Card").

Optional fields: vendor, description, project_id, metadata, tags.

Note: The local ledger uses 'total' for the same concept. When moving data from local ledger to API transactions, map 'total' -> 'amount'.

Inputs: transaction (required).

create_vendorA

Add a custom vendor. Duplicates (case-insensitive) are rejected. Max 500 vendors.

Args: name: Vendor name to add.

Inputs: name (required).

create_webhookA

Create a webhook subscription.

Args: url: Webhook endpoint URL. events: List of event types. Valid values: transaction.created, transaction.updated, transaction.deleted, batch.completed. secret: Optional HMAC-SHA256 signing secret.

Inputs: url (required), events (required), secret.

delete_bank_statementD

Inputs: statement_id (required).

delete_bank_transactionD

Inputs: bank_transaction_id (required).

delete_categoryA

Remove a custom category by name. Default categories cannot be deleted.

Args: name: Exact category name to remove (unencoded).

Inputs: name (required).

delete_projectD

Inputs: project_id (required).

delete_ruleD

Inputs: rule_id (required).

delete_transactionD

Inputs: transaction_id (required).

delete_vendorA

Remove a custom vendor by name.

Args: name: Exact vendor name to remove (unencoded).

Inputs: name (required).

delete_webhookD

Inputs: webhook_id (required).

export_bank_statementD

Inputs: statement_id (required), format, output_path.

export_ledgerD

Inputs: format (required), output_path (required).

export_reconciliationD

Inputs: format, statement_id, output_path.

export_transactionsD

Inputs: format (required), output_path, filters.

get_bank_statementD

Inputs: statement_id (required).

get_bank_transactionD

Inputs: bank_transaction_id (required).

get_batch_scan_resultsD

Inputs: job_id (required).

get_batch_scan_statusD

Inputs: job_id (required).

get_categoriesA

List all categories: default (17 built-in) and custom user-added ones.

Inputs: no named parameters.

get_configD

Inputs: no named parameters.

get_reconciliation_recommendationsD

Inputs: bank_transaction_id (required), limit.

get_reconciliation_summaryD

Inputs: statement_id.

get_scanD

Inputs: scan_id (required).

get_summaryD

Inputs: period, start_date, end_date, project_id, +1 more.

get_transactionD

Inputs: transaction_id (required).

get_usageD

Inputs: period, breakdown.

get_vendorsA

List all custom vendors for the authenticated user.

Inputs: no named parameters.

import_transactionsA

Import multiple transactions at once.

Provide exactly one data source: transactions (list), csv_text, or csv_file_path.

Args: transactions: List of transaction objects to import. csv_text: Raw CSV string content. csv_file_path: Local path to a CSV file. all_or_nothing: If True, fails the entire import if any transaction fails. project_id: Apply all transactions to this project UUID.

Inputs: transactions, csv_text, csv_file_path, all_or_nothing, +1 more.

list_bank_statementsD

Inputs: account_name, status, start_date, end_date, +3 more.

list_bank_transactionsD

Inputs: statement_id, start_date, end_date, amount_min, +5 more.

list_memoryD

Inputs: no named parameters. Returns: result

list_projectsD

Inputs: status, limit, offset, format.

list_rulesD

Inputs: limit, offset.

list_transactionsD

Inputs: start_date, end_date, transaction_type, category, +13 more.

list_webhooksD

Inputs: no named parameters.

process_receiptD

Inputs: file_path (required), rename, category_hint, dry_run.

process_receipts_batchD

Inputs: input_dir (required), rename, dry_run, recursive.

run_auto_matchD

Inputs: statement_id, strategy, min_confidence, dry_run.

scan_receiptA

Scan a receipt using the Recite API to extract financial data.

Provide exactly one input: file_path, image_url, image_base64, or raw_text.

Args: file_path: Local path to an image. image_url: Publicly accessible URL (must use https). image_base64: Base64-encoded image data. raw_text: Pre-extracted text. auto_save: Auto-create a transaction if successful. Requires project_id. save_threshold: Confidence threshold for auto-saving. project_id: Project UUID. Required if auto_save is True. status: Target status of the transaction. image_type: MIME type hint for the image. idempotency_key: Key to prevent duplicate processing. metadata: Custom key-value data. ephemeral: Process without saving scan records server-side. Cannot be True if auto_save is True.

Inputs: file_path, image_url, image_base64, raw_text, +8 more.

submit_batch_scansA

Submit multiple receipts for asynchronous batch processing.

Args: items: List of 1-20 task items. Each must provide exactly one of file_path, image_url, or image_base64. auto_save: Auto-create transactions for successful scans. save_threshold: Confidence threshold for auto-saving. project_id: Apply all auto-saved transactions to this project UUID. webhook_url: URL to call when batch completes. webhook_secret: HMAC-SHA256 signature secret for the webhook.

Inputs: items (required), auto_save, save_threshold, project_id, +2 more.

summarize_ledgerD

Inputs: group_by.

update_bank_transactionD

Inputs: bank_transaction_id (required), changes (required).

update_memoryD

Inputs: instruction (required), tags.

update_projectD

Inputs: project_id (required), name, description, status.

update_ruleA

Partially update a rule. The rule_type cannot be changed.

Args: rule_id: UUID of the rule to update. changes: Fields to update. All are optional: active (bool), priority (int), condition (object, simple rules), action (object, simple rules), conditions (array, transaction_rule), actions (array, transaction_rule), condition_operator ("AND" or "OR", transaction_rule).

Inputs: rule_id (required), changes (required).

update_transactionD

Inputs: transaction_id (required), changes (required).

upload_bank_statementD

Inputs: csv_file_path, csv_text, account_name, statement_date, +2 more.

validate_setupD

Inputs: no named parameters.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    D1.7/5.0

    Scored across 57 tools

    Disambiguation2/5

    Many tools lack descriptions, forcing reliance on names alone. Overlapping operations like scan_receipt, process_receipt, submit_batch_scans, and get_batch_scan_results are difficult to differentiate, leading to potential misselection.

    Naming Consistency3/5

    Tool names mostly follow a verb_noun pattern, but there is inconsistency in verb choice (e.g., 'get' vs 'list' for different entities) and some names are compound (e.g., 'process_receipts_batch'). Overall readable but not perfectly uniform.

    Tool Count2/5

    With 57 tools, the server is overly broad, covering CRUD for many entities, scanning, batch processing, reconciliation, rules, webhooks, memory, and configuration. This bloat exceeds the typical well-scoped range and risks overwhelming agents.

    Completeness3/5

    Most entities have basic CRUD operations, but there are notable gaps like missing 'get_project' and 'get_vendor' (only list). The domain coverage is fairly extensive but not fully systematic, with some one-off tools like 'validate_setup'.

    Maintenance

    ActivityInactive
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      MCP server for agent ecosystem analytics. Provides real-time health snapshots including transaction velocity and dispute rates, predictive analysis with confidence scoring, and pattern detection across multi-agent networks.
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      MCP server providing deterministic accounting tools for AI agents, including bank statement parsing, document classification, money math, and webhook verification.
      2
      Apache 2.0
    • A
      license
      A
      quality
      B
      maintenance
      MCP server for Tersign, the evidence layer for agent commerce, enabling agents to issue, verify, and manage signed receipts, compliance records, refunds, and disputes on a counter-signed hash-chained ledger.
      9
      182 npm
      1
      Apache 2.0