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 ServerRoll 3 dice and add the results together."
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.
Expense Tracker MCP Server
A Model Context Protocol (MCP) server built with FastMCP (v3.x) and Python, designed to provide tools and resources for expense tracking to MCP-compliant clients like Claude Desktop and the MCP Inspector.
📋 Prerequisites
Python: 3.10+ (tested with Python 3.14)
uv: Fast Python package installer and resolver (astral.sh/uv)
Node.js:
v22.xorv24.x(LTS) — Required for MCP Inspector UIClaude Desktop (optional): For testing tools directly within Claude
Related MCP server: Demo MCP Server
🚀 Setup & Installation
1. Initialize Project & Environment
# Initialize uv project (if starting fresh)
uv init .
# Install FastMCP
uv add fastmcp2. Prepare Node.js for MCP Inspector UI
The MCP Inspector (@modelcontextprotocol/inspector) requires Node.js v22.19.0+ or v24+. If using nvm-windows:
nvm install lts
nvm use 24Install the inspector globally or allow npx to fetch it:
npm install -g @modelcontextprotocol/inspector🛠️ Running & Development
Option A: Interactive Web UI (MCP Inspector)
To launch the MCP Inspector web UI with hot reloading:
uv run fastmcp dev inspector main.pyKeep this terminal window open.
The console will output a local URL with an authentication token:
MCP Inspector Web is up and running at: http://127.0.0.1:6274?MCP_INSPECTOR_API_TOKEN=<token>Open that link in your browser to test tools, inspect schemas, and view real-time request/response logs.
Option B: Run Server Directly (STDIO)
To run the MCP server in standard I/O mode:
uv run fastmcp run main.py(or uv run python main.py)
🤖 Connecting to Claude Desktop
1. Configuration File Location
On Windows, Claude Desktop's configuration is stored at:
%APPDATA%\Claude\claude_desktop_config.json(Full path: C:\Users\<YourUsername>\AppData\Roaming\Claude\claude_desktop_config.json)
2. Configuration Settings
Add the expense-server definition under mcpServers.
Note: On Windows, GUI applications like Claude Desktop often do not inherit the shell
PATH. Always specify the absolute path touv.exe.
{
"mcpServers": {
"expense-server": {
"command": "C:\\Users\\hp\\AppData\\Local\\Python\\pythoncore-3.14-64\\Scripts\\uv.exe",
"args": [
"run",
"--directory",
"g:\\Projects\\expense-tracker-mcp-server",
"fastmcp",
"run",
"main.py"
]
}
}
}3. Restart Claude Desktop
Completely close Claude Desktop (ensure it is quit from the Windows system tray near the clock).
Reopen Claude Desktop.
Check Settings > Developer to verify
expense-serveris connected.
🧰 Available Tools (Current main.py)
Tool | Parameters | Description |
|
| Rolls |
|
| Adds two numbers together and returns the sum. |
🔧 Troubleshooting
1. Unknown command "main.py". Available commands: inspector, apps.
In FastMCP 3.x, fastmcp dev is a command group. Use fastmcp dev inspector main.py instead of fastmcp dev main.py.
2. node:util does not provide an export named 'styleText'
Node.js is older than v20.12. Update to Node v22+ or v24+ via nvm install lts && nvm use 24.
3. Cannot find native binding (npm optional dependencies bug)
Corrupted npx cache from switching Node versions. Run:
npm cache clean --force
Remove-Item -Recurse -Force "$env:LOCALAPPDATA\npm-cache\_npx" -ErrorAction SilentlyContinue
npm install -g @modelcontextprotocol/inspectorMaintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Tools
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceA basic educational MCP server that provides simple tools for mathematical calculations, text manipulation, and time retrieval. Designed for learning MCP implementation patterns and development purposes.
- FlicenseBqualityDmaintenanceA simple demonstration MCP server that provides basic utility tools including dice rolling and number addition functionality. This server serves as a tutorial example for setting up both local and remote MCP servers using FastMCP.3
- AlicenseAqualityDmaintenanceProvides comprehensive TRPG dice rolling functionality including standard notation, advantage/disadvantage mechanics, and success-counting dice pools. It enables users to perform complex dice logic and track roll history through an MCP-compliant interface.2MIT
- FlicenseNot gradedqualityCmaintenanceProvides tools for calculating math expressions and querying weather, demonstrating how to build an MCP server using FastMCP or raw SDK.
Related MCP Connectors
This MCP server enables users to perform scientific computations regarding linear algebra and vect…
Educational MCP server with 17 math/stats tools, visualizations, and persistent workspace
Markdown-first MCP server for Notion API with 8 composite tools and 39 actions.
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/yash-201/expense-tracker-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server