Overview
The ledger-service MCP server is a tool designed for accessing and managing ledger files through Claude, providing a structured way to interact with financial data.
To use the ledger-service MCP server, install it via PyPI, configure it in Claude Desktop, and utilize its tools to manage ledger accounts and transactions.
- list-accounts: Lists all accounts in the ledger for a specified year. - account-balance: Retrieves the balance for a specific account based on the year and account name. - account-register: Displays the transaction history for a specified account and year.
- Managing personal finance by tracking account balances.
- Analyzing transaction history for budgeting purposes.
- Integrating with other applications for automated ledger management.
Add to your AI client
Use these steps to connect ledger-service MCP server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"ledger-mcp-server-mprokopov": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-ledger-mcp-server-mprokopov"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"ledger-mcp-server-mprokopov": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-ledger-mcp-server-mprokopov"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"ledger-mcp-server-mprokopov": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-ledger-mcp-server-mprokopov"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"ledger-mcp-server-mprokopov": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-ledger-mcp-server-mprokopov"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"ledger-mcp-server-mprokopov": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-ledger-mcp-server-mprokopov"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"ledger-mcp-server-mprokopov": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-ledger-mcp-server-mprokopov"
]
}
}
}FAQ
What are the prerequisites for using the ledger-service MCP server?
You need Python 3.13 or higher, the `uv` package manager, and Node.js with npm for debugging.
How do I install the ledger-service MCP server?
You can install it using the command: `uv pip install ledger-service`.
Can I debug the server?
Yes, you can use the inspector tool for debugging the server.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":2039,"uuid":"c70ca643-8352-443b-bad4-cc7323aa9690","name":"ledger-mcp-server","title":"ledger-service MCP server","description":"MCP Server for my ledger","avatar_url":"https://avatars.githubusercontent.com/u/549392?v=4","created_at":"2025-03-05T08:02:01.700Z","updated_at":"2025-03-12T10:18:23.837Z","status":"created","author_name":"mprokopov","author_avatar_url":"https://avatars.githubusercontent.com/u/549392?v=4","tags":"ledger-mcp,ledger-service,mcp-server","category":"developer-tools","is_featured":false,"sort":1,"url":"https://github.com/mprokopov/ledger-mcp-server","target":"_self","content":"$29","summary":"$2a","img_url":"https://github.com/mprokopov/ledger-mcp-server/raw/main/mcp-server-debug.png","type":null,"metadata":"{\"star\":\"1\",\"license\":\"GPL-3.0 license\",\"language\":\"Python\",\"is_official\":false,\"latest_commit_time\":\"2025-02-23 12:07:21\"}","user_uuid":null,"tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]