Expense Tracker MCP Server
Expense Tracker MCP Server
FastMCP(v3.x)와 Python으로 구축된 Model Context Protocol(MCP) 서버로, 지출 추적을 위한 도구와 리소스를 MCP 호환 클라이언트(예: Claude Desktop, MCP Inspector)에 제공합니다.
📋 전제 사항
Python: 3.10+ (Python 3.14에서 테스트됨)
uv: 빠른 Python 패키지 설치 프로그램 및 의존성 해석기 (astral.sh/uv)
Node.js:
v22.x또는v24.x(LTS) — MCP Inspector UI에 필요Claude Desktop (선택): Claude 내에서 직접 도구를 테스트하려면
Related MCP server: Demo MCP Server
🚀 셋업 및 설치
1. 프로젝트 및 환경 초기화
# Initialize uv project (if starting fresh)
uv init .
# Install FastMCP
uv add fastmcp2. MCP Inspector UI를 위한 Node.js 준비
MCP Inspector(@modelcontextprotocol/inspector)는 Node.js v22.19.0+ 또는 v24+가 필요합니다. nvm-windows를 사용하는 경우:
nvm install lts
nvm use 24inspector를 전역으로 설치하거나 npx가 이를 가져오도록 허용하세요:
npm install -g @modelcontextprotocol/inspector🛠️ 실행 및 개발
옵션 A: 인터랙티브 웹 UI (MCP Inspector)
핫 리로딩과 함께 MCP Inspector 웹 UI를 실행하려면:
uv run fastmcp dev inspector main.py이 터미널 창을 열어 두세요.
콘솔에서 인증 토큰이 포함된 로컬 URL을 출력합니다:
MCP Inspector Web is up and running at: http://127.0.0.1:6274?MCP_INSPECTOR_API_TOKEN=<token>브라우저에서 해당 링크를 열어 도구를 테스트하고, 스키마를 확인하며 실시간 요청/응답 로그를 볼 수 있습니다.
옵션 B: 서버 직접 실행 (STDIO)
MCP 서버를 표준 I/O 모드로 실행하려면:
uv run fastmcp run main.py(또는 uv run python main.py)
🤖 Claude Desktop에 연결
1. 설정 파일 위치
Windows에서 Claude Desktop의 설정 파일은 다음 위치에 저장됩니다:
%APPDATA%\Claude\claude_desktop_config.json(전체 경로: C:\Users\<YourUsername>\AppData\Roaming\Claude\claude_desktop_config.json)
2. 설정 구성
mcpServers 아래에 expense-server 정의를 추가하세요.
참고: Windows에서는 Claude Desktop과 같은 GUI 앱이쉘
PATH를 상속하지 못하는 경우가 많습니다. 항상uv.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. Claude Desktop 다시 시작
Claude Desktop을 완전히 종료하세요(시계가 있는 Windows 트레이에서 종료되었는지 확인).
Claude Desktop을 다시 엽니다.
Settings > Developer에서
expense-server가 연결되었는지 확인하세요.
🧰 사용 가능한 도구 (현재 main.py)
Tool | Parameters | Description |
|
|
|
|
| 두 수를 더하고 합을 반환합니다. |
🔧 문제 해결
1. Unknown command "main"..."
FastMCP 3.x에서 fastmcp dev는 명령 그룹입니다. fastmcp dev main.py 대신 fastmcp dev inspector main.py를 사용하세요.
2. node:util does not provide an export named 'styleText'
Node.js가 v20.12보다 이전 버전입니다. nvm install lts && nvm use 24를 통해 Node v22+ 또는 v24+로 업데이트하세요.
3. Cannot find self node optional dependencies bug`
Node 버전 전환으로 손상된 npx 캐시입니다. 실행:
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