mprokopov_ledger-mcp-server
MCP Server for accessing and managing ledger files through Claude.
ledger-service MCP server
MCP Server for accessing and managing ledger files through Claude.
Components
Tools
The server implements three tools for ledger management:
-
list-accounts: Lists all accounts in the ledger
- Takes "year" as a required argument
- Returns formatted list of all available accounts
-
account-balance: Gets the balance for a specific account
- Takes "year" and "account" as required arguments
- Returns the current balance for the specified account
-
account-register: Shows the transaction register for an account
- Takes "year" and "account" as required arguments
- Returns detailed transaction history for the specified account
Installation
Prerequisites
- Python 3.13 or higher
uv
package manager- Node.js and npm (for debugging)
Install from PyPI
uv pip install ledger-service
Debugging
Using the inspector to debug the server:
npx @modelcontextprotocol/inspector \
uv \
--directory /path/to/ledger-service \
run \
ledger-service
Configure Claude Desktop
Add the server configuration to Claude Desktop's config file:
On MacOS: ~/Library/Application\ Support/Claude/claude_desktop_config.json
On Windows: %APPDATA%/Claude/claude_desktop_config.json
Development Configuration
"mcpServers": {
"ledger-service": {
"command": "uv",
"args": [
"--directory",
"/path/to/ledger-service",
"run",
"ledger-service"
]
}
}
Production Configuration
"mcpServers": {
"ledger-service": {
"command": "uvx",
"args": [
"ledger-service"
]
}
}
Development
Local Setup
- Clone the repository
- Create and activate a virtual environment
- Install dependencies:
The base path can be configured by modifying the LEDGER_BASE_PATH
constant in server.py
.
License
GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007
Related MCP Servers
View all finance servers →mcp-server
by financial-datasets
This is a Model Context Protocol (MCP) server that provides access to stock market data from Financial Datasets.
evm-mcp-server
by mcpdotdirect
A comprehensive Model Context Protocol (MCP) server that provides blockchain services across multiple EVM-compatible networks.
razorpay-mcp-server
by razorpay
The Razorpay MCP Server is a Model Context Protocol server that integrates with Razorpay APIs for advanced payment processing.
mcp-cn-a-stock
by elsejj
This is an MCP (Model Content Protocol) service providing A-share data for large models.
investor-agent
by ferdousbhai
The investor-agent is a Model Context Protocol server designed to provide comprehensive financial insights and analysis to Large Language Models.
mcp-trader
by wshobson
A Model Context Protocol (MCP) server designed for stock traders, offering a suite of tools for technical analysis and trading.
bsc-mcp
by TermiX-official
BNBChain MCP is a tool server designed for interacting with the Binance Smart Chain, enabling token transfers, smart contract interactions, and more, tailored for developers and AI agents.