The Bee's Knees
MCP serverDev toolsThe Bee's Knees, a monetized multiplayer race to the queen, on Tollbooth DPYC
Available today. Use it from your connected AI after setup.
No other account needed.
Add ahel to your AI once: Claude, ChatGPT, Cursor, Claude Code or Codex. Then ask it to use this.
Then ask your AI: use the beesknees check balance tool from The Bee's Knees
Install The Bee's Knees
The server’s own address, for the clients that take one directly. Or connect ahel once and every client you use reads it from one address, with the account kept on ahel rather than in each client’s config.
Claude Code
claude mcp add --transport http --scope user the-bee-s-knees 'https://beesknees-mcp.fastmcp.app/mcp'Run it once in your project, then open /mcp to approve any sign-in the server asks for.
Claude Desktop
https://beesknees-mcp.fastmcp.app/mcpAdd a custom connector in Settings, paste this address, and approve the sign-in.
Cursor
cursor://anysphere.cursor-deeplink/mcp/install?name=the-bee-s-knees&config=eyJ1cmwiOiJodHRwczovL2JlZXNrbmVlcy1tY3AuZmFzdG1jcC5hcHAvbWNwIn0=Open the link and Cursor adds the server at that address.
ChatGPT
https://beesknees-mcp.fastmcp.app/mcpIn Settings, enable Developer mode, create an MCP app, and paste this address. Your plan and workspace must allow custom apps.
Codex
codex mcp add the-bee-s-knees --url 'https://beesknees-mcp.fastmcp.app/mcp'Run it once, then sign in with codex mcp login the-bee-s-knees if the server asks for an account.
From the project's README
As published by lonniev/beesknees-mcp in README.md.
A race to the queen, monetized with Tollbooth DPYC™ Bitcoin Lightning micropayments — and run for the benefit of pollinators.
Buy a drone a seat. Fly it to a flower, carry the pollen home through the hive wall, then tunnel inward. The first bee to reach a queen takes the round. Most of what the round collects goes to pollinator welfare; the winner and the operator each take a small share.
What you're building
YOU (operator, human in the loop)
│ │
│ set & tune prices │ drive credential intake
▼ ▼
┌───────────────┐ ┌──────────────────────────────────────────────┐
│ Pricing Studio│ prices │ The Bee's Knees — OPERATOR MCP │
│ (iOS) ├───────▶│ FastMCP · deployed on Horizon │
└───────────────┘ Neon │ ┌────────────────────────────────────────┐ │
│ │ geometry · board · match · settlement │ │
Patron (Citizen) │ │ @runtime.paid_tool(FROZEN_UUID) tools │ │
+ MCP client ─────────▶│ ├────────────────────────────────────────┤ │
(Claude, the SPA) npub │ │ tollbooth-dpyc SDK (the wheel) │ │
+sats │ │ ledger · vault (AES-256-GCM) · pricing │ │
│ │ ConstraintGate · Secure Courier·audit │ │
│ └────────────────────────────────────────┘ │
└───┬─────────┬──────────┬───────────┬─────────┘
▼ ▼ ▼ ▼
Neon Postgres BTCPay▶ Sponsor Nostr relays
(your schema) Lightning Authority proofs·courier
ledger+board invoices certify + DMs·audit
provision │
│ ▼
└──▶ DPYC Oracle +
dpyc-community
The board
A hive is round because the field has to narrow. Ring 0 is the queen's chamber, ring 24 is the hive wall, and four open-air rings above it are meadow. Cells scale with circumference, so the wall holds about fifty and the last ring before the chamber holds six. Everyone starts spread out and converges into a scrum — 857 cells in all.
Movement is inward, outward, or sideways along a ring. Sideways is what makes it a maze rather than a set of lanes: it is how you slide onto somebody else's open shaft, or step out from under a collapse.
The one real choice
Cut your own shaft — slow, and open to everyone the moment it exists. Or ride one somebody else paid for — fast, and they can bring it down on you.
Three motions carry it. fly moves through open ground. dig cuts fresh comb
and costs several cooldowns rather than one. seal buries an open cell so the
bees behind must cut it again.
A bee acts once per cooldown, measured on the clock, so no amount of spending buys a faster bee. What spending buys is interference.
Why four hives and not one
Four hives of twelve, and a match starts the moment any hive holds eight.
That is a measured decision, not a taste one. Racing fifty near-identical bees
to a single queen is close to a lottery: first-past-the-post among fifty is an
extreme-value draw, and those are settled by variance rather than by skill. The
batch runner in sim/ puts a good strategy at 1.4x uniform with fifty bees
in one hive and 2.1x with twelve. Winning your own hive is skill-weighted;
which of the four leaders finishes first is a fair draw, so the signal survives.
node sim/run.ts --rounds 400 --bees 12 # re-measure before changing a rule
Where the money goes
Most of what a round collects goes to pollinator conservation. The beneficiary is Pollinator Partnership — chosen over the honeybee-focused charities on purpose, because managed honeybees are livestock and are not the ones in trouble; native and wild pollinators are, and they are what Pollinator Partnership covers.
The rail is deliberately not in the software
The system computes and publishes the debt. The operator settles it and records the proof. No automated payout to a third party, and that is a design decision rather than a shortcut:
- A single round's share is small, and an on-chain network fee can exceed it. A settlement that costs more than it delivers is worse than no settlement.
- Donations route through The Giving Block, which issues a fresh address per donation that expires after 180 days unused — there is no stable destination to hold in config, and one minted early is wrong within six months.
- The beneficiary takes on-chain BTC only ("Send only BTC to this address using the Bitcoin blockchain"). Not Lightning. So the fares arrive on one rail and the donation leaves on another, by their rules rather than by choice.
- Fares arrive over Lightning, into channels. Paying out on chain is not the same balance, and no amount of code makes it one.
So the charity's share accrues per round and is settled in batches. Each
settlement records the beneficiary, the amount, the date and the transaction
id — and beesknees_settlement_history serves all of it free, because a claim
about where the money went that costs money to check is not a claim anybody
should believe. The txid is what makes it verifiable by someone who trusts
nothing else here.
The beneficiary is stored, not compiled in, so it can change. Every settlement records the beneficiary it actually paid, so history stays true even when the current one changes — a patron who played because of where the money went can always check where it went.
Layout
| Path | What lives there |
|---|---|
src/beesknees_mcp/geometry.py | The board. Pure arithmetic, no identity, no billing |
src/beesknees_mcp/server.py | Frozen tool catalog + OperatorRuntime bootstrap |
frontend/src/game/ | The same rules in TypeScript — the client's engine |
frontend/src/lib/polar.ts | Cell ⇄ wedge, and the tap hit test |
frontend/src/lib/stageMath.ts | What changed between two looks at a hive — the WebGL board's diff |
frontend/src/art/ | The bee, the daisy, the crown as shapes — painted for the board, <symbol>s for the page |
frontend/src/stage/ | The focused hive in WebGL (PixiJS). Reached only by dynamic import |
sim/run.ts | Batch runner: is this a game or a lottery? |
The rules exist in three copies — this Python, the client's TypeScript, and
the renderers — and nothing at runtime reports that they have drifted; the game
simply starts rejecting moves a player can see are legal. tests/test_geometry.py
and frontend/src/game/rules.test.ts assert the same invariants on purpose, so
a drift fails a build instead of a match.
Onboarding roadmap
- Nostr keypair — generate one (
nak key generate); the nsec is the single env var the server needs (TOLLBOOTH_NOSTR_OPERATOR_NSEC). - Sponsor Authority — register; it provisions your Neon database.
- Secure Courier — deliver
btcpay_host,btcpay_api_key,btcpay_store_idviabeesknees_request_credential_channel. Never as env vars, never in code. - Set prices in Pricing Studio — new tools start unpriced, and nobody can call an unpriced tool.
- Deploy on Horizon —
fastmcp.jsonis already wired.
Get Pricing Studio (iOS). It reads and writes the pricing model live in Neon, so prices never live in code — surge, happy-hour, loyalty discounts and free trials are the thing a flat paywall can never give you.
The app
frontend/ carries the Bee's Knees app, deployed to Cloudflare Pages with
functions/mcp.js proxying /mcp same-origin. It runs a solo mode against
the local engine — the whole match filled with bots but one seat — so the
interface can be played before anybody has paid for anything.
The focused hive is drawn in WebGL on top of an SVG first paint. The SVG is what the server-side smoke and prerender checks see, what a browser shows on its first frame, and what the game falls back to if WebGL is lost; the stage takes over once PixiJS has loaded and drawn. Nothing about the game lives in the stage — it renders what both engines already compute.
Develop
uv venv --python python3.12 # coincurve has no 3.14 wheel
uv pip install -e ".[dev]"
ruff check . && pytest -v
python -m beesknees_mcp.server # runs the validate_operator_tools guard
cd frontend && npm install
npm run dev # solo mode on http://localhost:5180
npm test && npm run smoke # invariants, then a real first paint (the SVG one)
License
Apache-2.0
Tools it offers (69)
What this server listed when ahel dialed its public endpoint in Oct 2026, with no key and no account of yours. The names are the server’s own.
beesknees_check_balancebeesknees_purchase_creditsbeesknees_check_paymentbeesknees_restore_creditsbeesknees_account_statementbeesknees_account_statement_infographicbeesknees_report_issuebeesknees_service_statusbeesknees_get_operator_onboarding_statusbeesknees_get_patron_onboarding_statusbeesknees_session_statusbeesknees_request_credential_channelbeesknees_receive_credentialsbeesknees_forget_credentialsbeesknees_update_patron_credentialbeesknees_update_operator_credentialbeesknees_delete_patron_credentialbeesknees_delete_operator_credentialbeesknees_get_patron_credential_fieldsbeesknees_request_npub_proofbeesknees_receive_npub_proofbeesknees_check_proof_statusbeesknees_oracle_how_to_joinbeesknees_oracle_get_tax_ratebeesknees_oracle_lookup_memberbeesknees_oracle_aboutbeesknees_oracle_network_advisorybeesknees_check_authority_balancebeesknees_get_pricing_modelbeesknees_set_pricing_model
Signals
- Last commit
- Oct 2026
Advanced
- Delivery
- beesknees-mcp MCP server → your ahel connector (mcp.ahel.ai) → your AI.
- Item type
- mcp-server
- Key
io-github-lonniev-beesknees-mcp- Source
- github.com/lonniev/beesknees-mcp
- Hosted endpoint
https://beesknees-mcp.fastmcp.app/mcp
github.com/lonniev/beesknees-mcp