Vietnamese law for your AI app
Building an accounting assistant, a contract checker or an HR chatbot? Theo Luật lets your model look up Vietnamese law over MCP or a REST API, at a much lower cost per answer than letting the model search the web.
The same accuracy at a lower cost
We measured 60 hard legal questions with three OpenAI models through the API. The table shows the model cost per answer (tokens and search fees), not including Theo Luật's own price.
| Model | Web search | Theo Luật | Wrong answers out of 60, both ways |
|---|---|---|---|
| GPT-6.2 Sol | 0.15 USD | 0.06 USD | 0 and 1 |
| GPT-6.1 Terra | 0.07 USD | 0.03 USD | 1 and 1–2 |
| GPT-6 Luna | 0.07 USD | 0.01 USD | 3 and 4 |
With a small model, most of the cost of web search is the search fee and the tens of thousands of tokens of web pages it has to read. Theo Luật returns the clause itself, so a small, cheap model can still answer. With Claude Sonnet 5.5, Theo Luật also halves the wrong answers; see the Claude numbers.
Structured results, not web pages
Every provision comes back with the period it was in force and a link to the original, so your app can show the citation and check it again:
GET /v1/unit?citation=điểm c khoản 7 Điều 7 Nghị định 168/2024/NĐ-CP
{
"citation": "điểm c khoản 7 Điều 7 Nghị định 168/2024/NĐ-CP",
"text": "c) Không chấp hành hiệu lệnh của đèn tín hiệu giao thông;",
"valid_from": "2025-01-01",
"valid_to": null,
"in_force": true,
"document": { "number": "168/2024/NĐ-CP", "type": "Nghị định", "issuer": "Chính phủ" },
"source_url": "https://vbpl.vn/van-ban/chi-tiet/..."
}
- Ask by date. Add
as_of=2023-06-01to get the version in force on that day. - History and relations. Every version of an article, and which documents amend, replace or give guidance on it.
- Citation checking. Send a passage; get back whether each citation holds on a given date.
- Change tracking. List documents issued, taking effect or lapsing within a period.
All nine tools are listed on the data and tools page.
Works with any model
Theo Luật is a remote MCP server (Streamable HTTP) with a matching REST path for each tool. Models without web search, open-source models and models running on your own infrastructure can all use it, as long as they can make an HTTP call.
curl -G "https://mcp.theoluat.vn/v1/search" \ --data-urlencode "q=thời hạn nộp tờ khai thuế GTGT" \ -H "Authorization: Bearer <your key>"
Price
30 lookups a day are free for trying it out. Pro is 99,000 VND a month for 1,000 lookups a day; one answer usually takes 3 to 12 lookups depending on the model. For a higher allowance for your product, write to hotro@theoluat.vn. Details on the pricing page.
Start
- Sign in and create an API key.
- Add the MCP server to your tool (Claude Code, Cursor, Codex) or call the REST API directly.
- Ask a question with a specific date and look at the citation that comes back.