Code Docs Search by Exa
/install code-docs-search-exa
Code Docs Search by Exa
Up-to-date code docs and examples for AI, powered by Exa. Finds real code snippets and docs from GitHub, docs sites, and Stack Overflow.
Setup
Connect MCP server:
https://mcp.exa.ai/mcp
No API key needed.
Tool
get_code_context_exa
What it does
Finds real code snippets and docs from GitHub, docs sites, and Stack Overflow. Great for correct syntax, setup guides, and usage examples.
Inputs
query(string, required): What code or doc you want to find.tokensNum(string or int, optional): How much context to return. Usedynamicfor auto length, or a number like10000.dynamicis recommended.
Examples
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
}
When to Use
- Finding correct syntax for a library or SDK
- Getting real code examples for a feature
- Reviewing setup steps or best practices
Notes
- Ask for specific versions to improve accuracy.
- Larger
tokensNumreturns more context but costs more.
References
- Exa MCP: https://exa.ai/docs/reference/exa-mcp
- Exa Code (Context API): https://docs.exa.ai/reference/context
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install code-docs-search-exa - After installation, invoke the skill by name or use
/code-docs-search-exa - Provide required inputs per the skill's parameter spec and get structured output
What is Code Docs Search by Exa?
Search real code snippets and documentation from GitHub, docs sites, and Stack Overflow for accurate syntax and usage examples. It is an AI Agent Skill for Claude Code / OpenClaw, with 2080 downloads so far.
How do I install Code Docs Search by Exa?
Run "/install code-docs-search-exa" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Code Docs Search by Exa free?
Yes, Code Docs Search by Exa is completely free (open-source). You can download, install and use it at no cost.
Which platforms does Code Docs Search by Exa support?
Code Docs Search by Exa is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Code Docs Search by Exa?
It is built and maintained by Ishan Goswami (@theishangoswami); the current version is v1.0.0.