
Midaz MCP Server
by codespario.github.codespar/mcp-midazv0.1.0
MCP server for Midaz by Lerian — self-hosted double-entry ledger: accounts, balances, transactions
context tax
queued
security
queued
cold start
queued
freshness
Active13d ago
Install Midaz MCP server
Install in Claude Code
claude mcp add midaz -e MIDAZ_BASE_URL='<midaz-base-url>' -e MIDAZ_API_KEY='<midaz-api-key>' -- npx -y @codespar/mcp-midazInstall in Cursor
{
"mcpServers": {
"midaz": {
"command": "npx",
"args": [
"-y",
"@codespar/mcp-midaz"
],
"env": {
"MIDAZ_BASE_URL": "<midaz-base-url>",
"MIDAZ_API_KEY": "<midaz-api-key>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"midaz": {
"command": "npx",
"args": [
"-y",
"@codespar/mcp-midaz"
],
"env": {
"MIDAZ_BASE_URL": "<midaz-base-url>",
"MIDAZ_API_KEY": "<midaz-api-key>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"midaz": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@codespar/mcp-midaz"
],
"env": {
"MIDAZ_BASE_URL": "<midaz-base-url>",
"MIDAZ_API_KEY": "<midaz-api-key>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"midaz": {
"command": "npx",
"args": [
"-y",
"@codespar/mcp-midaz"
],
"env": {
"MIDAZ_BASE_URL": "<midaz-base-url>",
"MIDAZ_API_KEY": "<midaz-api-key>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| MIDAZ_BASE_URL | yes | — | Base URL of your self-hosted Midaz onboarding service |
| MIDAZ_TRANSACTION_URL | — | — | Base URL of the Midaz transaction service. Defaults to MIDAZ_BASE_URL. |
| MIDAZ_API_KEY | — | yes | Bearer token when your deployment enforces auth |
Freshness
Active — last maintenance signal 13d ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-09-27 · 13d ago · GitHub
Latest release
no data · GitHub
Package published
no data · npm/PyPI
Registry entry updated
2026-07-04 · 3mo ago · official registry · v0.1.0
FAQ
›How do I install the Midaz MCP server in Claude Code?
Run: claude mcp add midaz -e MIDAZ_BASE_URL='<midaz-base-url>' -e MIDAZ_API_KEY='<midaz-api-key>' -- npx -y @codespar/mcp-midaz. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Midaz require an API key?
Yes. It expects MIDAZ_BASE_URL, MIDAZ_API_KEY, of which 1 is a secret.
›Can I use Midaz as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is Midaz in the official MCP registry?
Yes, as io.github.codespar/mcp-midaz.