ContextLLM

MCP Documentation

Your agent can ask for the latest technology over our ContextLLM MCP for deep research and planning.

Connection

Endpoint: https://jas15.com/api/contextllm/mcp

{
  "mcpServers": {
    "trucopilot-contextllm": {
      "url": "https://jas15.com/api/contextllm/mcp",
      "headers": { "Authorization": "Bearer YOUR_TOKEN" }
    }
  }
}

Get a token at Account → ContextLLM.

MCP Tools

HTTP Endpoints

POST /api/contextllm/ask

Deep research over the corpus. Requires Bearer token.

Body (JSON)

{"message": "How does Tokio schedule async tasks?"}

Response

{"answer_md": "...", "citations": [{"full_name": "tokio-rs/tokio", "html_url": "..."}]}

POST /api/contextllm/plan

Generate a coding plan + repo recommendations. Requires Bearer token.

Body (JSON)

{"message": "Build a distributed task queue in Go"}

Response

{"plan_md": "...", "repos": [{"full_name": "...", "html_url": "..."}]}

GET /api/contextllm/search?q=<query>&limit=10

Semantic repo search over the indexed corpus. No auth required.

Response

{"repos": [{"full_name": "...", "stars": 0, "description": "...", "score": 0.92}]}

View raw API.md