mcp-spendee
An unofficial MCP server for Spendee that lets you inspect wallets, categories, and transactions, and create income or expense transactions.
README
mcp-spendee
An unofficial Model Context Protocol (MCP) server for Spendee. It lets MCP clients inspect wallets, categories, and transactions, and create income or expense transactions.
[!WARNING] Spendee does not publish a supported public API. This server uses a fork of the archived third-party
spendeepackage and may stop working when Spendee changes its private API. Test it with a non-critical wallet first.
Tools
spendee_status— check local configuration without logging in or exposing secrets.list_wallets— list wallet IDs, names, balances, and currencies.list_labels— list modern Spendee labels stored in Firestore.list_categories— list and optionally filter categories.list_transactions— list and optionally filter transactions.create_transaction— preview or create an expense/income transaction, optionally with existing modern labels.
Creating a transaction is deliberately two-step. Call create_transaction once
with confirm=false to inspect the normalized payload, then repeat it with
confirm=true and a unique request_id. Reusing a request ID in the same
server process returns the cached result instead of creating a duplicate.
The forked spendee library owns both the legacy transaction call and modern
Firestore label write. If label attachment fails after transaction creation, a
retry with the same request_id retries only the labels and does not create the
transaction twice.
Installation
Install uv, clone the repository, then run:
uv sync
Set credentials in the MCP client environment. Do not commit a .env file:
SPENDEE_EMAIL=you@example.com
SPENDEE_PASSWORD=your-password
SPENDEE_TIMEZONE=Europe/Moscow
SPENDEE_GLOBAL_CURRENCY=EUR
SPENDEE_TIMEZONE and SPENDEE_GLOBAL_CURRENCY are optional. They default to
Europe/Moscow and EUR.
MCP client configuration
Use the absolute path to the cloned checkout:
{
"mcpServers": {
"spendee": {
"command": "uv",
"args": [
"--directory",
"/absolute/path/to/mcp-spendee",
"run",
"mcp-spendee"
],
"env": {
"SPENDEE_EMAIL": "you@example.com",
"SPENDEE_PASSWORD": "your-password",
"SPENDEE_TIMEZONE": "Europe/Moscow",
"SPENDEE_GLOBAL_CURRENCY": "EUR"
}
}
}
}
The server uses MCP over stdio. Logs and errors never write to the protocol's stdout stream.
Development
make install
make lint
make test
Security
- Credentials are read only from environment variables.
- Status output never includes credentials.
- Transaction amounts must be positive;
transaction_typedetermines the sign. - Writes require both
confirm=trueand a non-emptyrequest_id. - The in-memory request cache prevents retries from duplicating a transaction only while the same server process remains running.
License
MIT
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.