Remote MCP Server - Expense Tracker
๐งพ Remote MCP Server โ Expense Tracker
A Remote MCP Server built with FastMCP that lets you track expenses directly through Claude AI โ from any device, anywhere in the world. Just connect and use!
๐ Live Server URL:
https://remote-mcp-server-expense-tracker-k4gb.onrender.com/mcp
โก How to Connect (Any Device, Anyone)
This server uses Google OAuth โ so you just need a Gmail account. No JSON files, no API keys, no technical setup!
๐ฑ Option 1: Claude Mobile App (iPhone / Android)
Open Claude App on your phone
Go to Settings โ Connectors (or tap the plug ๐ icon)
Tap "Add Custom Connector" or "+"
Paste this URL:
https://remote-mcp-server-expense-tracker-k4gb.onrender.com/mcpA "Sign in with Google" popup will appear
Select your Gmail account โ Tap Allow
Done! โ Now just ask Claude anything about expenses!
๐ป Option 2: Claude Web App (Browser โ claude.ai)
Go to claude.ai in your browser
Click the plug icon ๐ or go to Settings โ Integrations
Click "Add Integration" or "Connect MCP Server"
Paste this URL:
https://remote-mcp-server-expense-tracker-k4gb.onrender.com/mcpA "Sign in with Google" popup will appear
Select your Gmail โ Click Allow
Done! โ
๐ฅ๏ธ Option 3: Claude Desktop App (Windows / Mac)
Close Claude Desktop App completely (including from system tray)
Open this file in Notepad / VS Code:
Windows:
C:\Users\<YourName>\AppData\Roaming\Claude\claude_desktop_config.jsonMac:
~/Library/Application Support/Claude/claude_desktop_config.json
Paste this config:
{ "mcpServers": { "expense-tracker": { "command": "npx", "args": [ "-y", "mcp-remote", "https://remote-mcp-server-expense-tracker-k4gb.onrender.com/mcp" ] } } }Save the file โ Reopen Claude Desktop
A Google login popup will appear in your browser
Sign in โ Done! โ
Note:
npxrequires Node.js to be installed. If you have Python/uv installed, replace"command": "npx"with"command": "uvx"and"args": ["-y", "mcp-remote", "URL"]with"args": ["fastmcp", "run", "URL"].
๐ฌ How to Use (Ask Claude Anything!)
Once connected, just chat naturally with Claude:
What you want | What to say |
Add expense | "Add โน500 for groceries on 27 July" |
View all expenses | "Show me all my expenses" |
Edit an expense | "Edit expense ID 3, change amount to โน200" |
Delete an expense | "Delete expense ID 5" |
๐ ๏ธ Tools Available
Tool | Description |
| Add a new expense (amount, category, date, description) |
| View all your recorded expenses |
| Update an existing expense by ID |
| Remove an expense by ID |
โ ๏ธ Important Notes
First connection may take 30-60 seconds โ Render's free tier "sleeps" after inactivity. After the first request wakes it up, everything is fast!
After reconnecting Google OAuth, you don't need to reconnect โ Even if the server redeploys, your Google token stays saved in Claude. Just keep using it!
Data resets on server restart โ Expenses are stored in
/tmp/Expense.dbon the cloud server. This is demo/learning storage. For permanent data, a cloud database (PostgreSQL/Supabase) would be needed.Google account required โ Any Gmail account works. No GitHub, no API keys, no technical knowledge needed!
๐ Deploy Your Own Copy (Optional)
Want to host your own instance? Fork this repo and follow these steps.
Step 1 โ Google Cloud Console (Free OAuth App)
Go to console.cloud.google.com
Create a new project โ APIs & Services โ Credentials
Click "Create Credentials" โ "OAuth 2.0 Client ID"
Application type: Web Application
Add Authorized redirect URI:
https://YOUR-RENDER-URL.onrender.com/auth/callbackCopy your Client ID and Client Secret
Step 2 โ Deploy to Render.com (Free)
Go to render.com โ New โ Web Service
Connect your GitHub forked repo
Settings:
Language: Python 3
Build Command:
pip install uv && uv syncStart Command:
uv run python main.py
Add Environment Variables:
Key
Value
GOOGLE_CLIENT_IDFrom Google Console
GOOGLE_CLIENT_SECRETFrom Google Console
SERVER_BASE_URLhttps://YOUR-RENDER-URL.onrender.comClick Deploy!
๐ Project Structure
โโโ main.py # MCP server โ async tools + Google OAuth + detailed comments
โโโ pyproject.toml # Dependencies (fastmcp, aiosqlite)
โโโ uv.lock # Locked dependency versions
โโโ render.yaml # Render.com deployment blueprint
โโโ .python-version # Python 3.12
โโโ .gitignore # Excludes .venv, .db, .env files