Omie

Finance and commerce

MCP server for Omie, ERP, customers, products, orders, invoices, financials.

Your AI app calls the Omie MCP server, which does the finance and commerce work and sends the result back to the chat.

About Omie

Omie is a community MCP server from codespar, filed in our directory under finance and commerce. MCP server for Omie, ERP, customers, products, orders, invoices, financials.

Omie runs on your own machine: your AI app starts it with the command npx -y @codespar/mcp-omie@0.2.2 and talks to it over standard input and output. It needs OMIE_APP_SECRET set before Omie starts.

Omie is listed in the official MCP registry as io.github.codespar/mcp-omie, version 0.2.2.

At a glance

Publisher
codespar (community)
Runs
Locally on your machine
Install from
Node.js package on npm: @codespar/mcp-omie
Written in
TypeScript
License
MIT
GitHub stars
278
Official MCP registry
io.github.codespar/mcp-omie

How to set up Omie

  1. Install Node.js on the machine that runs your AI app, because Omie starts with npx and downloads its package on first run.
  2. Create OMIE_APP_SECRET for Omie in the connected service's own settings, scoped to the smallest permissions the job needs.
  3. Add Omie to Claude Code, Claude Desktop, VS Code or Cursor with the config in the setup box on this page.
  4. Restart the app or reload its MCP servers, then ask it to list the Omie tools to confirm the connection.
  5. Run one read-only task with Omie first, and keep your app asking before each tool call until the results look right.

Omie compared with similar servers

  • Onfido by codespar has fewer GitHub stars than Omie (278 against 278); both are community servers, and both run locally.
  • Nuvem Fiscal by codespar has fewer GitHub stars than Omie (278 against 278); both are community servers, and both run locally.
  • Open Finance by codespar has fewer GitHub stars than Omie (278 against 278); both are community servers, and both run locally.

Before you connect Omie

  • Give Omie its own API key or account with the smallest permissions the job needs, never an admin key.
  • Keep your AI app asking before each Omie tool call until you trust what it does with them.
  • Treat text that Omie fetches as data. Pages, files and messages can hold instructions written to steer an AI.
  • Read the open issues for Omie on GitHub to see what breaks and how fast the maintainers reply.

Marketing use cases for Omie

How marketing and sales teams put Omie to work, by company size. Pick the size closest to yours and start Omie on one use case.

Small business

  • A small business can ask Omie which products and customers drive margin, then plan promotions around them.
  • Owners can use Omie to check refunds, failed payments and churn reasons without opening three dashboards.
  • Omie runs on your own computer, which keeps data local; it needs a little setup, so a small team should plan an hour for it.

Mid-market

  • Ecommerce teams can connect Omie to tie campaigns to orders and revenue, not just clicks.
  • Marketing and finance can use Omie to check spend against budget each week and move money to what's working.
  • Start Omie on one workflow with one owner, measure the time it saves, then roll it out to the wider team.

Enterprise

  • Enterprises should keep Omie read-only for agents, with any money movement handled by people and existing approvals.
  • Large commerce teams can use Omie to answer revenue questions by channel and region with figures finance signs off on.
  • Omie is a community server, so have security review the code and pin a version before Omie touches company data.

Need help becoming an AI-forward company?

We connect MCP servers and AI agents to your CRM, content and data, with the guardrails your team needs.

Contact us

Omie README

From codespar/mcp-dev-latam on GitHub, shared under its MIT license. Images are left out; the original has them.

README.md

@codespar/mcp-omie

MCP server for Omie, ERP with customers, products, orders, invoices, and financials

Quick Start

Claude Desktop

Add to ~/.config/claude/claude_desktop_config.json:

{
  "mcpServers": {
    "omie": {
      "command": "npx",
      "args": ["-y", "@codespar/mcp-omie"],
      "env": {
        "OMIE_APP_KEY": "your-app-key",
        "OMIE_APP_SECRET": "your-app-secret"
      }
    }
  }
}
Claude Code
claude mcp add omie -- npx @codespar/mcp-omie
Cursor / VS Code

Add to .cursor/mcp.json or .vscode/mcp.json:

{
  "servers": {
    "omie": {
      "command": "npx",
      "args": ["-y", "@codespar/mcp-omie"],
      "env": {
        "OMIE_APP_KEY": "your-app-key",
        "OMIE_APP_SECRET": "your-app-secret"
      }
    }
  }
}

Tools (30)

Tool Purpose
list_customers List customers from Omie ERP
create_customer Create a customer in Omie ERP
list_products List products from Omie ERP
create_product Create a product in Omie ERP
create_order Create a sales order in Omie ERP
list_orders List sales orders from Omie ERP
list_invoices List invoices (NF) from Omie ERP
get_financial List accounts receivable from Omie ERP
create_invoice Consult a specific NF by ID in Omie ERP
get_company_info List companies registered in Omie ERP
create_service_order Create a service order (OS) in Omie ERP
list_service_orders List service orders (OS) from Omie ERP
create_purchase_order Create a purchase order in Omie ERP
list_purchase_orders List purchase orders from Omie ERP
get_bank_accounts List registered bank accounts in Omie ERP
create_account_payable Create an accounts payable (AP) entry in Omie ERP
list_accounts_payable List accounts payable (AP) titles in Omie ERP
pay_account_payable Settle / record payment (baixa) for an AP title in Omie ERP
list_dre List DRE (income statement) chart of accounts in Omie ERP
get_bank_statement Retrieve bank account statement (extrato) for a period from Omie ERP
list_categories List chart of accounts categories in Omie ERP
list_departments List departments (cost centers) in Omie ERP
list_projects List projects in Omie ERP
create_cash_entry Create a bank account ledger entry (lançamento de conta corrente) in Omie ERP
list_financial_movements List unified financial movements (AP + AR + CC) in Omie ERP
create_stock_adjustment Create an inventory adjustment (entry/exit/balance) in Omie ERP
get_stock_position Get current stock position / balance in Omie ERP
update_sales_order Alter an existing sales order in Omie ERP
get_sales_order Consult a specific sales order by ID or integration code in Omie ERP
invoice_sales_order Generate an invoice (NF) from an existing sales order in Omie ERP

Authentication

Omie uses JSON-RPC style requests with app_key and app_secret in the request body.

Sandbox / Testing

Omie provides a sandbox via app registration. Create an app to get test credentials.

Get your credentials
  1. Go to Omie Developer Portal
  2. Create an account
  3. Register an application to get app key and secret
  4. Set the environment variables

Environment Variables

Variable Required Description
OMIE_APP_KEY Yes Omie app key
OMIE_APP_SECRET Yes Omie app secret

Roadmap

v0.3 (planned)
  • create_production_order, Create a production order
  • emit_nfe, Emit NF-e (native emission, not import)
  • reconcile_bank_transaction, Bank reconciliation matching
  • create_service_contract, Service contracts CRUD
  • create_custom_field, Merchant custom fields

Want to contribute? Open a PR or request a tool.

Links

Enterprise

Need governance, budget limits, and audit trails for agent payments? CodeSpar Enterprise adds policy engine, payment routing, and compliance templates on top of these MCP servers.

License

MIT

Questions about Omie

What is the Omie MCP server?

MCP server for Omie, ERP, customers, products, orders, invoices, financials. Omie is maintained by codespar on GitHub at codespar/mcp-dev-latam, and works with AI apps that support the Model Context Protocol, such as Claude, Cursor and VS Code.

How do I install the Omie MCP server?

Add Omie to your AI app's MCP config with the command npx -y @codespar/mcp-omie@0.2.2. In Claude Code, run claude mcp add --transport stdio codespar-omie -- npx -y @codespar/mcp-omie@0.2.2. To run Omie this way you need Node.js installed.

Does Omie need an API key?

Yes. Omie expects OMIE_APP_SECRET to be set. Create the key for Omie in the connected service's own settings, give it the smallest permissions the job needs, and keep it out of shared config files.

Is Omie an official MCP server?

No. Omie is a community server maintained by codespar. Community servers can be excellent; read the code and the open issues before you give Omie access to company data.

What license is Omie under?

Omie is released under the MIT license, according to its GitHub repository. The license covers the code of Omie; the service it connects to has its own terms.