Use with agents
geoprims runs as a local MCP server, so an AI agent gets the same calculators and the same answers as this site. It runs on your machine over stdio, has no npm dependencies, and makes no network requests.
Get the server
Clone the v0.1.0 release. It carries the built calculators, so it runs with Node 22 or newer and nothing else. Then replace /abs/path/geoprims below with your clone's path.
git clone --branch v0.1.0 --depth 1 https://github.com/clay-good/geoprimsOr download the release as a zip from GitHub. Claude Desktop can also install thegeoprims-0.1.0.mcpb file from the same page in one click. To build from source instead, clonemain and run npm run build (it needs Rust via rustup and binaryen wasm-opt).
Add it to your client
Claude Code
Run in a terminal
claude mcp add geoprims -- node /abs/path/geoprims/mcp/server.mjsClaude Desktop
Settings, Developer, Edit Config: claude_desktop_config.json
{
"mcpServers": {
"geoprims": {
"command": "node",
"args": [
"/abs/path/geoprims/mcp/server.mjs"
]
}
}
}VS Code
.vscode/mcp.json in your workspace
{
"servers": {
"geoprims": {
"type": "stdio",
"command": "node",
"args": [
"/abs/path/geoprims/mcp/server.mjs"
]
}
}
}Cursor
.cursor/mcp.json in your project, or ~/.cursor/mcp.json
{
"mcpServers": {
"geoprims": {
"command": "node",
"args": [
"/abs/path/geoprims/mcp/server.mjs"
]
}
}
}Windsurf
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"geoprims": {
"command": "node",
"args": [
"/abs/path/geoprims/mcp/server.mjs"
]
}
}
}What the agent sees
Six tools that reach every calculator, so the tool list stays small:
geoprims_search: Search geoprims toolsgeoprims_describe: Describe geoprims toolsgeoprims_run: Run a geoprims toolgeoprims_pipeline: Run a chain of geoprims toolsgeoprims_convert_units: Convert unitsgeoprims_report_problem: Prepare a problem report
Results are the same envelope this site computes, byte for byte, with the plain-language summary, the model, accuracy, and warnings. Aviation, drone, navigation, and magnetic results also carry the notice that they are planning aids and not for primary navigation.
Workflow prompts
preflight-performance: Pressure altitude, density altitude, and runway wind components for a departure, with the crosswind checked against a limit.photogrammetry-mission: Flight height for a target ground sample distance, then trigger interval and line spacing at the chosen overlaps, and the longest exposure that keeps motion blur under half a pixel.traverse-closure: Closes a traverse from its courses and reports misclosure, its bearing, and precision ratio.coordinate-conversion-audit: Parses a coordinate in any common notation, converts it to UTM, and converts back to show the round-trip error.h3-resolution-choice: Picks the H3 resolution whose average cell area is closest to a target, then shows the cell at a location and its real area there.
Options
| Option | Effect |
|---|---|
--toolsets=<name,...> | Also lists each stable tool in the named toolsets as its own tool, named gp_ plus the id with dots as underscores. |
--no-meta | With --toolsets, lists only those tools. |
--timeout=<ms> | Per-call time limit (default 10,000). |
--debug | Logs argument values to stderr (off by default). |
--allow-asset-download | Accepted. Every dataset the tools use today is built in, so there is nothing to download yet. |
Toolsets
Only stable tools join a toolset, so toolsets grow as tools are promoted.
Offline
The magnetic models (WMM2025 and IGRF-14), the EGM96 geoid, the leap-second table, and the time zone rules are built into the modules, so every tool works with no connection.