Install
openclaw skills install code-docs-search-exaSearch real code snippets and documentation from GitHub, docs sites, and Stack Overflow for accurate syntax and usage examples.
openclaw skills install code-docs-search-exaUp-to-date code docs and examples for AI, powered by Exa. Finds real code snippets and docs from GitHub, docs sites, and Stack Overflow.
Connect MCP server:
https://mcp.exa.ai/mcp
No API key needed.
get_code_context_exa
Finds real code snippets and docs from GitHub, docs sites, and Stack Overflow. Great for correct syntax, setup guides, and usage examples.
query (string, required): What code or doc you want to find.tokensNum (string or int, optional): How much context to return.
Use dynamic for auto length, or a number like 10000. dynamic is recommended.Basic:
get_code_context_exa { "query": "React useState example" }
More context:
get_code_context_exa {
"query": "Current Next.js app router with TypeScript setup",
"tokensNum": 8000
}
Shorter output:
get_code_context_exa {
"query": "pandas groupby examples",
"tokensNum": 2000
}
tokensNum returns more context but costs more.