API

Plain HTTP, JSON, no key needed on the demo. Base URL:

Route a task


Returns tools (name, server) and traversal_ms. If nothing matches it returns no_confident_match.

Teach it


List the tools a finished task really used, in order, as server__name (see /tools). Limit: 10 lessons per hour per visitor.

Agent loop


Other endpoints

GET /tools catalog ids. GET /eval held-out metrics. GET /bench load test (one at a time). GET /status persistence. GET /health.

Use it from Claude (MCP)

An MCP server that lets Claude ask Desire Path which tools a task needs. It runs on your machine and calls this site. Three tools: route_tools, list_catalog, and teach_tools (off by default, because the demo graph is shared).

claude mcp add desire-path -- python3 /path/to/desire-path/scripts/dp_mcp.py

Tested from the command line. Not yet verified inside Claude Desktop or Claude Code. A client still loads its other tools as usual; the saving comes when the agent calls route_tools first. Setup details are in the README.