cercano-explain · git:20260709.887cd3f · 2026-07-09 · sha256 7be33e1c833fe48e
cercano-explain git:20260709.887cd3fA
Immutable. This exact content never changes and is served at /api/v1/blob/7be33e1c833fe48e.
---
name: cercano-explain
description: Explain code or text using local AI via Cercano. Returns a clear explanation of what the code does, its key interfaces, and data flow. Use this to understand unfamiliar code, complex algorithms, or dense documentation locally before deciding what context to send to the cloud.
compatibility: Requires Cercano server running and connected to an Ollama instance.
---
# Cercano Explain
Explain code or text using local AI inference.
## MCP Tool
**Tool name:** `cercano_explain`
## Parameters
| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `text` | string | No* | Code or text to explain. Provide either `text` or `file_path`. |
| `file_path` | string | No* | Path to a file to read and explain. Provide either `text` or `file_path`. |
*One of `text` or `file_path` is required.
## Response
Returns an explanation covering:
- What the code/text does (high-level purpose)
- Key interfaces and components
- Data flow
## Examples
**Explain code inline:**
```json
{
"text": "func (s *Server) handleLocal(ctx context.Context, request *gomcp.CallToolRequest, args LocalRequest) (*gomcp.CallToolResult, any, error) { ... }"
}
```
**Explain a file:**
```json
{
"file_path": "/project/internal/agent/router.go"
}
```