Exa Search
Search the web and extract content via Exa's AI-powered search API.
Installation
bash
mcporter install exa-cli
CLI: exa-cli
All commands support --output json for machine-readable output.
Web Search
bash
# Basic search exa-cli web-search-exa --query "latest AI news" # With options exa-cli web-search-exa --query "React hooks tutorial" --num-results 5 --type fast
Code Context
Find code examples, docs, and solutions from GitHub, Stack Overflow, and official docs.
bash
exa-cli get-code-context-exa --query "Node.js streams examples" exa-cli get-code-context-exa --query "Python pandas filtering" --tokens-num 10000
Company Research
bash
exa-cli company-research-exa --company-name "Anthropic" exa-cli company-research-exa --company-name "OpenAI" --num-results 5
URL Crawling
Extract full content from a specific URL.
bash
exa-cli crawling-exa --url "https://example.com/article" exa-cli crawling-exa --url "https://docs.example.com" --max-characters 5000
People Search
Find professionals and their profiles.
bash
exa-cli people-search-exa --query "AI researchers at Google"
Advanced Search
Full control over filters, domains, dates, and content options.
bash
exa-cli web-search-advanced-exa --query "machine learning" \ --category "research paper" \ --include-domains "arxiv.org,github.com" \ --num-results 10
Categories: company, research paper, news, pdf, github, tweet, personal site, people, financial report
Deep Research
Start an AI research agent for complex questions (15s-2min).
bash
# Start research exa-cli deep-researcher-start --instructions "Compare transformer architectures for NLP" # Check status (use returned task ID) exa-cli deep-researcher-check --task-id "abc123"
Models: exa-research (faster, default) | exa-research-pro (comprehensive)
Notes
- •No API key needed (uses hosted endpoint at mcp.exa.ai)
- •Returns clean, LLM-ready text content
- •Deep research runs async; poll with
deep-researcher-check