Drive RidgeCast from an AI assistant
RidgeCast ships an MCP server, ridgecast-mcp,
that exposes the terrain, propagation and network-planning engine to an AI
assistant. The assistant can then answer questions such as where to put a node,
whether two sites can communicate, or what signal an address would receive.
The server runs without a desktop window or map and shares the application’s terrain, land-cover and population caches. Basic and Advanced control the desktop interface. The server exposes the same tools regardless of the selected desktop mode.
This guide assumes you are comfortable with RidgeCast’s own concepts. If a term here is unfamiliar, start with the glossary. For the complete tool list and every argument, see the MCP server reference.
Register a packaged server
Section titled “Register a packaged server”The Windows release ZIP includes ridgecast-mcp.exe alongside the desktop
executable. Extract the entire directory, then configure your assistant’s MCP
client with an absolute executable path. For example, a client accepting the
common JSON configuration shape can use:
{ "mcpServers": { "ridgecast": { "command": "C:\\Users\\you\\Apps\\RidgeCast\\ridgecast-mcp.exe", "args": [ "--offline", "--allow-dir", "C:\\Users\\you\\Documents\\RidgeCast", "--workspace", "C:\\Users\\you\\AppData\\Local\\RidgeCast\\workspace", "--limitation-log", "C:\\Users\\you\\Documents\\RidgeCast\\mcp-limitations.md" ] } }}Create the writable log and network directories first and substitute your
actual paths. Repeat --allow-dir for each directory the assistant should be
permitted to access for networks, exports, or coverage artifacts (if omitted, the
server only permits paths inside its working directory).
Important: The example above includes
"--offline", which locks downloads off so the assistant can only read already-cached data. Remove"--offline"from"args"if you want the assistant to fetch missing terrain, land cover, or population data. JSON uses doubled backslashes; paths with spaces remain a single string and do not need embedded quotes.--workspacepoints the server at the folder the installed desktop keeps its terrain and land-cover source settings in, so both use the same sources whatever folder your client starts the server in. The default cache root is shared with the desktop; supply--cache-dirand an absolute writable path to choose a separate root (see Options below for all flags including--gpu). No source checkout or running desktop session is needed. Check available options with:
& 'C:\Users\you\Apps\RidgeCast\ridgecast-mcp.exe' --helpUse your client’s executable registration workflow for this packaged command.
The source-based cargo instructions below remain available for developers.
What it can and cannot do
Section titled “What it can and cannot do”The server covers a deliberate subset of the application:
| Available | Not available |
|---|---|
| Open, create, merge and save networks | Image export to PNG or animated GIF |
| Add, edit and remove nodes | LiDAR tile staging and selection |
| Terrain, land cover and population at a point | Desktop Packet Delivery analysis |
| Online US street-address lookup and offline US state-center lookup for orientation | Place-name searches for cities, businesses, parks and landmarks |
| Terrain profiles between two points | |
| Full link budgets, both directions | |
| Signal strength at an arbitrary point | |
Solving a network’s links (solve_links) |
|
| Reachability, critical sites, routes, N-1 failure sweeps, throughput | |
| Coverage maps, by area and population | |
| Coverage export to KML, KMZ, GeoJSON, GeoTIFF, CSV | |
| Antenna height solving | |
| Candidate site search over an area | |
| Repeater chain proposals | |
| FCC amateur data queries and lookup | |
| Shared system profile creation and editing | |
| Radio Mobile network import |
Ask the assistant to call server_capabilities for the tools available in your
installed server.
For Packet Delivery analysis, switch the desktop to Advanced and open Analysis → Packet Delivery…. The workbench offers a network-wide probability map, a single-target estimate, and a target-circle probability map.
Two things are worth knowing before you start:
- Links are calculated results that can be saved. Opening a network restores any directed links in its file; a new network has none. Resilience and routing analyses need those results, and saved links may reflect older assumptions. Ask the assistant to solve links when they are absent or the radio inputs or model settings have changed.
- For one place, ask about that place. Signal at a single address is seconds of work. A coverage map over an area is minutes. Both are available, so say which question you mean.
Build and register the server
Section titled “Build and register the server”Build it once:
cargo build --release --package ridgecast-mcpThe repository includes an .mcp.json that registers the server for MCP clients
started in the project directory, so a client launched there finds it with no
further configuration.
To register it manually with Claude Code (the trailing -- separates Claude’s options from the Cargo command):
claude mcp add ridgecast -- cargo run --quiet --release --locked --package ridgecast-mcp --Confirm it starts:
./target/release/ridgecast-mcp --helpOptions
Section titled “Options”| Option | Effect |
|---|---|
--allow-dir <PATH> |
Permitted directory for file operations. Repeatable. Defaults to current working directory if omitted. Enforces real path containment and prevents symlink escape. |
--cache-dir <PATH> |
Cache root. Defaults to the desktop application’s, sharing downloads. |
--offline |
Never download. Uncached data is reported unavailable rather than guessed. The assistant cannot override it. |
--gpu |
Use GPU acceleration where the propagation model allows it. |
--limitation-log <PATH> |
Where gap reports are appended. Defaults to docs/review/mcp-limitations.md. |
--workspace <DIR> |
Folder to read terrain_config.json and landcover_sources.json from. Defaults to the working directory. |
The server speaks the protocol on standard input and output; diagnostics go to standard error.
Ask for something
Section titled “Ask for something”With the server registered, ask in plain language. The bundled ridgecast
skill teaches the assistant how to sequence the tools. To follow these examples,
save first-network.yaml from the first-network tutorial
in an allowed directory and give the assistant the full path to your file.
- “How much coverage can someone expect at 915 NW 45th St, Seattle, WA 98107 with first-network.yaml?”
- “Find the best spot for a node within 3 km of 47.669, -122.384.”
- “Can my site at 47.676, -122.355 reach 47.669, -122.384?”
- “Excluding forest, propose a repeater chain between these two nodes.”
Name a file, always
Section titled “Name a file, always”The server never loads a network on its own. A request about “our network” fails until you name a file. Give a path the first time:
Looking at
C:\Users\you\Documents\RidgeCast\first-network.yaml, how should we extend coverage toward Ballard?
All file paths must reside inside a directory specified by --allow-dir (or
the server’s working directory if none was configured). Network and device
paths (\\host, \\?\, \\.\, /dev, /proc, and DOS device names) are
rejected, and tools only accept appropriate file extensions (.json, .yaml,
.yml for networks, .csv for link lists, .rccov for coverage artifacts).
Locations
Section titled “Locations”resolve_place looks up US street addresses through the US Census geocoder
when the server is online. A two-letter US state code such as WA resolves
offline to the state’s approximate center. Use that center to orient an area of
interest and supply actual site coordinates for a radio prediction.
For cities, businesses, parks and landmarks, the assistant finds coordinates from its own sources and asks you to confirm them before a long run.
What you should expect, and can hold it to:
- It tells you where a coordinate came from, rather than reporting results about an unnamed point.
- It asks you to confirm before starting anything that takes minutes.
- It never quietly substitutes a nearby guess. A plausible wrong coordinate is the worst outcome here, because every prediction after it is confidently about the wrong place and nothing in the output shows it.
Supply coordinates directly when you have them; that removes the ambiguity entirely.
Say what radio you mean
Section titled “Say what radio you mean”Predictions depend on the antenna height, transmit power and gain assumed. The defaults are a modest 1.5 m handheld, chosen because an optimistic default would overstate coverage. If you are planning around a mast, say so:
…at 47.669, -122.384 with a 20 m antenna.
Every result states the assumptions it used. Read them.
Expect long operations to take minutes
Section titled “Expect long operations to take minutes”Site scans and chain searches return a job handle and run in the background. The assistant polls it.
Terrain downloads happen first. For an area RidgeCast has not seen, that can be hundreds of tiles, so ask the assistant to check readiness before committing:
Before scanning, tell me how much terrain that would download.
Scan cost is dominated by candidate spacing: halving it roughly quadruples the work. Start at 200 m or coarser, then refine the promising part.
You can stop a running job at any time - ask the assistant to cancel it.
Editing and saving
Section titled “Editing and saving”Edits change the server’s memory only. Nothing reaches disk until you ask for a save, and replacing an existing file requires explicit confirmation, so a mistaken filename cannot destroy a network.
Moving a node or changing its radio clears the calculated links, because those
were solved against a network that no longer exists. Ask the assistant to run
solve_links, wait for completion, and explicitly save if the refreshed links
should be kept. The desktop’s Analysis → Recalculate → All Links is an alternative.
Comparing candidate locations does not require editing anything. Asking “which of these places would serve the most people” computes coverage from the coordinates directly, so nothing is added to your network and there is nothing to undo.
When RidgeCast cannot answer
Section titled “When RidgeCast cannot answer”The assistant records gaps through report_limitation: what was asked, what was
tried, and what was missing. The file is the configured --limitation-log path.
The default docs/review/mcp-limitations.md is relative to the server’s working
directory; it lands in the repository when the server starts there. For a
packaged server, choose an absolute writable path as in the registration example.
If writing fails, the assistant should report that failure rather than say the
gap was recorded. See the log-path reference.
Read it periodically. It is a list of feature requests written from real tasks rather than guessed at. Treat the entries as field reports to triage, not as agreed work.
Related pages
Section titled “Related pages”- MCP server reference - every tool and argument
- Evaluate a radio link - the same analysis in the application
- Find and validate a candidate site - the interactive Site Finder
- Model limitations - what the predictions do and do not mean
- Work offline and manage cached data - the caches the server shares