Lucius API

MCP Server

Connect Claude Code, Cursor, or Codex to your Lucius financial data with OAuth — read-only tools for burn, runway, invoices, and ledger.

Server URL

https://api.lucius.finance/mcp

Transport: Streamable HTTP · Auth: OAuth 2.1 (PKCE)

How it works

  1. Add the server URL in your agent (see below).
  2. Your browser opens the Lucius login / consent page.
  3. Pick your entity (if you have more than one) and approve scopes.
  4. The agent receives a token and can call Lucius tools.

Revoke access anytime in the Lucius dashboardSettings → Connected Agents.


Install in your agent

Fastest: Add to Cursor — click the link, confirm install, then complete OAuth when prompted.

Or add to .cursor/mcp.json in your project (or ~/.cursor/mcp.json globally):

{
  "mcpServers": {
    "lucius": {
      "url": "https://api.lucius.finance/mcp"
    }
  }
}

Or use the UI: Cursor MCP docsSettings → Tools & MCP → Add server → paste the URL above.

After adding, restart Cursor if tools don't appear. First tool call triggers the OAuth browser flow.

Run in your terminal (Claude Code MCP docs):

claude mcp add --transport http lucius https://api.lucius.finance/mcp

Start a Claude Code session and ask a financial question — your browser opens for Lucius login and consent.

Useful commands:

claude mcp list          # verify lucius is registered
claude mcp remove lucius # disconnect

Add the server (Codex MCP reference):

codex mcp add lucius --url https://api.lucius.finance/mcp

Authenticate (OAuth browser flow):

codex mcp login lucius

Start Codex (codex) and run /mcp to confirm lucius is connected.

Or edit ~/.codex/config.toml:

[mcp_servers.lucius]
url = "https://api.lucius.finance/mcp"

For Claude on the web (Claude connectors):

  1. Open Settings → Connectors
  2. Click Add connector
  3. Name: Lucius
  4. URL: https://api.lucius.finance/mcp
  5. Complete OAuth when Claude first uses the connector

Requires a Claude plan that supports custom connectors.


Example prompts

Once connected, try:

  • "What's our cash position and cash net burn?"
  • "Top 10 expenses this year — which vendors drove the increase?"
  • "Which invoices are overdue and by how much?"
  • "Summarize Q1 P&L and explain the biggest drivers."
  • "How much did we spend on payroll vs last quarter?"

Agents can chain tools automatically — e.g. burn spike → costs breakdown → transactions for a specific account.


Scopes

ScopeAccess
read:analyticsBurn, runway, revenue trends, forecasts
read:reportsP&L, balance sheet, cash flow, deferred revenue
read:transactionsBank balances and transactions
read:invoicesReceivables, payables, customers, vendors, contracts
read:ledgerJournal entries, chart of accounts, account activity

Scopes granted at consent are capped by your org role in Lucius.


What's next?

On this page