MCP tool · Regulatory Database
database_search
Searches and lists the regulations of your regulatory database, the same list as its Database page, with their status, key dates and official links.
Description
The description the model reads, as the server declares it:
Search and list the regulations of the signed-in user's OWN Obsidian regulatory database: exactly the list of the Database page of their account (the regulations selected for their account and the acts their entities are subject to, within their jurisdictions). Each result has its status, key date, next step, the law's last change, frameworks, the user's entities it applies to, authorities and official source link. Use it for obligations, deadlines, "what applies to us", "what is coming", "what changed", or to find a regulation by name or reference.
Parameters
| Argument | Type | Required | Description |
|---|---|---|---|
query | string | optional | Optional search words, every word required, matched on the title, short title, reference, jurisdiction, authorities, industries, frameworks and entity names (e.g. "packaging waste", "2014/40", "REACH"). |
jurisdiction | string | optional | Optional comma list of jurisdiction ids or names, e.g. "EU", "CH" or "EU,US". |
industry | string | optional | Optional comma list of industry ids or names (see database_overview). |
framework | string | optional | Optional comma list of framework ids or names (see database_overview). |
status | string | optional | Optional comma list among in_force, adopted, proposed, consultation, expected, repealed, withdrawn. |
entity | string | optional | Optional comma list of the user's entity ids or names: only the regulations that apply to them. |
sort | string | optional | Optional. "title" (default), "updated" (the law's most recent change first) or "next" (the nearest coming step first, for deadlines). |
cursor | string | optional | The next cursor printed at the end of a previous call, to read the following page. |
limit | integer | optional | Results per page (default 20, max 50). |
Returns
A Markdown text: how many of the regulations of the database match, then one section per regulation with its id, jurisdiction, status, reference, key date, next step, the law's last change, frameworks, industries, the entities it applies to, authorities, official source and Obsidian link. When more results exist, the last lines give the cursor of the next page. A query on a topic Obsidian excludes returns the exclusion notice instead of results.
Example
Prompt
Which regulations in our database have a deadline in the next six months?Tool call
The tools/call request the client sends (JSON-RPC over Streamable HTTP):
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "database_search",
"arguments": {
"query": "packaging",
"jurisdiction": "EU",
"sort": "next",
"limit": 1
}
}
}Output
The text the tool returns for this call, on example data (generic values, not real records):
3 of the 148 regulations of the user's Obsidian regulatory database match "packaging"; showing 1:
### Example: Regulation on packaging and packaging waste
- id: EU/example-packaging-regulation | Jurisdiction: European Union | Status: In force
- Short title: Example PPR
- Reference: Regulation (EU) 2025/0000
- Applies from: 2026-08-12
- Next step: Labelling obligations apply on 2027-01-01
- Law last changed: 2026-10-03
- Frameworks: Example circular economy framework
- Industries: Packaging
- Applies to the user's entities: Example Europe GmbH (Applies)
- Authorities: European Commission
- Official source: https://www.example.org/official/text/2025-0000
- In Obsidian: https://app.obsidianri.com/database/EU/example-packaging-regulation
More regulations match: call database_search again with cursor="1" and the same filters.
Cite the official source link of every regulation you use. For the full detail of one regulation (summary, timeline, recent changes, why it applies), call database_regulation with its id.To build it, the server sends this query to GET /v1/database/search: q=packaging, jurisdiction=EU, sort=next, limit=1.
Errors
A tool never fails with a protocol error for an account problem: it returns a message for the model to relay (over the allowance, too many requests, a module not part of your access, a regulation outside your database). Every message is on Errors and limits.