py_ruc
Pack: paraguay-dnit-ruc · 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/py_ruc for the schema, then POST the same URL with its arguments for the data.
Look up a Paraguayan company by RUC (individuals not included) in the DNIT list.
Tool description as the model sees it
Look up one Paraguayan company by RUC in the DNIT (Paraguay tax authority) taxpayer list: tax id with check digit, registered name, status (active, suspended, blocked, cancelled), and the previous tax id (the list’s old code). Companies only (8-digit RUCs with prefix 80): individuals are NOT included, because their names are personal data this service does not serve, so a personal RUC answers found:false, reason natural_person_not_covered, which means not covered rather than not found (it says nothing about whether that RUC exists). Accepts 80000010, 80000010-2 or 800000102; a wrong check digit is reported. Use for KYC and counterparty checks or resolving a RUC on an invoice.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
ruc | string | yes | The RUC, with or without check digit: “80000010”, “80000010-2” or “800000102”. |
Example call
Arguments
{
"ruc": "80000030-7"
}
curl
curl -X POST https://gateway.pipeworx.io/paraguay-dnit-ruc/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"py_ruc","arguments":{"ruc":"80000030-7"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('py_ruc', {
"ruc": "80000030-7"
});
Response shape
| Field | Type | Description |
|---|---|---|
found | boolean | |
ruc | string | null | |
tax_id | string | null | |
check_digit | number | |
check_digit_valid | boolean | |
name | string | null | |
holder_type | string | null | |
status | string | null | |
status_gloss | string | null | |
is_active | boolean | |
previous_tax_id | string | null | |
data_as_of | string | null | |
source | string | null | |
reason | string | null | |
expected_check_digit | number | |
message | string | null | |
hint | string | null | |
supplied_check_digit | number |
Full JSON Schema
{
"type": "object",
"properties": {
"found": {
"type": "boolean"
},
"ruc": {
"type": [
"string",
"null"
]
},
"tax_id": {
"type": [
"string",
"null"
]
},
"check_digit": {
"type": "number"
},
"check_digit_valid": {
"type": "boolean"
},
"name": {
"type": [
"string",
"null"
]
},
"holder_type": {
"type": [
"string",
"null"
]
},
"status": {
"type": [
"string",
"null"
]
},
"status_gloss": {
"type": [
"string",
"null"
]
},
"is_active": {
"type": "boolean"
},
"previous_tax_id": {
"type": [
"string",
"null"
]
},
"data_as_of": {
"type": [
"string",
"null"
]
},
"source": {
"type": [
"string",
"null"
]
},
"reason": {
"type": [
"string",
"null"
]
},
"expected_check_digit": {
"type": "number"
},
"message": {
"type": [
"string",
"null"
]
},
"hint": {
"type": [
"string",
"null"
]
},
"supplied_check_digit": {
"type": "number"
}
},
"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 paraguay-dnit-ruc pack
{
"mcpServers": {
"paraguay-dnit-ruc": {
"url": "https://gateway.pipeworx.io/paraguay-dnit-ruc/mcp"
}
}
}
See Getting Started for client-specific install steps.