Get Code Context Exa
get_code_context_exaFind code examples, documentation, and programming solutions. Searches GitHub, Stack Overflow, and official docs. Best for: Any programming question - API usage, library examples, code snippets, debugging help. Returns: Relevant code and documentation, formatted for easy reading.
When to Use
Use this tool when you need to find code examples, documentation, and programming solutions. searches github, stack overflow, and official docs.
best for: any programming question - api usage, library examples, code snippets, debugging help. returns: relevant code and documentation, formatted for easy reading.. This is part of the Exa Search provider on xpay✦.
MCP Connection
Connect to xpay✦ to access this tool (and 1+ others):
{
"mcpServers": {
"xpay": {
"url": "https://mcp.xpay.sh/mcp?key=YOUR_API_KEY"
}
}
}
For Claude Code:
claude mcp add --transport http xpay "https://mcp.xpay.sh/mcp?key=YOUR_API_KEY"
How to Execute
Use the xpay✦ meta-tools to run this tool:
xpay_details— Get full input schema:xpay_details("exa/get_code_context_exa")xpay_run— Execute:xpay_run("exa/get_code_context_exa", { ...inputs })
Input Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
tokensNum | number | No | Number of tokens to return (must be a number, 1000-50000). Default is 5000 tokens. Adjust this value based on how much context you need - use lower values for focused queries and higher values for comprehensive documentation. |
query | string | Yes | Search query to find relevant context for APIs, Libraries, and SDKs. For example, 'React useState hook examples', 'Python pandas dataframe filtering', 'Express.js middleware', 'Next js partial prerendering configuration' |
Pricing
- Cost: $0.02/call
- Balance check: Use
xpay_balanceto check remaining credits - Get your API key at xpay.tools — $5 free credits included
Related Skills
- Exa Search (all tools) — 2 tools
- Web Search Exa — $0.02/call
Links
- Tool page: https://xpay.tools/exa/get-code-context-exa/
- Provider: https://xpay.tools/exa/
- All tools: https://xpay.tools/explore
How to Execute
Input Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
tokensNum | number | No | Number of tokens to return (must be a number, 1000-50000). Default is 5000 tokens. Adjust this value based on how much context you need - use lower values for focused queries and higher values for comprehensive documentation. |
query | string | Yes | Search query to find relevant context for APIs, Libraries, and SDKs. For example, 'React useState hook examples', 'Python pandas dataframe filtering', 'Express.js middleware', 'Next js partial prerendering configuration' |
Related Tools from Exa Search
Install Skill
Pricing
Cost
$0.02/call
Model
Flat rate
Provider
Exa Search

