Brunei legal AI, grounded in the official text.
Add bruneilaws as an MCP server and Claude, ChatGPT, Cursor, or any other MCP client can search the Laws of Brunei, read the sections, and quote them as published — with your personal access token.
What grounded legal AI means here
A chat model asked about Brunei law answers from memory. It has read far less Brunei law than the law of its larger neighbours, so it fills the gaps with the nearest thing it knows — often another jurisdiction's statute wearing a Brunei name. Section numbers are exactly the detail that reconstructs wrong. Connecting bruneilaws replaces the memory with the text.
Answering from memory
Ask an unconnected assistant who may practise as an accountant in Brunei and you usually get a confident answer with a section number. The gist may be close. The number is a guess, and nothing in the answer separates the two.
Answering from bruneilaws
Connected, it resolves “Accountants Act” to Chapter 268 of the Laws of Brunei, reads the sections it needs, and answers from what they say — naming the Chapter, the 2023 revised edition, and the section each quotation came from.
Why the citation matters
The citation is what makes an answer usable at work. Given a Chapter and a section you can open the provision here or in the Attorney General's Chambers' own PDF, read it in full, and see what has amended it — so you are relying on the provision rather than on a summary of it. An answer with no citation cannot be checked, and an unverifiable answer about the law is not research.
What your assistant can read
Your assistant reads the same Brunei corpus this site serves: the Laws of Brunei from the Attorney General's Chambers, parsed into parts, sections, and subsections it can quote, rather than held as PDFs it would have to summarise.
Brunei corpus
- Act (Revised Edition Chapter)
- 286
- A law consolidated into a numbered Chapter of the revised Laws of Brunei.
- Subsidiary Legislation
- 277
- Rules, regulations, and notifications made under a Chapter or Order.
- Order
- 51
- A law made by His Majesty the Sultan and Yang Di-Pertuan, cited by gazette number, not yet consolidated into a Chapter.
- Constitution of Brunei Darussalam
- 3
- The supreme law of Brunei Darussalam. Every other law must be consistent with it.
Counted live from the corpus this site serves. How we source it.
How to connect
Two steps: issue a token, then paste one command into your client. The endpoint speaks streamable HTTP and authenticates with a bearer token, so any MCP client can use it.
Step 1: Create your token
Every connection authenticates with a personal token from your bruneilaws account. Tokens are shown once and can be revoked any time.
Create your tokenOptional — fills your token into the commands below. It stays on this page; nothing is stored or sent.
Step 2: Add bruneilaws to your client
https://bn-aturio.cancode.codes/api/mcpClaude: Adds the remote server with an Authorization header — works in Claude Code and the Claude CLI.
Set your token, then add the server
export LAWS_BN_MCP_TOKEN=laws_bn_REPLACE_WITH_YOUR_TOKEN
claude mcp add --transport http laws-bn https://bn-aturio.cancode.codes/api/mcp --header "Authorization: Bearer ${LAWS_BN_MCP_TOKEN}"- Server name
- laws-bn
- Endpoint
- https://bn-aturio.cancode.codes/api/mcp
- Transport
- Streamable HTTP
- Auth
- Bearer token
What to ask once it is connected
Ask in plain language and name the instrument if you know it. The assistant resolves the name to an instrument, reads the provisions it needs, and answers from that text — so ask it to cite and quote, and check what it quotes.
“Who may practise as a public accountant under the Accountants Act (Cap. 268)? Cite the exact sections.”
“Summarise a director's duties under the Companies Act (Cap. 39), with section citations.”
“What does the Employment Order say about notice of termination? Quote the provision.”
“Is this Chapter still in force? Check bruneilaws before answering.”
Prefer to try it without setting anything up? The same corpus answers in the browser, or start from search.
What it does not do
- It is not legal advice and it does not know your facts. It reports what a provision says, not what you should do about it.
- Coverage is not complete. When a law is not in the corpus the tools report it as absent, which means “not here” and never “does not exist”.
- Status and amendment history are derived from recorded relationships between laws. Check the Attorney General's Chambers before relying on an in-force date.
- Grounding gives the assistant the right text. It does not stop it reasoning badly about that text, so read the sections it quotes rather than only its summary of them.
Questions about Brunei legal AI
- What is grounded legal AI?
- An assistant that answers from the text of the law instead of from memory. bruneilaws gives your assistant read access to the Laws of Brunei over MCP, so an answer can name the Chapter and section it came from and quote it as published.
- How much Bruneian law can the assistant read?
- bruneilaws holds 617 Bruneian laws and spanning 1922 to 2026.
- Does it cover Bruneian court judgments?
- No. bruneilaws is a legislation corpus and holds no court judgments, so there is no case law here for the assistant to read. Ask it about legislation, and take judgments from the courts' own publisher.
- Which AI assistants can connect to bruneilaws?
- Any client that speaks the Model Context Protocol over streamable HTTP. The setup on this page covers Claude, the Codex CLI, Cursor, and VS Code; the same endpoint and bearer token work for any other MCP client.
- Does connecting bruneilaws cost anything?
- A bruneilaws account and the MCP tokens it issues are free. You pay only what your own assistant costs you to run.
- How is access secured?
- Each token belongs to one account, is shown once when created, and can be revoked at any time from your account page. Requests carry it as a bearer token over HTTPS.
- Can I rely on what the assistant says about Brunei law?
- Verify it first. bruneilaws is a free public interface, not the official publisher, and the assistant is a language model reading it. Open the section it cites and check it against the Attorney General's Chambers' text before relying on either.
A bruneilaws account is free, and the token it issues is what your assistant authenticates with.
Create your token