ContextLLM Get Token

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

Find a repo by library name. Returns owner/repo and metadata.

Request

{"name":"react"}

Response

{"full_name":"facebook/react","stars":220000,"description":"..."}

Retrieve a repo summary, README excerpt, and top-chunk highlights for a given owner/repo.

Request

{"full_name":"facebook/react"}

Response

{"summary_md":"...","readme_url":"...","chunks":["..."]}

Deep research question over the full indexed corpus. Returns a cited answer with source repos.

Request

{"message":"How does React reconcile the virtual DOM?"}

Response

{"answer_md":"...","citations":[{"full_name":"...","html_url":"..."}]}

Generate a coding plan + recommended repo picks for a build goal.

Request

{"message":"Build a Rust CLI that streams JSON logs to Elasticsearch"}

Response

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

Return the current trending slice of the indexed corpus (GitHub trending, past 24 h).

Request

{}

Response

[{"full_name":"...","stars":1200,"language":"Go","description":"..."}]

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