Expenses 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., "@Expenses Tracker MCP Serveradd a $50 expense 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.
Expenses Tracker (MCP Server)
This repository contains the backend for the Expenses Tracker application (MCP server). The README below provides step-by-step instructions for setting up the development environment, running the server, and troubleshooting common issues (including an MCP inspector port conflict which may cause "Dev server failed").
Table of Contents
Project overview
Prerequisites
Installation
Running the development server
Running the MCP inspector
Troubleshooting
"MCP Inspector PORT IS IN USE" / Dev server failed
Other common errors
Contributing
Related MCP server: Expense Tracker MCP Server
Project overview
A short backend server for the Expenses Tracker app. It provides APIs for recording, retrieving, and reporting expenses used by the client application.
Prerequisites
Windows (instructions assume PowerShell)
Python 3.9+ (use the version required by this project)
A virtual environment tool (venv is recommended)
Node.js + npm (required by the MCP inspector launcher used by development tooling)
Git (to clone and manage repository)
Installation (development)
Clone the repository:
git clone cd Expenses_tracker_mcpserver
Create and activate a Python virtual environment:
python -m venv .venv ..venv\Scripts\Activate.ps1 # PowerShell
Install project dependencies (using uv):
uv install
(Optional) If the project uses additional frontend or inspector tooling, ensure Node.js packages are available. Typically the inspector launcher is run via npx and does not require a global install.
Running the development server
Start the development server and inspector using the project's dev command. An example (used in this project) is:
uv run fastmcp dev inspector main.py
Note: replace the command above with the project's documented dev command if different. This command will start the MCP server and also launch the inspector (a small Node-based process) that listens on a local port (commonly 6274).
Running the MCP inspector (notes)
The inspector launcher is a Node-based helper that starts alongside the Python dev server. It typically opens a local HTTP endpoint (for example http://localhost:6274) for developer use.
If the inspector fails to start because the port is already in use, the dev server may report:
MCP Inspector PORT IS IN USE at http://localhost:6274 [timestamp] ERROR Dev server failed
Follow the troubleshooting steps below to resolve this.
Troubleshooting
"MCP Inspector PORT IS IN USE" / Dev server failed
Step-by-step resolution (PowerShell):
Check which process is listening on the inspector port (replace 6274 with the port shown in your log if different):
Get-NetTCPConnection -LocalPort 6274 -State Listen | Select-Object LocalAddress,LocalPort,OwningProcess,State
If you prefer more readable process info include:
$c = Get-NetTCPConnection -LocalPort 6274 -State Listen -ErrorAction SilentlyContinue if ($c) { Get-Process -Id $c.OwningProcess }
Example output will show a PID and process name (for example
node).Inspect the full command line for that process (helps confirm it's the inspector launcher):
Get-CimInstance Win32_Process -Filter "ProcessId=" | Select-Object ProcessId,CommandLine
Replace with the OwningProcess value from step 1.
If the process is a leftover inspector/dev tool and safe to stop, stop it by PID (preferred to avoid killing unrelated processes by name):
Stop-Process -Id
Example:
Stop-Process -Id 14536
Notes:
Stop-Process requires appropriate permissions. If it fails, run PowerShell as Administrator.
The project-specific logs/command line from step 2 should help confirm it is safe to stop.
Restart the dev command after freeing the port:
uv run fastmcp dev inspector main.py
Alternative options if you cannot stop the process:
Reboot the machine to clear leftover processes.
Run the inspector on a different port (if the tooling supports an option or environment variable to change the inspector port). Consult the inspector/fastmcp docs for a
--portor similar flag.
Why this happens:
The Node-based inspector may have been launched previously and not shut down cleanly. The port remains bound and the next attempt to start the inspector fails, which may cause the dev server to abort.
Other common errors
"ModuleNotFoundError" or missing dependencies: ensure the virtual environment is activated and
pip install -r requirements.txthas completed successfully.Syntax or runtime errors when starting the server: examine the full traceback printed to the console and fix the first error in the stack — subsequent errors are often caused by the first one.
Permission errors when binding to ports <1024: avoid using privileged ports for development.
Contributing
Create feature branches from
mainordevper project conventions.Run existing tests (if any) before opening PRs.
Keep changes small and well-documented.
Happy hacking!
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityDmaintenancePersonal expense tracker MCP server that enables tracking expenses, income, budgets, and savings goals through natural language.10MIT
- FlicenseAqualityDmaintenanceA Model Context Protocol (MCP) server for tracking personal expenses. This server provides tools to add, list, and summarize expenses, utilizing a local SQLite database for storage.3
- Flicense-qualityCmaintenanceMCP server for tracking expenses with local SQLite storage. Provides tools to add, list, and summarize expenses by category.
- Flicense-qualityCmaintenanceA lightweight local MCP server for tracking personal or small-team expenses. It lets you add expense entries, list transactions within a date range, and generate simple summaries by category — all backed by a local SQLite database.
Related MCP Connectors
Hosted MCP server for Mini Accountant: invoices, expenses, customers, analytics, tax estimates.
The official MCP Server from Mia-Platform to interact with Mia-Platform Console
MCP server for URL shortening and management
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/Neha-Pandey12/expenses_tracker_remote_mcp_server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server