Borrowing it
Nothing to install: this file belongs to LunaParker/waveapps-mcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/LunaParker/waveapps-mcp/main/CLAUDE.mdgit clone --depth 1 https://github.com/LunaParker/waveapps-mcpWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/instructions/lunaparker/waveapps-mcp/claude-md)<a href="https://agentmods.dev/instructions/lunaparker/waveapps-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/lunaparker/waveapps-mcp/claude-md/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/instructions/lunaparker/waveapps-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/lunaparker/waveapps-mcp/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.05628 | $0.05628 |
| Opus 5.5 | $0.02251 | $0.02251 |
| Sonnet 5.5 | $0.01126 | $0.01126 |
| Haiku 4.5 | $0.00563 | $0.00563 |
Grade A, and why
waveapps-mcp CLAUDE.md scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
- Cloudflare bot protection covers only the sign-in hosts (`my.waveapps.com`, `auth.waveapps.com`). Scripted requests there, curl included, get a 403 HTML page titled "Wave Maintenance". It carries no `cf-mitigated` head How it starts
The opening of the file, as written. The whole thing — 119 lines — stays where its author put it; the contents beside it link to each section on GitHub.
CLAUDE.md
Notes for agents working on waveapps-mcp. README.md is the user guide; this file covers how the code fits together and what has caught us out before.
What this is
A TypeScript MCP server for Wave (waveapps.com) bookkeeping: 58 tools across businesses, invoices, customers, estimates, products, bills, receipts and sales taxes. Wave gives regular users no API key, so the server uses the session a browser gets on sign-in: the waveapps cookie, sent as a Bearer token to Wave's own REST and internal GraphQL APIs.
The package is not on npm. People run it from a clone, with their MCP client pointed at the absolute path of dist/server.js.
Build, test, run
npm install # also installs the pre-commit secret scan
npm run build # tsc, src/ to dist/
npm test # vitest, no network
npm run typecheck
npm run test:coverage
npm run test:live # live contract checks, no session needed
npm run test:live:signed-in # plus read-only checks with the stored session
npm run test:live:writes # plus real writes on a test customer (WAVE_LIVE_TEST_CUSTOMER_ID)
npx playwright install chromium # once, before login or refresh
cd gateway && uv sync --locked && uv run pytest # the FastMCP gateway (Python 3.12+, uv)
- Node 20.18 or later. CI (
.github/workflows/test.yml) runsnpm ci --ignore-scripts, typecheck and tests on Node 20 and 22.build.ymlcompiles and uploadsdistafter Test passes onmain. npm run devrunstsx watch src/server.ts.- The live suites (
src/live/,vitest.live.config.ts) never run innpm testor CI.test:livedrives every tool with a fake token, so nothing can be read or changed; it still catches drift because REST answers 401 for routes that exist (404 otherwise) and GraphQL validates documents, input fields and enum values before auth.test:live:signed-inbuilds its client without a refresher, so it can't trigger a sign-in. Runtest:liveafter touching any query, mutation, request body or enum.test:live:writes(src/live/writes.live.test.ts) runs the write tools for real on the customerWAVE_LIVE_TEST_CUSTOMER_IDnames, refuses one whose name lacks "test", only emails that customer's address, and deletes what it creates inafterEach; register each record's cleanup as soon as it exists. Run it only when the user has agreed to writes on their account. dist/is gitignored, so a client pointed atdist/server.jsruns whatever was built last. After pulling or switching branches, rebuild, then restart the MCP client.- One entry point serves both roles.
node dist/server.js <subcommand>runs the CLI:login,refresh [--headed],paste,save-password,whoami,logout,help. With no subcommand it starts the MCP server: stdio by default, or Streamable HTTP withWAVE_MCP_TRANSPORT=httponWAVE_MCP_BIND:WAVE_MCP_PORT(default127.0.0.1:8765).WAVE_MCP_HTTP_TOKENis required whenWAVE_MCP_BINDis not a loopback address, and once it is set every request must carry it as a bearer token. Loopback listeners also rejectHostheaders whose hostname is not a loopback address (hostnameOf()strips the port, so tunnels on other ports work; this is the DNS-rebinding guard), and every listener rejects bodies over 1 MiB with a 413 after draining up to 8 MiB. npx waveapps-mcp ...only resolves inside the repo. User-facing hints come fromcliCommand()insrc/util/cli-command.ts, which givesnode <path>/dist/server.js <subcommand>when the server was started that way. Use it for any new hint; don't hardcode a command.- To check the server starts without touching Wave, send
initializeandtools/listover stdin. Neither calls Wave, and the process exits when stdin closes:
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 5d ago First seen · 119 lines · 5,628 tokens per session scan A c431d229c26b
waveapps-mcp CLAUDE.md is an instructions file published in the GitHub repository LunaParker/waveapps-mcp (7 stars, last pushed 4d ago), licensed MIT. It adds 5,628 tokens to every session, about $0.0225 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-02.
waveapps-mcp CLAUDE.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| waveapps-mcp CLAUDE.mdLunaParker/waveapps-mcp | Instructions file | 7 | 4d ago | MIT | A | 5,628 | Claude Code |
| vibetags com-example-service-EvidenceBasedShowcase.instructions.mdPIsberg/vibetags | Instructions file | 25 | yesterday | MIT | A | 443 | GitHub Copilot |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 9,719 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 143k | yesterday | MIT | A | 7,461 | Codex, OpenCode |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 149k | yesterday | MIT | A | 4,680 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 5,516 | GitHub Copilot |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 3,093 | GitHub Copilot |