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
- Validates your API key against the Flatland server
- Verifies the MCP endpoint is reachable
- Registers Flatland as an MCP server in Claude Code (
claude mcp add) - Writes Cursor MCP config to
~/.cursor/mcp.json - 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 configRequirements
- 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:
- Start a new Claude Code session (exit and re-run
claude) - Run
/mcpin Claude Code to check the server list - Run
npx flatland-setup --verifyto 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.