Skip to main content

Local MCP server for Recite receipt processing

Project description

recite-mcp

recite-mcp is a local MCP server for receipt processing with the Recite API. It provides tools for single/batch receipt processing, ledger writes, corrections, memory instructions, and health/status resources.

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

Required Environment

Set API key:

# 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: setup validation fails 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.

Main Features

  • Single receipt processing and optional file rename
  • Batch processing with dry-run preview
  • Local CSV ledger append and audit-safe correction entries
  • Memory instruction store for categorization rules
  • Resource providers for ledger, memory, and health status

Release and Distribution

For post-publish checklist, discoverability, and install guidance for end users:

  • docs/publishing_guide.md

Documentation

  • User guide: docs/user_guide.md
  • Publishing and adoption guide: docs/publishing_guide.md

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

recite_mcp-0.1.3.tar.gz (13.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

recite_mcp-0.1.3-py3-none-any.whl (11.6 kB view details)

Uploaded Python 3

File details

Details for the file recite_mcp-0.1.3.tar.gz.

File metadata

  • Download URL: recite_mcp-0.1.3.tar.gz
  • Upload date:
  • Size: 13.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.6

File hashes

Hashes for recite_mcp-0.1.3.tar.gz
Algorithm Hash digest
SHA256 64c00eaadac99fde592ddac8198d6bbe430a54443b760cba7ba780ddb0940f09
MD5 d5af8795e1b4db3a4985352103af95be
BLAKE2b-256 6f807da874bb79360880386cb066e6370a5088deff301efabe03c5ef4b4bb39f

See more details on using hashes here.

File details

Details for the file recite_mcp-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: recite_mcp-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 11.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.6

File hashes

Hashes for recite_mcp-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 93d355a3748cdcec4f89702c8b6c1800eb72b1a14ecd251976bc515be941a012
MD5 aeeb861c90ac2fc650e878f8909c533e
BLAKE2b-256 0ce44a3745942bf2dea025c9cd815b2d583e90626c7d17c0c38c9fde21b114f1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page