Expense Tracker MCP Server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Expense Tracker MCP Serveradd expense $25.50 on 2024-01-15 for groceries"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Test Remote MCP Server - Expense Tracker
A FastMCP-based remote server for managing expenses with category support and detailed tracking.
Overview
This project provides a Model Context Protocol (MCP) implementation for an Expense Tracker service. It uses FastMCP to expose expense management tools that can be integrated with Claude Desktop or other MCP-compatible clients.
Features
Add Expenses: Log new expense entries with date, amount, category, and notes
Category Support: Organize expenses by category and subcategory
Database Persistence: SQLite database for reliable data storage
Async Operations: Built with async/await for efficient concurrent operations
Proxy Server: Includes a proxy server configuration for remote access
Project Structure
test-remote-mcp-server/
├── main.py # Main FastMCP server with expense tracking tools
├── proxy.py # Proxy configuration for remote server access
├── categories.json # Category definitions for expenses
├── pyproject.toml # Project configuration and dependencies
└── README.md # This fileInstallation
Prerequisites
Python 3.11 or higher
pip or Poetry package manager
Setup
Clone the repository:
git clone https://github.com/deepakbishnoi717/test-remote-mcp-server.git
cd test-remote-mcp-serverCreate a virtual environment:
python -m venv .venv
source .venv/bin/activate # On Windows: .venv\Scripts\activateInstall dependencies:
pip install -e .Or using Poetry:
poetry installUsage
Running the Local Server
Start the local FastMCP server:
python main.pyUsing the Proxy Server
To run the proxy server that connects to a remote FastMCP Cloud instance:
python proxy.pyAvailable Tools
add_expense
Add a new expense entry to the database.
Parameters:
date(string): Date of the expense (e.g., "2024-01-15")amount(float): Amount spentcategory(string): Main expense categorysubcategory(string, optional): Subcategory for the expensenote(string, optional): Additional notes about the expense
Example:
await add_expense("2024-01-15", 25.50, "Food", "Groceries", "Weekly shopping")Database
The project uses SQLite for data persistence. The database is automatically initialized on first run and includes:
Automatic table creation
WAL (Write-Ahead Logging) for better concurrency
Categories table mapping for expense organization
Database file location: System temporary directory (expenses.db)
Technology Stack
FastMCP: Model Context Protocol framework
aiosqlite: Asynchronous SQLite driver
Python 3.11+: Modern Python with async support
Configuration
Categories
Expense categories are defined in categories.json. Customize this file to add or modify expense categories for your use case.
Integration with Claude Desktop
To use this server with Claude Desktop:
Set up the server following the installation steps above
Configure Claude Desktop to connect to this MCP server
Use natural language queries to manage your expenses
License
This project is open source and available under the appropriate license.
Contributing
Contributions are welcome! Please feel free to submit a pull request or open an issue.
Support
For issues or questions, please open an issue on GitHub at: https://github.com/deepakbishnoi717/test-remote-mcp-server/issues
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/deepakbishnoi717/test-remote-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server