expense-tracker-remote-mcp-server
A remote MCP server for expense tracking, providing tools to add, list, update, delete expenses, and generate summaries, budget status, and monthly trends.
README
Expense Tracker Remote MCP Server
A remote MCP server for expense tracking with async support, built with FastMCP.
Features
- 8 Async Tools for managing expenses
- 2 Resources for quick data access
- SQLite Database for persistent storage
- HTTP Transport for remote access
Tools
| Tool | Description |
|---|---|
add_expense |
Add a new expense (amount, category, date, description, subcategory) |
list_expenses |
List expenses with filters (category, date range) |
get_summary |
Get spending summary grouped by category |
delete_expense |
Delete an expense by ID |
update_expense |
Update existing expense details |
get_budget_status |
Check budget vs actual spending |
get_monthly_trend |
Monthly spending trends over time |
search_expenses |
Search expenses by description keyword |
Resources
| Resource | Description |
|---|---|
expenses://current |
Current month's expenses |
expenses://summary |
Overall spending summary |
Installation
# Install dependencies
uv sync
# or
pip install -e .
Running
# Run with stdio transport (for local development)
uv run python main.py
# Run with HTTP transport (for remote access)
uv run python main.py http
Environment Variables
| Variable | Default | Description |
|---|---|---|
DB_PATH |
expenses.db |
Path to SQLite database |
DEFAULT_BUDGET |
1000.0 |
Default monthly budget |
Deployment
This server is designed to be deployed to Prefect Horizon.
Steps to Deploy:
- Push this code to a GitHub repository
- Login to horizon.prefect.io with GitHub
- Connect your repository
- Configure:
- Server name:
expense-tracker - Entrypoint:
main.py:mcp
- Server name:
- Deploy!
Your server will be available at: https://your-server-name.fastmcp.app/mcp
Usage with Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"expense-tracker": {
"url": "https://your-server.fastmcp.app/mcp"
}
}
}
Development
# Run in development mode with auto-reload
uv run fastmcp dev main.py:mcp
# Inspect server
uv run fastmcp inspect main.py:mcp
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.