JSPM

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

One-command setup for Flatland — financial modeling engine for AI agents. Configures Claude Code and Cursor to use the Flatland MCP server.

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

    Financial models as code.

    Describe your business to your AI agent. Out comes a typed, compiled financial model — with assertions, scenario analysis, sensitivity tables, and a live Excel export.

    npm website


    What this is

    flatland-setup is a one-command installer that wires the Flatland MCP server into your AI coding tools. It validates your API key, verifies the MCP endpoint is reachable, configures Claude Code and Cursor, and confirms the live connection works — in about five seconds.

    You don't use this package directly. Your agent does.

    Quickstart

    Get a key at flatlandfi.com, then:

    npx flatland-setup fl_live_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

    That's it. Open a new Claude Code session and ask:

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

    What it configures

    Tool Config path What gets written
    Claude Code Managed via claude mcp add A flatland MCP server entry at user scope
    Cursor ~/.cursor/mcp.json An HTTP MCP server pointing at api.flatlandfi.com/mcp/

    Both entries carry your X-API-Key header. No other files are touched.

    Commands

    npx flatland-setup <API_KEY>   # install and verify
    npx flatland-setup --verify    # check existing config and live connection
    npx flatland-setup --uninstall # remove Flatland from Claude Code + Cursor

    Prerequisites

    Troubleshooting

    npx is running an old version. npx caches aggressively. Force the current release with:

    npx --yes flatland-setup@latest <API_KEY>

    Tools don't show up in Claude Code after install. Start a new Claude Code session — MCP servers are only loaded at startup. Run /mcp inside Claude Code to confirm the flatland server is connected.

    Live connection test didn't confirm. This is usually a network hiccup during the end-to-end probe, not a real failure. If --verify shows the key is accepted and the MCP endpoint is responding, Claude Code will work.

    Something else. Run npx flatland-setup --verify for a structured report, then email info@flatlandfi.com.

    What is Flatland

    A financial modeling engine for AI agents. Typed computation graphs, assertions, scenario analysis, sensitivity tables, and Excel export — exposed over MCP so your agent can build, compile, and analyze models without leaving the chat.