mn_law_search
Pack: mongolia-law · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)
No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/mn_law_search for the schema, then POST the same URL with its arguments for the data.
Search the laws and other legal acts of Mongolia in the official Unified Legal Information System (Ministry of Justice and Home Affairs) by words in the title, in Mongolian Cyrillic (e.g. “Хөдөлмөрийн тухай” for the Labour Law, “Эрүүгийн хууль”). Optional category: law, constitution, treaty, presidential_decree, parliament_resolution, government_resolution, ministerial_order and others. Returns law_id, title, category, approval and effective dates and a snippet; lists only acts the register marks valid. Use law_id with mn_law_get.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
query | string | yes | Words from the act title in Mongolian, e.g. “Хөдөлмөрийн тухай”. |
category | string | no | Kind of act: law, constitution, treaty, presidential_decree, parliament_resolution, government_resolution, constitutional_court, supreme_court, ministerial_order, agency_order, local_council, local_governor. Empty for all. |
match | string | no | ”all” (default): every word must be in the title; “any”: at least one. |
limit | number | no | Max results (default 20, max 100). |
Example call
Arguments
{
"query": "Хөдөлмөрийн тухай",
"category": "law",
"limit": 5
}
curl
curl -X POST https://gateway.pipeworx.io/mongolia-law/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"mn_law_search","arguments":{"query":"Хөдөлмөрийн тухай","category":"law","limit":5}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('mn_law_search', {
"query": "Хөдөлмөрийн тухай",
"category": "law",
"limit": 5
});
Response shape
| Field | Type | Description |
|---|---|---|
found | boolean | |
query | string | |
total_matches | number | |
returned | number | |
results | array | |
status | string | |
empty_reason | string | |
note | string | |
publisher | string | |
source | string | |
data_as_of | string |
Full JSON Schema
{
"type": "object",
"properties": {
"found": {
"type": "boolean"
},
"query": {
"type": "string"
},
"total_matches": {
"type": "number"
},
"returned": {
"type": "number"
},
"results": {
"type": "array",
"items": {
"type": "object",
"properties": {
"law_id": {
"type": "string"
},
"title": {
"type": "string"
},
"category": {
"type": [
"string",
"null"
]
},
"approved_date": {
"type": [
"string",
"null"
]
},
"effective_date": {
"type": [
"string",
"null"
]
},
"snippet": {
"type": [
"string",
"null"
]
},
"url": {
"type": "string"
}
},
"additionalProperties": true
}
},
"status": {
"type": "string"
},
"empty_reason": {
"type": "string"
},
"note": {
"type": "string"
},
"publisher": {
"type": "string"
},
"source": {
"type": "string"
},
"data_as_of": {
"type": "string"
}
},
"additionalProperties": true
}
Connect
Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:
{
"mcpServers": {
"pipeworx": {
"url": "https://pipeworx.io/mcp"
}
}
}
Connect to just the mongolia-law pack
{
"mcpServers": {
"mongolia-law": {
"url": "https://gateway.pipeworx.io/mongolia-law/mcp"
}
}
}
See Getting Started for client-specific install steps.