mcp-new-caledonia
# mcp-new-caledonia
[](https://github.com/lacausecrypto/mcp-new-caledonia/actions/workflows/ci.yml)
[](https://www.npmjs.com/package/mcp-new-caledonia)
[](https://www.npmjs.com/package/mcp-new-caledonia)
[](https://www.npmjs.com/package/mcp-new-caledonia)
[](https://github.com/lacausecrypto/mcp-new-caledonia/blob/main/LICENSE)
MCP server for New Caledonia open data ([data.gouv.nc](https://data.gouv.nc/)): RIDET companies, job offers, public holidays, the 2019 census, nickel production and the Tanéo GTFS feed, plus ODSQL queries over the whole catalog. Read-only, no API key, `stdio` for Claude Code, Claude Desktop and any MCP client.
## What It Covers
| Group | Tools |
|---|---|
| Administration | `nc_get_public_holidays`, `nc_is_public_holiday`, `nc_get_upcoming_holidays`, `nc_get_digital_fragility_index` |
| Companies (RIDET) | `nc_search_companies`, `nc_get_company`, `nc_get_companies_by_sector`, `nc_get_company_statistics` |
| Employment | `nc_search_job_offers`, `nc_get_job_seeker_stats`, `nc_get_partial_unemployment` |
| Mining | `nc_get_metal_production` |
| Geography | `nc_get_public_facilities`, `nc_search_facilities`, `nc_get_vehicle_stats` |
| 2019 census | `nc_get_population_stats`, `nc_get_demographics_by_age`, `nc_get_transport_modes` |
| Tourism & transport | `nc_get_gr_trail`, `nc_get_taneo_info` (GTFS download links) |
| Whole catalog | `nc_search_datasets`, `nc_get_dataset_schema`, `nc_query_dataset` (raw ODSQL) |
**23 tools**, all read-only (`readOnlyHint`). The catalog tools reach any queryable dataset of data.gouv.nc that has no dedicated tool.
## Why This Package
- No API key required
- Official OpenDataSoft Explore v2.1 API
- Every tool is covered by a live end-to-end test against the real API
- Failures are reported to the model as `isError` results with the upstream ODSQL error, never as empty data
- User input is escaped for ODSQL (quotes, backslashes, LIKE wildcards)
## Install
```bash
npm install -g mcp-new-caledonia
```
Or run directly with:
```bash
npx mcp-new-caledonia
```
## Claude Code
```bash
claude mcp add new-caledonia -- npx -y mcp-new-caledonia
```
## Claude Desktop
```json
{
"mcpServers": {
"new-caledonia": {
"command": "npx",
"args": ["mcp-new-caledonia"]
}
}
}
```
## Local Development
```bash
npm install
npm run check # lint (Biome) + typecheck + unit tests + build
npm run test:live # end-to-end test of every tool against data.gouv.nc
npm run dev
```
## Release
1. Bump the version in `package.json` and `server.json` (they must match), update `CHANGELOG.md`.
2. Publish to npm manually: `npm publish` (runs the build through `prepack`).
3. Push the `vX.Y.Z` tag: the `Publish MCP Registry` workflow checks the versions match, runs the gate, checks the version is on npm and publishes `server.json` to the MCP Registry.
## Production Notes
- Runtime: Node.js 22+
- Transport: `stdio`
- Upstream API: `https://data.gouv.nc/api/explore/v2.1`
- Authentication: none
- Source data is mostly in French; census values are raw ISEE codes
## License
MIT
TDQS
Scored across 29 tools
Most tools have clearly distinct purposes, covering different domains like holidays, companies, mining, and census. A few pairs (e.g., nc_get_public_facilities vs. nc_search_facilities, nc_get_weather_stations vs. nc_get_rain_stations) could be confused, but their descriptions clarify the distinction. Overall, the risk of misselection is low.
All tools follow a strict pattern of `nc_` prefix followed by a lowercase verb (get, search, is) and a snake_case noun phrase. There is no mixing of camelCase or inconsistent verb styles. This makes the tool names predictable and easy to navigate.
With 29 tools, the count is above the typical heavy range (16-25), which could feel overwhelming. However, the server's scope is exceptionally broad, covering diverse public datasets from holidays to mining to transit. The count is justified by the wide domain, though it remains at the upper edge of appropriateness.
The tool surface provides strong coverage across the major data domains for New Caledonia, including companies, employment, environment, infrastructure, and demographics. Minor gaps exist, such as missing tools for education or tourism statistics, but the core workflows for the apparent purpose are well represented.