test-remote-mcp-server
Health Uyari
- No license — Repository has no license file
- Description — Repository has a description
- Active repo — Last push 0 days ago
- Low visibility — Only 5 GitHub stars
Code Gecti
- Code scan — Scanned 3 files during light audit, no dangerous patterns found
Permissions Gecti
- Permissions — No dangerous permissions requested
Bu listing icin henuz AI raporu yok.
A test mcp server , you can connect this mcp to claude-desktop using this link below:
Expense Tracker MCP Server
A lightweight MCP server for tracking personal expenses, built with FastMCP, Python 3.13, and SQLite (aiosqlite at runtime).
Features
- Add expense entries with date, amount, category, optional subcategory, and note
- List expenses within a date range
- Summarize expenses by category for a date range
- Expose category data through an MCP resource
- Use async SQLite operations for runtime DB access
Tech Stack
- Python 3.13
- FastMCP
aiosqliteuvfor dependency and environment management
Project Structure
main.py– MCP server, tools, resource, and startup logiccategories.json– category/subcategory data source for the categories resourcepyproject.toml– project metadata and dependencies
Setup
Install dependencies:
uv syncRun the server:
uv run python main.py
The server starts on HTTP transport at 0.0.0.0:8000.
MCP Tools
add_expense(date, amount, category, subcategory="", note="")
Inserts a new expense row into the expenses table.
Returns:
- Success:
{"status": "success", "id": <expense_id>, "message": "..."} - Error:
{"status": "error", "message": "..."}
list_expenses(start_date, end_date)
Returns all expenses where date is between the provided start and end dates (inclusive), ordered by latest first.
summarize(start_date, end_date, category=None)
Returns grouped totals and counts by category for the selected date range.
If category is provided, summary is filtered to that category.
MCP Resource
expense:///categories (application/json)
Returns category data from categories.json.
If the file is missing, a default category list is returned.
Database
- DB file path: system temp directory (
expenses.db) - Journal mode: WAL
- Table schema:
id(INTEGER PRIMARY KEY AUTOINCREMENT)date(TEXT, required)amount(REAL, required)category(TEXT, required)subcategory(TEXT, optional)note(TEXT, optional)
Notes
- Database initialization happens when
main.pyis loaded. - Runtime DB operations use
aiosqlitewith async/await patterns.
Streak Update: 2026-07-03
Yorumlar (0)
Yorum birakmak icin giris yap.
Yorum birakSonuc bulunamadi