Numeratica — financial planning calculations

Deterministic US financial planning: retirement Monte Carlo, Roth conversion, RMD, tax, IRMAA, SS

OtherJavaScriptv0.1.5

@numeratica/mcp

A thin MCP bridge that connects any MCP client (Claude Desktop, Cursor, …) to the Numeratica financial-planning API — retirement Monte Carlo, taxes, RMDs, Social Security, Roth conversions, and more.

Get a free key at https://docs.numeratica.com.

How it works

This package is a transport bridge, nothing more. It reads JSON-RPC from stdin and forwards each message to the hosted POST /mcp endpoint with your API key as a bearer token, then writes the response back to stdout. The tool list and all results come straight from the API — so the bridge always stays in sync and ships no calculation logic of its own. Your key is sent only in the Authorization header and is never logged.

  • Zero runtime dependencies (Node ≥ 20 built-in fetch + node:readline).
  • Open source (MIT). The interesting part is the API; this is just the wire.

Install

No install needed — your MCP client runs it on demand with npx. (You can also npm i -g @numeratica/mcp to get the numeratica-mcp command.)

Step 1 — look around, no key needed

Start here. This config needs no signup and no key:

{
  "mcpServers": {
    "numeratica": {
      "command": "npx",
      "args": ["-y", "@numeratica/mcp"]
    }
  }
}

Put it in claude_desktop_config.json (Claude Desktop: Settings → Developer → Edit Config) or ~/.cursor/mcp.json (Cursor, or a project .cursor/mcp.json), then restart the client. All 76 tools appear, and you can ask what's available — "What Numeratica tools do you have?"

Without a key the bridge runs in discovery-only mode: browsing the catalogue works, running a calculation returns a message telling you to add a key. That's the intended state, not a failure.

Step 2 — add a key to run calculations

Get a free key at docs.numeratica.com/get-key, then add one line:

{
  "mcpServers": {
    "numeratica": {
      "command": "npx",
      "args": ["-y", "@numeratica/mcp"],
      "env": { "NUMERATICA_API_KEY": "nmr_sk_your_key_here" }
    }
  }
}

Restart, and the tools are live. Try: "Run a retirement Monte Carlo for a 40-year-old retiring at 65."

Configuration

VariableRequiredDefaultNotes
NUMERATICA_API_KEYto run calculationsYour key. Get one free at docs.numeratica.com/get-key. Never logged. Omit it to browse the catalogue in discovery-only mode.
NUMERATICA_BASE_URLnohttps://api.numeratica.comOverride the API base (e.g. for testing).

You can also pass the key with --key <value> or --key=<value> instead of the env var, but prefer NUMERATICA_API_KEY: a key on the command line is visible to ps for every user on the machine, lands in shell history, and is stored verbatim in MCP client config files that people routinely paste into issue reports. For a non-env option that avoids all three, use --key-file <path>.

Links

License

MIT © Numeratica / Francis Townsend-Merino

Installation

Source-derived launch command. Check the maintainer’s required arguments and credentials before running:

bash
npx -y @numeratica/mcp

Set up in your AI client

Merge this template into ~/Library/Application Support/Claude/claude_desktop_config.json. Keep existing servers. Add any arguments, credentials, and permissions required by the maintainer; this template has not been install-tested.

json
{
  "mcpServers": {
    "com-numeratica-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@numeratica/mcp"
      ]
    }
  }
}

Restart Claude Desktop completely for changes to take effect. Confirm the server appears connected in the client’s tool list, then try a read-only example from its documentation.

Claude Desktop setup reference

Package

@numeratica/mcpnpm

Compatible MCP Clients

Numeratica — financial planning calculations works with any MCP-compatible client. Copy the config snippet from the Configuration section above and add it to the file shown for your client, then restart the application.

  • Claude Desktop~/Library/Application Support/Claude/claude_desktop_config.jsonRestart Claude Desktop completely for changes to take effect.
  • Cursor~/.cursor/mcp.jsonRestart Cursor for changes to take effect.
  • VS Code.vscode/mcp.jsonReload VS Code window for changes to take effect.
  • Windsurf~/.codeium/windsurf/mcp_config.jsonRestart Windsurf for changes to take effect.
  • Claude Code.mcp.jsonSave at the project root, then start Claude Code in that project and review the MCP server approval prompt. Keep real credentials out of shared files.

Learn More