bagfacts MCP Server
Dutch address facts: BAG building data, energy labels and reviewed crime-signal sources.
bagfacts scores 66 (Good), licensed MIT and written in TypeScript. It installs as a local process. It declares 2 tools. Filed under Uncategorized. GitHub shows 0 stars. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.
Good trust
66 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- OSI-style license: mit.
License, quality and maintenance
Quality: Grade A
86/100 for listing completeness. Lost points: short summary, no docs link.
How quality is graded
Where the 66 comes from
22 + 20 + 0 + 10 + 4 + 10 = 66. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 20 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 0 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 10 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "cloudcorprecords-bagfacts": { "command": "npx", "args": [ "-y", "@reneturcios/bagfacts@0.1.0" ] } }}
Environment variables
This server does not declare environment variables.
Tools2Tool docs quality grade B
All capabilitiescrime_sourcestoolList the news articles behind the crime signals for a Dutch postcode (PC6 like 3024EW, or the 4-digit area like 3024): date, category, headline, source and link, newest first, at most 25, plus the same provenance bloc
lookup_addresstoolLook up one Dutch residential address (street + house number + city, or postcode + house number). Returns the BAG building facts, the registered EP-Online energy label, a summary of reviewed crime signals for the postcode
About
bagfacts
Before you judge a Dutch home by its listing photos, check what the registers say about it. bagfacts is a small forwarding client for the hosted Koopscan address service: the tool list is answered from your own machine using captured definitions, and each call travels upstream, with the service's answer handed back exactly as it arrived.
Both of the service's captured tools are exposed. Look up one residential address and get the resolved address, building facts from the Dutch BAG register (construction year, number of units), the dwelling's registered energy label from EP-Online, a summary of human-reviewed, news-based crime signals for the postcode with a provenance block, and school counts for the area — or list the actual news articles behind a postcode's crime signals, newest first.
The lookup key is always a place — a street address or a postcode — never a person. The crime material is a published dataset of reviewed news reports about an area, returned as-is with its sources; nothing here computes a risk score or a verdict about anyone, and where coverage does not reach, the upstream says so rather than implying an area is safe.
The tools
lookup_address— Look up one Dutch residential address (street + house number + city, or postcode + house number). Returns the BAG building facts, the registered EP-Online energy label, a summary of reviewed crime signals for the postcode (exact PC6, otherwise the 4-digit area, last 24 months) with its provenance block, and section links into the neighbourhood page. An optionallanguageargument (nlby default, oren) selects the language of labels, the disclaimer and the linked pages.crime_sources— List the news articles behind the crime signals for a Dutch postcode (PC6 like3024EW, or the 4-digit area like3024): date, category, headline, source and link, newest first, at most 25, plus the same provenance block aslookup_address. Also takes the optionallanguageargument.
Install and run
As an MCP server via npm:
npx -y @reneturcios/bagfacts mcp
MCP client configuration:
{
"mcpServers": {
"bagfacts": {
"command": "npx",
"args": ["-y", "@reneturcios/bagfacts", "mcp"]
}
}
}
As a container:
docker run -i ghcr.io/cloudcorprecords/bagfacts
docker run --rm ghcr.io/cloudcorprecords/bagfacts crime_sources '{"postcode":"3024EW"}'
CLI
A single binary covers both the command line and the MCP server. Every tool is a subcommand whose one argument is a JSON string of that tool's inputs:
bagfacts lookup_address '{"address":"Herengracht 1, 1015 BA Amsterdam","language":"en"}'
bagfacts crime_sources '{"postcode":"3024EW"}'
bagfacts --version
Exit codes: 0 for a successful forwarded call, 1 when the result that comes back is an error, and 2 for usage mistakes like an unknown subcommand or a JSON argument that does not parse.
Configuration
KOOPSCAN_MCP_URL— Replaces the upstream endpoint. Defaults to the pinned hosted endpoint,https://mcp.koopscan.com/mcp. (This override variable is a reconstruction introduced by this rebuild.)
The Koopscan registry record lists no headers for its remote, so bagfacts never attaches an authentication header — every call goes upstream keyless.
When the upstream cannot answer — it returns a JSON-RPC error, answers with a non-2xx status, sends a body that cannot be read, or the request itself fails — the caller receives an error result whose text begins with bagfacts error:.
How forwarding works
The first call of a process opens a session against the upstream: an initialize request (protocol version 2025-03-26), a notifications/initialized notification, and then the tools/call. If the service issues an Mcp-Session-Id header during initialize, bagfacts repeats it on subsequent requests and keeps reusing that one session until the process ends. Replies are understood in both plain JSON and server-sent-events framing. Successful results are passed through untouched, isError flag and any extra fields included.
Development
npm install
npm run build # tsc -> dist/ (dist/cli.js is the bin)
npm test # tsx --test test/*.test.ts — stubbed upstream, no network
npm run dev # run the CLI from source
The suite compares the served tool list against the captured surface tool for tool, walks the session handshake and its reuse, proves no Authorization header is sent under any environment, and confirms that arguments travel upstream unchanged and results return unchanged for both tools.
License
MIT — see LICENSE. Copyright (c) 2026 Rene Turcios.
Frequently asked questions
What is bagfacts MCP Server?
Dutch address facts: BAG building data, energy labels and reviewed crime-signal sources.
How do I install bagfacts MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. bagfacts MCP Server runs locally from the npm package @reneturcios/bagfacts with the command npx -y @reneturcios/bagfacts@0.1.0.
Is bagfacts MCP Server free and open source?
Yes. bagfacts MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does bagfacts MCP Server support remote (HTTP) connections?
No remote endpoint is listed for bagfacts MCP Server. It runs locally on your machine over stdio, started by your MCP client.
What tools does bagfacts MCP Server provide?
bagfacts MCP Server provides 2 tools: crime_sources and lookup_address. See the full tool list for descriptions and parameters.
How is bagfacts MCP Server's trust score calculated?
bagfacts MCP Server scores 66 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.