Skip to main content
Glama
README.md
<div align="center">

# Business Engineer MCP

### The Business Engineer's analysis method, inside your AI assistant.

*Business model maps, the AI value chain, moat checks, the Work Loop Canvas, unit economics and mental models, run on what you know and on public SEC filings fetched live.*

[businessengineer.ai](https://businessengineer.ai) · [FourWeekMBA](https://fourweekmba.com) · [Membership](https://businessengineer.ai/subscribe)

</div>

<!-- mcp-name: io.github.the-business-engineer/be-mcp -->

---

`be-mcp` is a [Model Context Protocol](https://modelcontextprotocol.io) server. Add it to Claude, Cursor, VS Code or any MCP client and your assistant gets The Business Engineer's frameworks as tools: it can map a business model, place a market on the AI value chain, test what a company says protects it, map a process for AI, and do the unit economics. For US-listed companies it reads the numbers straight from the SEC.

- **A method, not a database.** The server ships frameworks and code. It contains no company data of its own.
- **Real companies, public data.** The EDGAR tools fetch filings and XBRL figures from the SEC's free public APIs at the moment you ask, on your machine. Every number links to the filing it came from.
- **Deterministic.** The framework tools are plain code: the same input gives the same canvas, gate or ratio. The assistant does the reading; the tools keep it honest.
- **Local and private.** No account, no key, no telemetry. The only network calls are the ones you trigger to sec.gov.
- **No dependencies.** Python 3.9+ standard library only.

## Install

The server is a Python package with one command, `be-mcp`. The quickest way to run it is [`uvx`](https://docs.astral.sh/uv/) (or `pipx run`).

The EDGAR tools need one setting: the SEC asks every automated client to identify itself with a name and contact email ([SEC fair access](https://www.sec.gov/os/accessing-edgar-data)). Put yours in `BE_MCP_SEC_USER_AGENT`. The framework tools work without it.

### Claude Code

```bash
claude mcp add business-engineer --env BE_MCP_SEC_USER_AGENT="Your Name you@example.com" -- uvx be-mcp
```

Add `--scope user` to make it available in every project.

### Claude Desktop

Settings > Developer > Edit Config, then add to `claude_desktop_config.json`:

```json
{
  "mcpServers": {
    "business-engineer": {
      "command": "uvx",
      "args": ["be-mcp"],
      "env": { "BE_MCP_SEC_USER_AGENT": "Your Name you@example.com" }
    }
  }
}
```

Restart Claude Desktop. The tools appear under the tools menu and the recipes under the prompts ("+") menu.

### Cursor

Add the same block to `~/.cursor/mcp.json` (or the project's `.cursor/mcp.json`), or use the [one-click install](cursor://anysphere.cursor-deeplink/mcp/install?name=business-engineer&config=eyJjb21tYW5kIjoidXZ4IiwiYXJncyI6WyJiZS1tY3AiXSwiZW52Ijp7IkJFX01DUF9TRUNfVVNFUl9BR0VOVCI6IllvdXIgTmFtZSB5b3VAZXhhbXBsZS5jb20ifX0=) and then edit the contact.

### VS Code (Copilot agent mode)

```bash
code --add-mcp '{"name":"business-engineer","command":"uvx","args":["be-mcp"],"env":{"BE_MCP_SEC_USER_AGENT":"Your Name you@example.com"}}'
```

### ChatGPT (developer mode)

ChatGPT connects to remote MCP servers over HTTPS only. Run `be-mcp --http` behind an HTTPS tunnel or proxy you control (see [HTTP mode](#http-mode)) and add that URL as a connector in developer mode. The HTTP transport has no authentication of its own, so keep the URL private.

### Without uv

```bash
pipx install be-mcp        # then use "be-mcp" as the command in the configs above
pip install be-mcp
```

From source: `uvx --from git+https://github.com/the-business-engineer/be-mcp be-mcp`.

Check an install with `be-mcp --self-test` (offline), or `be-mcp --self-test --online` to also call the SEC.

## Tools

**The frameworks** (offline; they work on what you or a filing provide)

| Tool | What it does |
|---|---|
| `business_model_map` | VTDF canvas: Value, Technology, Distribution, Financial. Returns the filled blocks, the missing fields with the question to ask, and consistency checks (own vs rent, rented distribution, who owns the customer, AI cost vs pricing unit, why now) |
| `ai_value_chain` | Places players on the eight layers of the AI value chain (energy, infrastructure, silicon, compute, models, platforms, applications, distribution) and computes each layer's share of revenue, share of profit and capture ratio: where AI moves the money |
| `moat_check` | The daily-mechanism test on every claimed moat. Verdicts: compounding, unproven, metaphor, retired (model quality, feature velocity, raw data volume...), rented |
| `work_loop_canvas` | The Work Loop Canvas for one process: twelve nodes in order, statuses, readiness out of 24, decision classes, the gate reached and what blocks the next one. Call with just a process name for the blank canvas and a 90-minute session agenda |
| `scale_gates` | Gate check and Work Loop Map for several loops: gate, readiness, quadrant (value x readiness) and the order to tackle them |
| `unit_economics` | Contribution (including AI inference cost), LTV, LTV/CAC, CAC payback; or cost per accepted outcome vs a measured baseline |
| `mental_model_picker` | Picks the models that fit a situation from an open core set of 17 (flywheel, bottleneck shift, Jevons paradox, own vs rent, capital cycle, aggregation...) with the test that shows each one applies |
| `filing_reading_guide` | How to read a 10-K, 10-Q, 8-K, S-1, DEF 14A, 20-F, 13F, Form 4 or 13D: sections in order, red flags, and where to look for a question (capex, AI spend, backlog, customers, debt, risk...) |

**Public data, fetched at run time** (needs `BE_MCP_SEC_USER_AGENT` and an internet connection)

| Tool | What it does |
|---|---|
| `edgar_company_lookup` | Ticker, name or CIK to SEC registrant |
| `edgar_filings` | Company profile and recent filings with document URLs; 8-K item numbers explained |
| `edgar_financials` | Revenue, gross profit, operating and net income, R&D, capex, operating cash flow, cash, long-term debt, RPO, finance leases from XBRL, annual or quarterly, each value with its filing URL; margins, free cash flow and growth computed from them |

**Members tier**

| Tool | Status |
|---|---|
| `members_live_dataset` | **Coming soon.** Connect The Business Engineer live dataset (members). Returns no data in this server; it tells the assistant the status and the [membership link](https://businessengineer.ai/subscribe) |

All tools are read-only (`readOnlyHint: true`). The EDGAR tools are marked `openWorldHint: true` because they call sec.gov.

**Prompts** (ready-made recipes that chain the tools): `analyze_company`, `map_ai_value_chain`, `moat_audit`, `work_loop_session`, `read_filing`, `unit_economics_review`.

## Examples

Real outputs, trimmed. The SEC figures were fetched live from EDGAR on 29 Nov 2026.

**"How much of Microsoft's revenue is going into capex?"** calls `edgar_financials {"company": "MSFT", "period": "quarterly", "metrics": ["revenue", "capex", "operating_cash_flow"], "limit": 3}`:

```json
{
  "company": { "name": "MICROSOFT CORP", "cik": 789019, "ticker": "MSFT" },
  "series": {
    "revenue": { "xbrl_concept": "us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax", "values": [
      { "start": "2026-07-01", "end": "2026-09-30", "value": 92279000000, "form": "10-Q",
        "filing_url": "https://www.sec.gov/Archives/edgar/data/789019/000119312526436133/" } ] },
    "capex": { "xbrl_concept": "us-gaap:PaymentsToAcquirePropertyPlantAndEquipment", "values": [
      { "start": "2026-07-01", "end": "2026-09-30", "value": 39367000000, "form": "10-Q" },
      { "start": "2026-01-01", "end": "2026-03-31", "value": 30876000000, "form": "10-Q" },
      { "start": "2025-10-01", "end": "2025-12-31", "value": 29876000000, "form": "10-Q" } ] }
  },
  "derived": {
    "capex_to_revenue_pct": [ { "end": "2026-09-30", "value": 42.7 }, { "end": "2026-03-31", "value": 37.3 },
                              { "end": "2025-12-31", "value": 36.8 } ],
    "free_cash_flow": [ { "end": "2026-09-30", "value": 18633000000 } ]
  }
}
```

The assistant can say: in the September 2026 quarter Microsoft spent $39.4 billion on capex, 42.7% of its $92.3 billion revenue, up from 36.8% in the December 2025 quarter (Form 10-Q). The June quarter is missing on purpose: companies report fiscal Q4 only inside the annual 10-K.

**"Where does the money pool in AI infrastructure?"** The `map_ai_value_chain` prompt pulls the latest annual figures for each company with `edgar_financials`, then calls `ai_value_chain` with Nvidia as silicon, CoreWeave and Microsoft as compute, and Meta as distribution:

```json
{
  "layers_top_to_bottom": [
    { "layer": "distribution", "share_of_revenue_pct": 26.7, "operating_margin_pct": 41.4,
      "share_of_profit_pool_pct": 22.6, "capture_ratio": 0.85, "capex_to_revenue_pct": 34.7 },
    { "layer": "compute", "share_of_revenue_pct": 44.7, "operating_margin_pct": 46.1,
      "share_of_profit_pool_pct": 42.1, "capture_ratio": 0.94, "capex_to_revenue_pct": 37.5 },
    { "layer": "silicon", "share_of_revenue_pct": 28.6, "operating_margin_pct": 60.4,
      "share_of_profit_pool_pct": 35.3, "capture_ratio": 1.23, "capex_to_revenue_pct": 2.8 }
  ],
  "reading": [
    "Among the players given, Silicon captures the most profit per dollar of revenue (capture ratio 1.23: share of profit / share of revenue).",
    "Compute and cloud spends 37.5% of its revenue on capex: that spend is revenue for the layers below it."
  ]
}
```

Inputs: each company's latest 10-K (fiscal years ending 25 Jan 2026 for Nvidia, 30 Jun 2026 for Microsoft, 31 Dec 2025 for CoreWeave and Meta). Placing a company on one layer is a judgment call (Microsoft also sits in models, platforms and applications); the tool shows the arithmetic, the assistant should state the choice.

**"Does our moat hold?"** calls `moat_check`:

```json
{
  "summary": "1 of 3 claims pass the daily-mechanism test.",
  "claims": [
    { "moat": "we use the best AI model", "verdict": "retired",
      "why": "Models improve and are rented by everyone; staying level with the best model protects no one." },
    { "moat": "resolution playbooks per store", "verdict": "compounding",
      "why": "A repeating mechanism with evidence that it accrues. Keep measuring it." },
    { "moat": "Shopify app store ranking", "verdict": "rented",
      "why": "The business does not own what this claim depends on. A rented input is available to rivals on the same terms; name the swap path instead." }
  ]
}
```

**"Is our claims pilot ready to act on its own?"** calls `work_loop_canvas` with five nodes signed, the rest in draft, and one contested decision:

```json
{
  "gate": "G1 Shadow",
  "loop_may": "run beside today's process, no writes, grade every outcome",
  "next_gate": "G2 Bounded",
  "blocking_next_gate": ["actions", "decisions", "junctions", "exceptions", "1 contested decision(s) open"],
  "readiness": "17/24"
}
```

**"Do the numbers work at $49 a month?"** calls `unit_economics {"price_per_month": 49, "gross_margin_pct": 85, "ai_cost_per_month": 12, "cac": 400, "monthly_churn_pct": 3}`:

```json
{ "contribution_per_month": 29.65, "contribution_margin_pct": 60.5, "ai_cost_share_of_price_pct": 24.5,
  "expected_lifetime_months": 33.3, "ltv": 988.33, "cac_payback_months": 13.5, "ltv_to_cac": 2.47 }
```

More prompts to try:

- *"Use analyze_company on Oracle."*
- *"Read Nvidia's latest 8-K and tell me what kind of event it is."* (`edgar_filings` explains item numbers: 2.02 = earnings, 5.02 = leadership change)
- *"Which mental models fit a market where token prices fall 90% a year?"*
- *"Run a Work Loop Canvas session for our invoice approval process."*

## Open and members

| | Open (this package) | Members (coming soon) |
|---|---|---|
| Frameworks | VTDF map, AI value chain, moat check, Work Loop Canvas + Scale Gates, unit economics, filing guide | The same, plus the full Business Engineer method and worked cases |
| Mental models | Open core set of 17 | The full library of 811 mental models |
| Data | None bundled. Public SEC EDGAR data, fetched live on your machine | The Business Engineer live dataset |
| Runs | Locally | Hosted, member sign-in |
| Status | Available | **Coming soon**: [businessengineer.ai/subscribe](https://businessengineer.ai/subscribe) |

`BE_MCP_TIER=members` is accepted today; the server says the members tier is coming soon and keeps working as the open server. There is no endpoint and no key to configure.

## Limits

- The framework tools structure and compute; they do not know anything about a company you do not tell them. They never invent inputs, and neither should the assistant.
- EDGAR covers companies that file with the SEC. Private companies are not there; foreign filers on 20-F/40-F may tag fewer figures.
- `edgar_financials` reads XBRL tags as each company filed them. Companies choose different tags (Nvidia's capex is `PaymentsToAcquireProductiveAssets`); the tool picks the most recent of several standard tags and names the one it used. Figures can be restated: the latest filing wins.
- Quarterly series skip fiscal Q4 (reported only in the 10-K). Fiscal years differ between companies.
- Value-chain layer assignments and moat verdicts are frameworks for thinking, not facts. This is not investment advice.

## Privacy

The server runs on your machine and collects no usage data, prompts or identifiers. The framework tools make no network calls and write no files. The EDGAR tools call only `www.sec.gov` and `data.sec.gov`, send the User-Agent you configured (the SEC requires it), keep responses in memory for an hour and space requests at least 120 ms apart (the SEC allows 10 per second). Set `BE_MCP_OFFLINE=1` to disable all network calls.

## HTTP mode

```bash
be-mcp --http                        # Streamable HTTP on http://127.0.0.1:8765/mcp
be-mcp --http --port 9000 --allow-origin https://your.app
```

Standard library only, stateless, one JSON response per POST. It has **no authentication**: it binds to `127.0.0.1` by default and rejects browser requests from other origins. Put it behind a proxy that handles sign-in and TLS before exposing it. `GET /healthz` returns `{"status": "ok"}`.

## Configuration

| Variable | Default | Meaning |
|---|---|---|
| `BE_MCP_SEC_USER_AGENT` | (unset) | Your name and contact email for SEC requests, e.g. `Jane Doe jane@company.com`. Required for the EDGAR tools |
| `BE_MCP_OFFLINE` | (unset) | `1` disables the EDGAR tools and all network calls |
| `BE_MCP_TIER` | `open` | `open` or `members` (members: coming soon) |
| `BE_MCP_HOST` / `BE_MCP_PORT` | `127.0.0.1` / `8765` | HTTP mode bind address |

## Protocol

MCP revisions 2024-11-05, 2025-03-26, 2025-06-18 and 2025-11-25 (initialize handshake), and 2026-07-28 (stateless, `server/discover`). Tools and prompts. Transports: stdio and Streamable HTTP.

## Development

```bash
git clone https://github.com/the-business-engineer/be-mcp && cd be-mcp
python -m pip install -e ".[test]"
pytest                       # offline: no SEC data is stored in this repo; `be-mcp --self-test --online` checks the EDGAR connector
be-mcp --self-test --show
```

See [CONTRIBUTING.md](CONTRIBUTING.md) and [SECURITY.md](SECURITY.md).

## Licence

- **Code and framework text:** [Apache License 2.0](LICENSE). See [NOTICE](NOTICE) for attribution.
- The Work Loop Canvas is by Gennaro Cuofano / The Business Engineer, published open at [the-business-engineer/work-loop-canvas](https://github.com/the-business-engineer/work-loop-canvas) (skill MIT, book CC BY 4.0).
- SEC EDGAR data is public information from the U.S. Securities and Exchange Commission; this project is not affiliated with or endorsed by the SEC.
- "The Business Engineer" and "FourWeekMBA" are trademarks of their owner and are not licensed by the Apache License.

---

<div align="center">

*Built by [The Business Engineer](https://businessengineer.ai) · Gennaro Cuofano · [FourWeekMBA](https://fourweekmba.com)*

</div>

TDQS

A3.6/5.0

Scored across 12 tools

Disambiguation4/5

Most tools have clearly separable purposes: model selection, business model canvas, value chain mapping, moat testing, work loop design, gate portfolio review, unit economics, and four EDGAR data/guidance tools. The main soft boundary is between work_loop_canvas (single-loop mapping) and scale_gates (multi-loop gate/portfolio view), which both return readiness and gate states, though the descriptions do distinguish single vs portfolio scope. The three edgar_* tools are well separated by job (identify company, list filings, pull figures).

Naming Consistency4/5

All names are snake_case and consistently noun/concept-oriented rather than verb_noun, which fits an analysis toolkit rather than a CRUD API. The edgar_* prefix gives a clean, predictable grouping for the SEC data tools. Minor inconsistency: some names are analyst concepts (moat_check, scale_gates) while others are data operations (edgar_financials), and no name signals the verb/action performed.

Tool Count4/5

Twelve tools is well within the healthy range and each analytical tool earns its place by producing a distinct artifact. Seven framing/analysis tools plus four EDGAR tools plus one placeholder is a sensible scoping for a business-engineering server. The one detractor is members_live_dataset, a 'COMING SOON' stub that returns no data and occupies a slot without function.

Completeness4/5

The surface covers a full advisory workflow: pick a model, map the business, map the market, test the moat, design the work loop, gate-check the portfolio, price it, and ground it in real SEC data with a reading guide. Gaps are modest: no company-to-company comparison or screening operation, and no way to persist/compose artifacts across calls. members_live_dataset is an explicit dead end that cannot return data.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues