booli-mcp: Instructions file for Claude Code

CLAUDE.md

booli-mcp CLAUDE.md is an instructions file for Claude Code from chrischall/booli-mcp. It costs 1,683 tokens per session, scanned A, original, MIT.

A read-only connection to Booli, a Swedish property website, for finding homes, sold prices, area information, property details, and market statistics.

In plain words
What is it for?
Use it to search active listings, check past sale prices, look up areas, inspect individual properties, and calculate market figures.
Why use it?
It lets an agent retrieve Booli data despite the website blocking ordinary command-line requests.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: reads .claude/ paths; mentions CLAUDE.md.

This is chrischall/booli-mcp's own configuration. It tells Claude Code how to work on booli-mcp itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything booli-mcp configures →

Reuse

Borrowing it

Nothing to install: this file belongs to chrischall/booli-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.

Copy the file
curl -O https://raw.githubusercontent.com/chrischall/booli-mcp/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/chrischall/booli-mcp

Made for: Claude Code.

Wrote 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.

agentmods badge for booli-mcp CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/chrischall/booli-mcp/claude-md/github.svg)](https://agentmods.dev/instructions/chrischall/booli-mcp/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/chrischall/booli-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/chrischall/booli-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.

agentmods 80×15 button for booli-mcp CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/chrischall/booli-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/chrischall/booli-mcp/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,683 This file is loaded in full into every session.
When invoked 1,683 The same file — it is already loaded in full.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.01683 $0.01683
Opus 5.5 $0.00673 $0.00673
Sonnet 5.5 $0.00337 $0.00337
Haiku 4.5 $0.00168 $0.00168

Measured 28d ago against content hash 0bc357316cc0, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

booli-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 28d 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.

every non-browser client (Node/curl), and Cloudflare fingerprints the HTTP
CLAUDE.md · 116 lines

How it starts

The opening of the file, as written. The whole thing — 116 lines — stays where its author put it; the contents beside it link to each section on GitHub.

CLAUDE.md — booli-mcp

Guidance for Claude working in this repo.

TL;DR

MCP server for booli.se, a Swedish property portal. Reads active for-sale listings, sold prices (slutpriser), area lookups, single-property detail, and computes market statistics. stdio transport. All tools are read-only — nothing is confirm-gated.

Data access is Booli's consumer GraphQL API via the fetchproxy browser bridge. Booli fronts the whole www.booli.se zone — including /graphql — with a Cloudflare managed challenge (cf-mitigated: challenge) that 403s every non-browser client (Node/curl), and Cloudflare fingerprints the HTTP client itself, so no header/cookie replay durably clears it. The identical query returns 200 from a fetch inside a real tab. So requests ride the user's own signed-in (Cloudflare-cleared) www.booli.se tab via @fetchproxy/server + the ContextMint Bridge extension. No Booli login needed — just a cleared Cloudflare session (any normal page view). Verified live 2026-07-13; full API in docs/BOOLI-API.md.

History: an earlier iteration targeted the classic signed REST API at api.booli.se (HMAC callerId/apiKey). Booli no longer issues those credentials to new users, so that surface is unusable — we pivoted to the consumer GraphQL + browser bridge. See docs/BOOLI-API.md §2.

Transport (mirrors hemnet-mcp's fetchproxy pattern)

  • src/transport.ts — the BooliTransport interface (graphql(query, variables), plus optional status() → TransportStatus and bridgeTransport() → the bridge's runProbe/status slice). Every tool is written against it so tests drive them through an in-memory fake (tests/helpers.ts) with zero network.
  • src/transport-direct.ts — direct Node fetch to www.booli.se/graphql; throws a typed CloudflareChallengeError (an mcp-utils EdgeBlockedError) when the shared detectEdgeBlock sees a CDN/WAF refusal — the cf-mitigated header or a vendor's page markers, at any status.
  • src/transport-fetchproxy.ts — the browser bridge: each GraphQL POST runs as a same-origin fetch in the signed-in tab via createFetchproxyTransport (@chrischall/mcp-utils/fetchproxy).
  • src/transport-fallback.ts — createDefaultTransport: direct-first with sticky fallback to the bridge on any edge block — a thin adapter over mcp-utils createDirectFirstTransport / readTransportMode. BOOLI_TRANSPORT = direct | fetchproxy | auto (default). Shared fleet WS port 37149 (BOOLI_WS_PORT). Its status() reports the leg the next call rides (mode: 'auto'), and bridgeTransport() the bridge once the fallback has built it (plus blocked_by after a switch).
  • src/tools/healthcheck.ts — booli_healthcheck is the fleet's shared registerBridgeHealthcheckTool (@chrischall/mcp-utils/fetchproxy) in its direct-first (path) mode: probeFn is client.healthcheck(), path reads client.transportStatus() and transport reads client.bridgeTransport() AFTER the probe (the probe may be what flips the fallback). Output: ok, transport ({transport, mode} — the leg and the BOOLI_TRANSPORT pin, nothing else), bridge (role, port, session_state, pending_pair_code, extension_connected, epoch-ms last_extension_message_at — the ONE bridge block, projected by the shared tool from bridgeTransport().status(); present only once a bridge exists), probe, error (kind — cloudflare_challenge for the direct leg's CloudflareChallengeError, edge_blocked (with detail.vendor) when the bridge leg relays a CDN/WAF refusal page, http for the bridge leg's other upstream non-2xx, capability_unavailable when the browser lacks an API the verb needs (fetchproxy 3.3+; the shared ladder's hint), else the fetchproxy vocabulary session_not_ready / bridge_down / timeout / …), hint. The fetchproxy transport wraps typed bridge errors with the original as cause so the classification survives the wrapper.
  • @fetchproxy/server is bundled in (no esbuild --external), so the fetchproxy imports are eager static imports — safe because nothing is externalized. If you ever externalize it, make those imports lazy await import() behind the fetchproxy/auto path.
  • The env keys the server honours — BOOLI_TRANSPORT, BOOLI_WS_PORT, FETCHPROXY_WS_HOST, FETCHPROXY_IDENTITY_DIR — are declared in manifest.json and server.json, pinned by tests/manifest.test.ts.

Read the full file on GitHub · 116 lines

Changes

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.

  1. 28d ago Changed · +3 lines · +56 tokens per session 0bc357316cc0
  2. 1mo ago Changed · +13 lines · +172 tokens per session e0418c4c18f6
  3. 1mo ago Changed · +3 lines · +54 tokens per session b0c02afa3707
  4. 2mo ago Changed · +19 lines · +346 tokens per session 091bfbfc8f9e
  5. 2mo ago First seen · 78 lines · 1,055 tokens per session scan A df4f88d3cf22

Subscribe to this mod's changes

booli-mcp CLAUDE.md is an instructions file published in the GitHub repository chrischall/booli-mcp (4 stars, last pushed 2d ago), licensed MIT. It adds 1,683 tokens to every session, about $0.0067 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-08-31.

Related

booli-mcp CLAUDE.md compared with instructions from other repositories

booli-mcp CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
booli-mcp CLAUDE.mdchrischall/booli-mcpInstructions file42d agoMITA1,683Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode