v2rmp
Route optimization TUI with OSM/Overture Maps support - Rust implementation of rmpca
Documentation
rmpca - Route Optimization Engine
High-performance route optimization for road networks. Solve Chinese Postman Problem (CPP) and Vehicle Routing Problem (VRP).
Features
- CPP Solvers: Internal Rust solver + external `rust-optimizer` (5-8x faster, 20-60% better efficiency)
- VRP Solvers: Greedy, Clarke-Wright, Sweep, Two-Opt, OR-Tools, Neural
- Data Sources: Overture Maps, OSM PBF, PMTiles, PostGIS
- Binary Format: `.rmp` - compact binary road network storage (~90% compression)
- MCP Server: 25+ tools for AI agent integration
- ML Features: Solver selection, quality prediction, graph embeddings
Installation
cargo install v2rmpFor better CPP results, install the external optimizer:
cargo install rust-optimizerQuick Start
# Extract road network
rmpca extract --source overture --bbox "-73.6,45.5,-73.5,45.6" --output roads.geojson
# Compile to binary
rmpca compile --input roads.geojson --output map.rmp
# Optimize route (use external engine for best results)
rmpca optimize --input map.rmp --output route.gpx --cpp-engine external-rust-optimizer
# Or use the full pipeline
rmpca pipeline --bbox "..." --output-prefix my_routeCLI Commands
| Command | Description |
|---|---|
| `extract` | Download road data from Overture/OSM/PMTiles |
| `compile` | Convert GeoJSON to .rmp binary |
| `optimize` | Solve CPP on .rmp map |
| `vrp` | Solve Vehicle Routing Problem |
| `serve` | Start MCP JSON-RPC server |
| `clean` | Repair GeoJSON road networks |
| `partition` | Split graph into zones |
| `elevation` | Query DEM elevation data |
MCP Server
Connect AI agents to v2rmp with 25+ tools:
{
"mcpServers": {
"rmpca": {
"command": "rmpca",
"args": ["serve"]
}
}
}Tools: `extract_overture`, `compile`, `optimize`, `v2rmp_rust_optimizer`, `vrp_solve`, `partition`, `list_r2_bucket`, etc.
🤖 Offline AI Agent
`v2rmp` features a specialized, 100% offline LLM agent designed to orchestrate the route optimization pipeline. Built on a fine-tuned 1.5B parameter model, it translates natural language routing requests directly into tool commands—without needing internet access or cloud APIs.
# Pull and run the local agent via Ollama
ollama run spacialglaciercom/v2rmp-agentFor more info, visit the Ollama Hub page.
Performance
| Metric | Internal Engine | External rust-optimizer |
|---|---|---|
| Efficiency | ~23-53% | ~72-87% |
| Speed | ~900-1400ms | ~160-180ms |
| Route Length | Longer | 20-60% shorter |
License
MIT OR Apache-2.0
Frequently asked questions
What is v2rmp?
v2rmp is Route optimization TUI with OSM/Overture Maps support - Rust implementation of rmpca
How do I install v2rmp?
Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.
Is v2rmp open source?
Yes — it is hosted on GitHub at https://github.com/spacialglaciercom-lab/v2rmp.
Related MCP tools
YC (S26) | Open Computer History | Record your screen continuously locally and provide context to your agents (Claude, Codex, Openclaw, Hermes, Runner...)
Fast, local-first web content extraction for LLMs. Scrape, crawl, extract structured data — all from Rust. CLI, REST API, and MCP server.
Markdown knowledge graph — LSP for your editor, CLI + MCP memory for your AI agents
Give your AI agent eyes for PDFs — structured text, tables, OCR, visual evidence, and page-level citations via MCP. Native Rust, local-first.
an open source, extensible AI agent that goes beyond code suggestions - install, execute, edit, and test with any LLM
Search infrastructure for AI
Run your own MCP server? See who uses it and what to fix.
Measure it with TrackMCP