JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 28
  • Score
    100M100P100Q94696F
  • License UNLICENSED

One-command setup for Flatland — financial modeling engine for AI agents

Package Exports

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (flatland-setup) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    flatland-setup

    One-command setup for Flatland — the financial modeling engine for AI agents.

    Configures your AI tools (Claude Code, Cursor) to connect to Flatland's MCP server so your agent can build, compile, and analyze financial models.

    Install

    npx flatland-setup <YOUR_API_KEY>

    Get your API key at flatlandfi.com.

    What it does

    1. Validates your API key against the Flatland server
    2. Verifies the MCP endpoint is reachable
    3. Registers Flatland as an MCP server in Claude Code (claude mcp add)
    4. Writes Cursor MCP config to ~/.cursor/mcp.json
    5. Runs a live connection test to confirm everything works

    After setup, open a new Claude Code session and try:

    "Build me a 3-year P&L for a DTC coffee brand doing $40K/mo in revenue with 65% gross margins"

    Commands

    npx flatland-setup <API_KEY>      # Install and verify
    npx flatland-setup --verify       # Check existing config
    npx flatland-setup --uninstall    # Remove Flatland config

    Requirements

    • Node.js 18+ (for npx)
    • Claude Code and/or Cursor installed
    • A Flatland API key (fl_live_ + 32 hex characters)

    Troubleshooting

    If Flatland tools don't appear in Claude Code after setup:

    1. Start a new Claude Code session (exit and re-run claude)
    2. Run /mcp in Claude Code to check the server list
    3. Run npx flatland-setup --verify to diagnose

    What is Flatland?

    Flatland is a computation engine that lets AI agents build structured financial models — P&Ls, unit economics, forecasts, scenario analysis. Your agent calls Flatland's tools to create models, add assumptions, write formulas, compile results, and run sensitivity analysis. No spreadsheets, no GUI — just your AI agent and a modeling engine.

    Learn more at flatlandfi.com.