mn_law_get
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_get for the schema, then POST the same URL with its arguments for the data.
Read a Mongolian law or legal act from the official Unified Legal Information System: title, type, adoption date, status as the register states it (null when it does not) and the list of articles; with article (e.g. “5”), the Mongolian text of that article (зүйл). Give law_id from mn_law_search.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
law_id | string | yes | law_id from mn_law_search, e.g. “16230709635751” (Labour Law 2021). |
article | string | no | Article number, e.g. “5”. Omit for the article list. |
Example call
Arguments
{
"law_id": "16230709635751",
"article": "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_get","arguments":{"law_id":"16230709635751","article":"5"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('mn_law_get', {
"law_id": "16230709635751",
"article": "5"
});
Response shape
| Field | Type | Description |
|---|---|---|
found | boolean | |
reason | string | |
law_id | string | |
title | string | |
act_type | string | null | |
adopted | string | null | |
status | string | null | |
status_statement | string | null | |
citation | string | |
url | string | |
article | string | |
article_heading | string | |
text | string | |
truncated | boolean | |
article_count | number | |
articles | array | |
note | string | |
publisher | string | |
source | string | |
data_as_of | string |
Full JSON Schema
{
"type": "object",
"properties": {
"found": {
"type": "boolean"
},
"reason": {
"type": "string"
},
"law_id": {
"type": "string"
},
"title": {
"type": "string"
},
"act_type": {
"type": [
"string",
"null"
]
},
"adopted": {
"type": [
"string",
"null"
]
},
"status": {
"type": [
"string",
"null"
]
},
"status_statement": {
"type": [
"string",
"null"
]
},
"citation": {
"type": "string"
},
"url": {
"type": "string"
},
"article": {
"type": "string"
},
"article_heading": {
"type": "string"
},
"text": {
"type": "string"
},
"truncated": {
"type": "boolean"
},
"article_count": {
"type": "number"
},
"articles": {
"type": "array",
"items": {
"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.