Alegra MCP Server
MCP server for Alegra - cloud accounting platform for LATAM (Colombian-founded), supporting invoicing, contacts, inventory, and payments across CO, MX, AR, CL, and more. Its 20 documented tools cover invoice, contact, payment, void.
People connecting finance tools to Claude, Cursor, VS Code, or another MCP client. The project is written in JavaScript.
One of 127 MCP servers published from codespar/mcp-dev-latam. Stars and repository activity are shared across all of them. See all 127 →
VERIFIED ACTIVE
LAST COMMIT 2026-08-12 · VERIFIED 2026-08-25
MIT · JavaScript servers · how we verify → /methodology
01 · Install Alegra
before you install - you'll need
Set ALEGRA_EMAIL, ALEGRA_API_TOKEN before connecting.
Claude Code
claude mcp add codespar-mcp-dev-latam-packages-colombia -- npx -y @codespar/mcp-alegra Claude Desktop / Cursor / VS Code - add to config
{
"mcpServers": {
"codespar-mcp-dev-latam-packages-colombia": {
"command": "npx",
"args": [
"-y",
"@codespar/mcp-alegra"
]
}
}
} Same JSON for Cursor. For VS Code, rename the top-level key from `mcpServers` to `servers`.
Using another client? Same JSON, different key
Claude Desktop · mcpServers
Cursor · mcpServers
VS Code · servers
Windsurf · mcpServers
Zed · context_servers
Cline · mcpServers
Roo Code · mcpServers
Continue · mcpServers
LibreChat · mcpServers
Gemini CLI · mcpServers
Codex CLI · mcp_servers
Full setup guides: every client.
02 · Evidence
Security posture
What to check before giving this server access to your agent - from the registry, GitHub, and our own probes. We don't score safety; we show what's verifiable.
runs as local process (stdio) - runs on your machine with your user's permissions
license MIT - declared in the repository
npm package @codespar/mcp-alegra - published under the repo owner's npm scope (@codespar)
registry namespace io.github.codespar is GitHub-verified and matches the repo owner
03 · What Alegra can do
Prose above is summarized from the project's README and registry record - no invented capabilities.
What you can build
With this server connected, an agent can create an invoice, get invoice details by ID, list invoices, and get invoice PDF download URL.
Capability map
Tools grouped from the project's README - what Alegra lets an agent do.
read & search
7 tools - e.g. List invoices; List contacts; List products and services
list_invoices · list_contacts · list_items · list_payments · list_categories · list_bank_accounts…
Invoice
5 tools - e.g. Create an invoice; Get invoice details by ID; Void/cancel an invoice
create_invoice · get_invoice · void_invoice · get_invoice_pdf · send_invoice
Contact
3 tools - e.g. Create a contact (customer or supplier); Update an existing contact; Delete a contact
create_contact · update_contact · delete_contact
Item
2 tools - e.g. Create a product or service item; Update an existing item
create_item · update_item
Payment
2 tools - e.g. Get payment by ID; Record a payment
get_payment · create_payment
Void
1 tool - e.g. Void/annul a payment
void_payment
04 · Who maintains Alegra
mcp-alegra is maintained by codespar. We track 127 MCP servers from codespar - 127 actively maintained, 269 combined GitHub stars, oldest repo from Mar 2026. Full record: all servers from codespar.
- mcp-asaas MCP server for Asaas - billing automation, Pix, boleto, credit card, subscriptions ★ 269
- mcp-omie MCP server for Omie - ERP, customers, products, orders, invoices, financials ★ 269
- mcp-sendgrid MCP server for SendGrid - global transactional + marketing email (Twilio-owned) ★ 269
- mcp-evolution-api MCP server for Evolution API - WhatsApp messaging, instances, contacts ★ 269
- mcp-stripe-acp Stripe ACP - AI agent checkout, payment delegation, products, invoices ★ 269
- mcp-mercado-bitcoin MCP server for Mercado Bitcoin - Brazilian crypto exchange, trading, orderbook, withdrawals ★ 269
05 · Facts
- repository
- github.com/codespar/mcp-dev-latam
- category
- finance - actively maintained as of 2026-08-25.
- registry
- io.github.codespar/mcp-alegra (active, first published 2026-04-12 · 3 versions)
- packages
- npm:@codespar/mcp-alegra
06 · Alegra FAQ
Is Alegra still maintained?
Yes - as of 2026-08-25, its last commit was 2026-08-12. We re-verify nightly.
What can Alegra do?
With this server connected, an agent can create an invoice, get invoice details by ID, list invoices, and get invoice PDF download URL.
How do I install Alegra?
Run `npx -y @codespar/mcp-alegra`. The README documents 2 environment variables (ALEGRA_EMAIL, ALEGRA_API_TOKEN) to set first. Set ALEGRA_EMAIL, ALEGRA_API_TOKEN before connecting. You can also paste the ready-made client config above.
Does Alegra run locally?
Yes - it's a stdio server: it runs on your machine (via npx) with your user's permissions. Your data stays local unless the server itself calls external APIs.
07 · Alternatives to Alegra
Alternatives to Alegra
Maintained finance servers if Alegra isn't the fit.
- Tradingview MCP Real-time market data, screeners, technical analysis & backtesting for stocks, crypto and forex. ★ 4,214 · 2026-08-24
- Edgar Tools Open-source SEC EDGAR toolkit - 11 tools, 7 prompts, every filing type. No API key required. ★ 2,613 · 2026-08-25
- Emilia Protocol Exact-action approval for consequential agent actions: request, track, and verify signed receipts. ★ 787 · 2026-08-25
- xbbg MCP Local Bloomberg tools for xbbg users. ★ 737 · 2026-08-14
- TickDB Market Data Real-time & historical market data: forex, stocks, crypto, indices, metals, K-line, quotes ★ 712 · 2026-06-20
- Finlab AI Quantitative trading toolkit with 900+ data columns, backtesting, and 60+ strategy examples. ★ 413 · 2026-08-14
Pairs well with
Servers that cover what Alegra doesn't - only shown when the pairing reason fits the companion.