Skip to main content
MI

Midaz

v0.1.0API Key

Lerian's open-source multi-currency double-entry ledger. Self-hosted: the connection stores your deployment endpoint and agents post entries via codespar_ledger.

3 tools0 env vars🌐 GLOBALstable on npm

What your agent can do

Midaz gives your agent 3 tools it calls directly β€” pick the ones it needs, in Claude, Cursor, or any MCP client.

Example call
// Your agent calls a tool directly β€” no glue code.
// CodeSpar's managed tier handles OAuth2, token rotation and rate limits.
const result = await session.call("list_resources", { /* ... */ });

Install

terminal
$ npm install @codespar/mcp-midaz

Quickstart

Add this entry to your claude_desktop_config.json (or any MCP-compatible client config).

claude_desktop_config.json
{
  "mcpServers": {
    "midaz": {
      "command": "npx",
      "args": [
        "-y",
        "@codespar/mcp-midaz"
      ],
      "env": {}
    }
  }
}

Available tools Β· 0

Each tool is independent β€” your agent loads only what it needs to reduce context and response time.

Tool list is being indexed. Check the source on GitHub in the meantime.

Compatible frameworks

MCP is a protocol β€” any framework that speaks it can mount this server.

Claude Agent SDKAnthropic
OpenAI AgentsOpenAI
Vercel AI SDKVercel
LangChainLangChain
LlamaIndexLlamaIndex
CrewAICrewAI
MastraMastra
Any MCP clientProtocol

Frequently asked questions

Run `npx -y @codespar/mcp-midaz` and add the config block above to your MCP client β€” Claude, Cursor, VS Code, or any MCP-compatible client. No build step, no SDK required. Prefer hosted? CodeSpar's managed tier runs it for you with auth handled.
Midaz β€” MCP server Β· 3 tools | CodeSpar