nl_schools_near_postcode
Pack: factline-nl · 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/nl_schools_near_postcode for the schema, then POST the same URL with its arguments for the data.
The nearest primary and secondary schools to a Dutch postcode, with name, address, denomination, pupil count, website, distance in km, and the latest end-of-primary test results (reading and maths share reaching target vs the national share) or secondary exam pass rates, from the national education register. Example: {“postcode”:“1011AB”} -> OBS IJplein 0.68 km, De Witte Olifant 0.84 km, … Returns source and data_as_of (latest register update date among the schools).
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
postcode | string | yes | Dutch postcode, 4 digits + 2 letters, e.g. “1011AB” |
Example call
Arguments
{
"postcode": "1011AB"
}
curl
curl -X POST https://gateway.pipeworx.io/factline-nl/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"nl_schools_near_postcode","arguments":{"postcode":"1011AB"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('nl_schools_near_postcode', {
"postcode": "1011AB"
});
Response shape
| Field | Type | Description |
|---|---|---|
found | boolean | |
source | string | |
data_as_of | string | |
cite_as | string | |
postcode | string | |
town | string | |
primary_count | number | |
secondary_count | number | |
primary | array | |
secondary | array |
Full JSON Schema
{
"type": "object",
"properties": {
"found": {
"type": "boolean"
},
"source": {
"type": "string"
},
"data_as_of": {
"type": "string"
},
"cite_as": {
"type": "string"
},
"postcode": {
"type": "string"
},
"town": {
"type": "string"
},
"primary_count": {
"type": "number"
},
"secondary_count": {
"type": "number"
},
"primary": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"level": {
"type": "string"
},
"name": {
"type": "string"
},
"street": {
"type": "string"
},
"postcode": {
"type": "string"
},
"town": {
"type": "string"
},
"municipality": {
"type": "string"
},
"denomination": {
"type": "string"
},
"structure": {
"type": "null"
},
"website": {
"type": "string"
},
"buurt": {
"type": "string"
},
"pupils": {
"type": "number"
},
"updated": {
"type": "string"
},
"distance_km": {
"type": "number"
},
"outcomes": {
"type": "object",
"properties": {
"year": {
"type": "number"
},
"reading_target_pct": {
"type": "number"
},
"maths_target_pct": {
"type": [
"null",
"number"
]
},
"national_reading_target_pct": {
"type": "number"
},
"national_maths_target_pct": {
"type": "number"
}
},
"additionalProperties": true
}
},
"additionalProperties": true
}
},
"secondary": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"level": {
"type": "string"
},
"name": {
"type": "string"
},
"street": {
"type": "string"
},
"postcode": {
"type": "string"
},
"town": {
"type": "string"
},
"municipality": {
"type": "string"
},
"denomination": {
"type": "string"
},
"structure": {
"type": "string"
},
"website": {
"type": "string"
},
"buurt": {
"type": "string"
},
"pupils": {
"type": "null"
},
"updated": {
"type": "string"
},
"distance_km": {
"type": "number"
},
"outcomes": {
"type": "object",
"properties": {
"school_year": {
"type": "string"
},
"exams": {
"type": "array",
"items": {
"type": "object",
"properties": {
"track": {
"type": "string"
},
"candidates": {
"type": "number"
},
"pass_rate_pct": {
"type": "number"
},
"avg_central_exam": {
"type": "number"
}
},
"additionalProperties": true
}
}
},
"additionalProperties": true
}
},
"additionalProperties": true
}
}
},
"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 factline-nl pack
{
"mcpServers": {
"factline-nl": {
"url": "https://gateway.pipeworx.io/factline-nl/mcp"
}
}
}
See Getting Started for client-specific install steps.