Get the FREE Ultimate OpenClaw Setup Guide →

ledger-mate -for-typescript

小记 MCP Server for TypeScript

Installation
Run this command in your terminal to add the MCP server to Claude Code.
Run in terminal:
Command
claude mcp add --transport stdio big-mouth-cn-ledger-mate-mcp-server-for-typescript npx -y @big_mouth_cn/ledger-mate-mcp-server \
  --env LEDGER_MATE_ACCESS_KEY="<YOUR_ACCESS_KEY>"

How to use

ledger-mate is an MCP server that enables natural language accounting interactions via MCP clients. It processes natural language input to automatically parse amounts, categories, and payment methods, then records transactions to your ledger. The server supports various input modalities through MCP clients (text, voice, or images) and can be extended to use different interfaces; in practice, you typically run the server with a client that calls its tools as needed. To get started, configure the MCP client to point at this server (via MCP configuration) and provide an access key that authenticates your requests. Once connected, you can tell the agent to log expenses, check balances, or query monthly spend by category, and the server will orchestrate the appropriate actions and return results to the client.

Available capabilities include: natural language expense entry (e.g., "早餐25元,支付宝付款"), automatic parsing and categorization, multi-method payment support, and a path to image/voice/file-based input through MCP clients that support media translation. It also highlights a basic toolset exposed to clients for querying summaries or recent transactions, enabling a conversational workflow for personal finance management across supported applications.

How to install

Prerequisites:

  • Node.js installed on your machine (check with node --version)
  • a supported MCP client that can invoke Node-based tools

Installation steps:

  1. Ensure you have Node.js and npm installed. Verify: node --version npm --version

  2. Install and run the MCP server via npx (no global install required): npx -y @big_mouth_cn/ledger-mate-mcp-server

    Note: If you prefer to pin a specific version, replace the package spec with @big_mouth_cn/ledger-mate-mcp-server@<version>.

  3. (Optional) Persist configuration in your MCP client config. A typical configuration entry looks like: { "mcpServers": { "ledger-mate-mcp-server": { "command": "npx", "args": ["-y", "@big_mouth_cn/ledger-mate-mcp-server"], "env": { "LEDGER_MATE_ACCESS_KEY": "<YOUR_ACCESS_KEY>" } } } }

  4. Replace <YOUR_ACCESS_KEY> with the access key you obtain from the setup process and restart the MCP client to apply changes.

Additional notes

Tips and notes:

  • The server requires an access key (LEDGER_MATE_ACCESS_KEY) to authorize MCP client connections. Keep this secure.
  • The MCP client must support Node-based tool invocation to run the server via npx. If you switch to a different runtime, ensure compatibility (Python/uvx or others may be supported in future releases).
  • If you encounter issues with Node installation, verify PATH configurations and re-open your terminal/session.
  • This MCP server focuses on personal ledger interactions and may rely on the connected client to handle UI and media translation. Ensure your client is configured to send the appropriate input types (text, images, voice) as supported.
  • When upgrading, re-check the package name and version in case the publisher changes the entry point or required environment variables.

Related MCP Servers

Sponsor this space

Reach thousands of developers