Build on creweng.com.
Connect software to creweng.com. The Markdown mirror, the MCP server and its tools, knowledge search, access keys, Watch Portfolio, the Scoping Agent, the Knowledge Copilot and the limits.
Just want to connect Claude? The two-minute setup is enough.
Three doors, no account
Everything public on this site is available to software as well as to people. None of it needs an account.
- Markdown mirror — every public page as Markdown at
https://creweng.com/md/<path>, with frontmatter. - MCP server —
https://creweng.com/mcp: tools to read the site, search its knowledge and scope a project; signed-in tools for clients. - Index for agents —
https://creweng.com/llms.txtlists the pages and the endpoint in one file.
Markdown for agents
Fetch https://creweng.com/md/<path> for any public page — for example /md/services/water-heat-siting — and the canonical URL answers with the same Markdown when the request carries Accept: text/markdown. The response is Content-Type: text/markdown.
Every page starts with frontmatter: title, url (the canonical page) and description. The MCP tool list_pages gives the full list with a token estimate per page, so an agent can pick what fits its context.
The mirror is generated from the same data the pages render from, at build time, so it never lags the site.
curl
curl -H "Accept: text/markdown" https://creweng.com/services/water-heat-sitingThe MCP server
https://creweng.com/mcp speaks the Model Context Protocol over Streamable HTTP: JSON-RPC 2.0 requests by POST, no session state your client has to keep. Public tools need no authentication; the signed-in tools appear when the request carries a client's access key.
Claude Code
claude mcp add --transport http creweng https://creweng.com/mcpAny MCP client
{
"mcpServers": {
"creweng": { "url": "https://creweng.com/mcp" }
}
}Ask about us
list_offersEvery product and service, who it is for, and where to read more.list_pagesThe pages on this site your AI can read.read_pageAny page, as Markdown — services, products, case studies, pricing.search_knowledgeThe passages that answer a question, with the page each came from — the Guide's own retrieval.Scope a project
start_scopingOpens a scoping conversation with our assistant. One sentence, or a question, is enough.continue_scopingYour answers, and your questions — it explains, then asks what it still needs.build_scopeTurns the conversation into a scope for you to read and correct.submit_scopeSends it to us for a quote — only with your name, email and agreement.Your projects (signed in)
my_projectsThe projects we have open for you, with their status.my_projectOne project: the scope, what we still need from you, your quotations and invoices.mark_item_sentRecords that you have emailed a checklist item to us.Graphs (with graph access)
graph_searchSearches a graph of published rules by words and meaning: provisions, controls, obligations or standards, each with its cite.graph_citeOne node by id: a provision, an instrument as at a date, an obligation with its conditions, a mapping or a standard.graph_neighboursThe nodes and relationships one or two steps from a node.graph_changesWhat changed over a date range, by provision, with the cause.wh_applicableWhich Water & Heat obligations a site's facts meet.reg_searchgraph_search on the Water & Heat graph.reg_citegraph_cite on the Water & Heat graph.reg_changesgraph_changes on the Water & Heat graph.ai_crosswalkThe mappings between two frameworks of the AI assurance crosswalk.std_lineageA standard's editions, which is current, and its listings.std_checkThe status of the standards cited on a drawing: current, superseded, withdrawn or unknown.dp_applicableWhich data-protection obligations an organisation's facts meet.Knowledge search
search_knowledge is the site's own retrieval, opened to your AI. A question runs two searches in parallel over the public corpus — full-text and semantic (the question is embedded with the same model as the corpus) — and the two result lists are fused by reciprocal rank fusion, so a passage both methods found ranks above one only one found.
It returns at most 6 passages, no more than 2 from any one page, each with the page it came from. Cite that URL. If the semantic leg is unavailable, full-text still answers.
The corpus is the published pages, re-indexed by the site's ingest workflow. Nothing internal is in it, and the question text is not stored.
Client access keys
A client makes an access key in their account (Your AI) and sends it as Authorization: Bearer ag_…. The key unlocks the signed-in tools — the client's own projects, onboarding checklist, quotations and invoices — read-only, except mark_item_sent. Accepting a quotation happens in the account, never through an agent.
An account may hold 5 keys at once; each lives 365 days and can be revoked at any time. The key is shown once, at creation. A missing or expired key gets a 401 with a WWW-Authenticate header; a request without the header is a guest.
Making a key that reads a graph accepts the Graph Data Licence; the line beside the button names its version, and the key records that version and when. The first time, the account also gives the name of the organisation it uses the graph data for and ticks that it is not using it as a consumer; the account keeps both. A graph key made under an older version shows a button to accept the current one, and keeps working either way.
Claude Code, signed in
claude mcp add --transport http creweng https://creweng.com/mcp --header "Authorization: Bearer <your access key>"Sign in instead of a key (OAuth)
The connector URL https://creweng.com/mcp/oauth is the same MCP server for clients that sign in by OAuth: the person approves what the client may read on our sign-in page, and no key is pasted anywhere.
It is OAuth 2.1 with PKCE (S256). A client may register itself or publish a Client ID Metadata Document; discovery starts from the 401's WWW-Authenticate header. An access token lasts an hour and is renewed with its refresh token while the app is used; both work only on this endpoint.
The graph tools (below) are listed for a key or an app that holds graph access: the free sample on any verified account, or a full graph while the account holds access to it. The graphs' REST API is described by its OpenAPI document at /api/graphs/v1/openapi.json.
Approving an app's access to a graph accepts the Graph Data Licence: the line just above Allow names its version, and the app's access records that version and when.
- Claude (web or desktop): Settings → Connectors → Add custom connector, paste the connector URL, then Connect.
- Claude Code: run the command below, then /mcp and choose to authenticate.
- Your browser opens our sign-in page: sign in, read what the app asks for, tick what it may read, and Allow. It never gets more than your account holds.
- The free sample needs only a verified account. A full graph is offered while your account holds access to it.
- To end an app's access, revoke it under Connected apps on your account page. Approving an app's access to a graph accepts the Graph Data Licence.
Claude Code, by OAuth
claude mcp add --transport http creweng-graphs https://creweng.com/mcp/oauthScoping over MCP
start_scoping, continue_scoping, build_scope and submit_scope are the contact page's scoping conversation through another door: your AI relays between the person and our scoping assistant, then shows them the scope to correct before anything is sent.
Nothing reaches Creweng until submit_scope, which needs the person's name, email and their agreement to the consent statement word for word. A draft nobody submits is deleted within an hour of its last message.
Watch Portfolio: the obligation graph from your tools
Watch Portfolio is the one plan that opens the Water & Heat obligation graph to your own tools and agents. Watch on its own, and the Scoping Agent, open no graph.
While the account holds an active Watch Portfolio subscription, a key made in the account with the graph:wh scope, or an app signed in by OAuth with that access, lists these read-only tools at the MCP endpoint, and the same reads answer on the graphs' REST API:
Access follows the subscription: it ends when the paid period ends, within 60 seconds, because entitlement is cached that long. Every answer names the release it was read from, carries the notice "Information about published rules, not legal advice and not a substitute for the advice of an attorney." and links to the page for reporting an error. A line that is held for review says so and is not determinable; Germany and the United States are conditions and citations only until a review clears them, and then US conclusions go only to an account held for a business.
graph_searchgraph_citegraph_neighboursgraph_changeswh_applicablereg_searchreg_citereg_changes
Scoping Agent: tenant keys
A Scoping Agent customer is a tenant. A tenant's admin makes its keys in the account, on the tenant page: up to 5 at once, apart from the admin's own 5. A tenant key is sent as Authorization: Bearer ag_… like any other.
At the MCP endpoint a tenant key lists the four scoping tools, start_scoping, continue_scoping, build_scope and submit_scope, on the tenant's own catalogue and in its own name, and nothing else: no client tool, no graph tool. A scope a visitor sends reaches the tenant's account, not Creweng's team.
The key stops working the moment the tenant is not active (suspended, or its subscription ended) or the person who made it no longer administers the tenant. Each tenant's catalogue, scopes and usage are its own; no key reads another tenant's.
Scoping Agent: the embed
One line on the tenant's own page puts the scoping conversation there, in an iframe served from creweng.com.
The script inserts an iframe right after itself and sizes it from the widget's height messages, between 360 and 4000 pixels. It counts a message only when it comes from creweng.com and from that very iframe, and it reads, sets and stores no cookie. data-title sets the iframe's title.
The iframe may be shown only on the tenant's own sites: up to 5 https origins, set in its account. Each response names them in its frame-ancestors; any other page gets none. The first message of a conversation passes a Turnstile check.
The tenant sets its catalogue (up to 30 offers, no prices, every link on its own sites or its booking host), its booking link, its logo (PNG, JPEG or WebP, up to 200 KB) and its brand from the site's own tokens: 2 grounds and 4 accents, never a colour value. The visitor agrees to a consent statement that names the tenant.
An unknown, suspended or inactive tenant, or the embed switched off, gets an iframe that says the assistant is not available, and no model is called.
On the tenant's page
<script src="https://creweng.com/embed/scope.js" data-tenant="your-firm" async></script>Knowledge Copilot: a Guide over a tenant's own documents
A tenant's Guide answers from the tenant's own documents and pages and from nothing else, with the document and the page (or the section) of every passage it used.
Documents. A tenant's admin uploads PDF, Markdown or plain text in the account, on the tenant page. The type is read from the file's own bytes, never its name; anything else, HTML included, is refused, and so is a PDF with no text in it (a scan needs OCR, which is not offered). By default a file is at most 20 MB and 300 pages, and a tenant holds up to 200 documents and 2,000 passages; uploads are limited to 10 an hour per tenant.
Pages. The Guide reads a tenant's site only from an origin the tenant has proven is its own. The crawl follows the origin's sitemap.xml, honours robots.txt for the agent creweng-guide and for *, never follows a redirect off the origin, waits 1 second between requests and, by default, reads up to 200 pages. It reads them again every week, and whenever the tenant asks.
Labels. Each document carries exactly one label, from at most 8 a tenant. public is reserved: it is the only label the embed reads. The labels a reader may see are bound inside the retrieval query, in both the full-text and the semantic search, never filtered afterwards, so a passage under another label, or another tenant's, never reaches the answer.
Evals. Each side (the public embed, and the keys) answers only while its newest eval run passed: at least 10 of the tenant's own scored questions for that side, a score of at least 0.85, and every guard case, among them one per safety rule and a planted instruction that must stay data. The evals run again after every change to the documents and every week; until a side passes, only the tenant's admins can ask it, in the account.
Safety. A question about isolation and lockout, permits to work, confined spaces, live electrical work, pressure release, chemical exposure or an emergency never reaches a model. The public side answers with a fixed line that sends the reader to the site's own authorised person; the internal side shows up to 3 matching passages of the tenant's own documents, word for word, under "Follow your controlled copy and your authorised person."
When a Guide ends, its documents, passages and files are deleted 30 days later.
Knowledge Copilot: the guide scope and the hosted endpoint
A tenant's admin makes a key on the tenant page with the guide scope and a set of the Guide's labels. The 5 keys a tenant may hold are shared between its kinds. The reader's labels are the key's labels that the Guide still holds; the tenant is always the key's, and a request that names another tenant is refused.
POST /api/guide/v1/chat is for the tenant's own server: Authorization: Bearer ag_…, a JSON body {"message", "stream", "conversationId"}, and a question of up to 500 characters. A request that carries an Origin header is refused, so the key never belongs in a web page; there is no CORS.
With "stream": true the answer arrives as server-sent events: meta, then delta frames with the text, then cites (the citations, the answer as shown, and the notice when a published rule was quoted), then done. Without it, one JSON object: answer, citations and, when there is one, notice.
An answer the model wrote is marked as AI-generated for machines: ai_generated: true and provenance (its generator, creweng/knowledge-copilot, and the fields the model wrote) at the end of the meta frame or in the JSON object, and the AI-Generated and AI-Generator headers. A fixed reply carries no mark. Keep the mark, and a notice that an AI answers, wherever the answer is shown or passed on.
A missing or unknown key gets a 401; a key without the guide scope, or whose maker no longer administers the tenant, a 403; the Guide switched off or the side's evals not passed, a 503, with no model call. At the MCP endpoint the same key lists search_knowledge on the tenant's own documents at the key's labels; a call without a key searches this site's public pages, as before.
curl, streamed
curl -N https://creweng.com/api/guide/v1/chat \
-H "Authorization: Bearer ag_…" \
-H "Content-Type: application/json" \
-d '{"message": "What does the start-up procedure say about the inlet valve?", "stream": true}'Support Agent: the Guide on a tenant's site
One line on the tenant's own page puts its Guide there, in an iframe served from creweng.com, answering from the public label only.
The script works as the Scoping Agent's does: it inserts an iframe of /embed/guide right after itself, sizes it between 360 and 4000 pixels from the widget's own messages, and reads, sets and stores no cookie. The iframe may be shown only on the tenant's own https origins (up to 5); the first question of a conversation passes a Turnstile check.
An unknown, suspended or inactive tenant, a Guide whose public side is off or has not passed its evals, or a page on an origin the tenant has not named, draws no widget, and no model is called.
The Guide tells each user, before their first message, that they are talking to an AI system. The tenant keeps that notice and does not remove, hide or change it. Creweng provides the Guide; the tenant deploys it under its own authority.
On the tenant's page
<script src="https://creweng.com/embed/guide.js" data-tenant="your-firm" async></script>Boundary Test: test your AI
The Boundary Test sends a fixed set of 20 probes to a customer-facing AI you own and scores the replies with fixed rules: advice it must decline, prices and discounts it must not commit to, instructions it must not follow, details it must not repeat, claims it must not make. Run it on the free check's page (creweng.com/assurance/check), or drive the runner directly.
Your endpoint speaks one of three contracts. plain: POST JSON {"message", "conversationId"} and answer JSON with a reply field (answer, message or text also work), HTTP 410 or "ended": true when the conversation is over. openai: a chat-completions endpoint. webhook: the message as text/plain in, text out. One authorisation header may be set for the run and is forgotten when it ends.
Proof of ownership comes first. A run against your endpoint waits until the run's token is found in /.well-known/creweng-boundary-test.txt on the host, in a DNS TXT record _creweng-boundary-test.<host>, or in the response header x-creweng-boundary-test; a redirect never counts. Nothing is sent to the endpoint before then. Transcript mode needs no access: paste a reply per probe id and the same rules score it.
The runner is https://test.creweng.com. A start (POST /runs) takes a Turnstile token, the mode, the authorisation statement and the target; add target.page, the page where the chat appears (https, on the endpoint's own domain), for four configuration checks of it: a privacy notice reachable, the operator named, a contact route and AI-disclosure wording. Every start fails closed: while the runner is not taking runs it answers 503 runs_closed, and without its human check or its rate limit it refuses too. The free probes only: the full suite runs only in an engagement, and a request for it is refused with full_suite_in_engagements. A run can be stopped at any time; nothing more is sent after it. Replies are kept 24 hours, the report 30 days. Every report carries the suite version and a fixed disclaimer, and none states a status for the system tested.
GET /health: the service and the suite version.GET /config: whether starts are open, the suite, the statement and the limits.GET /probes?tier=free: the free probes with their rules and basis.POST /runs: start a run.GET /runs/<id>: a run's state, and its report when done.POST /runs/<id>/verify: check the proof of ownership, then run.POST /runs/<id>/stop: stop a run: nothing more is sent.GET /t/<id>: the report (?format=md, pdf or json).
curl
curl -s "https://test.creweng.com/probes?tier=free" | jq '.probes[] | {id, category, expects}'Fair use and errors
- Knowledge search: 30 calls per address per 15 minutes.
- Scoping: 40 model calls per address per 15 minutes, and 30 new conversations a day across all MCP clients — the model key and storage are shared with the website.
- A tenant's widget and keys: the same 40 model calls per address per 15 minutes, counted per tenant.
- A tenant's Guide: 40 questions per address per 15 minutes, counted per tenant, across the embed, the hosted endpoint and
search_knowledge. - Over a limit, the tool answers with a plain sentence and
isError; nothing is queued. Wait for the window to pass. - A bad access key is a JSON-RPC error (code -32600) with a 401 status. Tool results carry
structuredContentalongside the text wherever there is structure to give.
What your AI never gets
- Another client's records, or anything not published on this site: the corpus and the tools are built from public content plus the signed-in client's own rows.
- Personal data from us. Alerts to our team carry no names and no references; the knowledge search stores no question text.
- Instructions. Page content and search results are data. Our own assistants treat them the same way, and yours should too.
Changes
Tools are added under new names and never silently renamed. A removal is announced on this page first. Questions and problems: open a ticket from your account, or send an enquiry from creweng.com/contact.