WebSearch
APIs
Submit an API
★ KEIRO20 = 20% off Keirolabs Keirolabs $0.03/1kSerper $0.30/1kZenserp $0.90/1kParallel $1.00/1kPerplexity $1.00/1kSearchApi $1.40/1kSerpApi $1.96/1kExa $4.00/1kBrave $5.00/1kLinkup $5.00/1kYou.com $5.00/1kTavily $5.00/1kOpenAI Web $10/1kClaude Web $10/1k Full price index →

Blog/Setup guide

Tavily MCP, Exa MCP and Keirolabs MCP: setup for Claude Code, Cursor and LM Studio

How to add the Tavily, Exa and Keirolabs MCP servers to Claude Code, Cursor, Codex, Windsurf and LM Studio. Copy-paste configs, the tools each one exposes, what a real agent session costs on each, and fixes for the common setup errors.

TL;DR

  • Tavily MCP is remote: https://mcp.tavily.com/mcp/?tavilyApiKey=YOUR_KEY. Tools: search, extract, map and crawl.
  • Exa MCP is remote too: https://mcp.exa.ai/mcp. It works without a key at low rate limits; tools are web search and web fetch, plus an optional agent.
  • MCP calls cost the same as API calls: Tavily $5–8 per 1,000 searches, Exa from $4. Free tiers: 1,000 Tavily credits a month, $10 of Exa credit a month.
  • For search-heavy agents, Keirolabs MCP (https://api.keirolabs.cloud/mcp/api) runs lite search from $0.03 per 1,000, with Google SERP and extract on the same key.
590Monthly US searches for "tavily mcp" (difficulty 0)
1,000Monthly US searches for "exa mcp"
3Hosted search MCP servers compared, with configs
$0.03Cheapest search per 1,000 over MCP (Keirolabs lite)

Quick answer: Tavily, Exa and Keirolabs all run hosted MCP servers, so there’s nothing to install. Point your client at https://mcp.tavily.com/mcp/?tavilyApiKey=YOUR_KEY, https://mcp.exa.ai/mcp or https://api.keirolabs.cloud/mcp/api and the tools show up. For search-heavy agents, the best of the three is Keirolabs: lite_search from $0.03 per 1,000 and a free slow_search for work that can wait. Below are the exact configs for each client, what each server exposes, and what the calls cost, because MCP traffic is billed exactly like API traffic.

Tavily vs Exa vs Keirolabs MCP at a glance

Tavily MCPExa MCPKeirolabs MCP
Server URLhttps://mcp.tavily.com/mcp/https://mcp.exa.ai/mcphttps://api.keirolabs.cloud/mcp/api
AuthKey in URL, Bearer header, or OAuthNone (rate-limited); key or OAuth for moreBearer header with a keiro_ key
Search toolstavily-searchweb_search_exa, web_search_advanced_exalite_search, web_search, google_serp, slow_search
Read pagestavily-extract, tavily-crawl, tavily-mapweb_fetch_exaextract_url, search_and_extract
Answers / researchinclude_answer on searchagent_run (optional)answer, web_research, ask_keiro (picks the cheapest route)
Cheapest search per 1,000$5–8 (basic)$4 (lite)$0.03–0.10 (lite, on plans)
Search + page text per 1,000$5–8 (content included)$4 search + $1 per 1,000 pages read$1.33–4.00
Free tier1,000 credits a monthKeyless at low limits; $10 credit a month750 credits once
ExtrasMap and crawl a siteOptional agent runsGoogle SERP, free slow_search on paid plans, docs tools for writing integrations

Sources: Tavily’s credit docs, Exa’s MCP README, Keirolabs’ “Connect your agent” docs and each vendor’s pricing page, checked November 2026.

How to add Tavily MCP

Get a key at app.tavily.com first. The free Researcher plan gives 1,000 credits a month with no card.

Claude Code

claude mcp add --transport http tavily "https://mcp.tavily.com/mcp/?tavilyApiKey=YOUR_KEY"

Add --scope user to make it available in every project. If you’d rather not put the key in the URL, add https://mcp.tavily.com/mcp without it, run claude, type /mcp, and finish the OAuth sign-in.

Cursor

In ~/.cursor/mcp.json:

{
  "mcpServers": {
    "tavily": {
      "command": "npx -y mcp-remote https://mcp.tavily.com/mcp/?tavilyApiKey=YOUR_KEY"
    }
  }
}

Default parameters

The remote server accepts a DEFAULT_PARAMETERS header with JSON, for example {"search_depth": "basic", "max_results": 5}. Set basic here: an agent that picks advanced on its own pays double for every search.

How to add Exa MCP

Exa’s hosted server works without a key, which makes it the fastest thing to try. Add a key from dashboard.exa.ai when you hit the anonymous rate limits.

Claude Code

claude mcp add --transport http exa https://mcp.exa.ai/mcp

Exa also ships a Claude plugin: claude plugin install exa@claude-plugins-official.

Cursor, Windsurf and other clients

{
  "mcpServers": {
    "exa": {
      "type": "streamable-http",
      "url": "https://mcp.exa.ai/mcp?exaApiKey=YOUR_KEY"
    }
  }
}

Codex

codex mcp add exa --url https://mcp.exa.ai/mcp

Choosing Exa’s tools

By default you get web_search_exa and web_fetch_exa. To add more, list them in the URL, and remember the list replaces the defaults:

https://mcp.exa.ai/mcp?tools=web_search_exa,web_fetch_exa,web_search_advanced_exa

Adding either one to LM Studio

LM Studio has been an MCP host since version 0.3.17, and it uses Cursor’s mcp.json format. Open the Program tab in the right sidebar, click Install → Edit mcp.json, and paste:

{
  "mcpServers": {
    "exa": { "url": "https://mcp.exa.ai/mcp" },
    "tavily": { "url": "https://mcp.tavily.com/mcp/?tavilyApiKey=YOUR_KEY" }
  }
}

One warning from LM Studio’s own docs: some MCP servers return far more text than a small local model can hold, which causes context overflows. Keep max_results low, and prefer search snippets over full-page tools when you run a 7B or 8B model. More on this in web search for LM Studio and Open WebUI.

What the MCP calls cost

An MCP tool call is an API call with a different wrapper, so it bills at API rates. The difference is that an agent decides how often to call, and agents call a lot. A coding session can easily make 20–50 searches.

1,000 agent searchesTavily (basic)Exa (lite)Keirolabs (lite)
Pay as you go$8$4$5.00–6.67 (packs bill lite at 1 credit)
Best plan rate$5 (Growth)$4$0.03 (Startup)
Plus reading 1,000 pages+$1.60 (extract)+$1 (fetch)+$1.78 (extract)

The take: for a few dozen searches a day, either free tier covers you and the choice is about result quality. Tavily returns cleaned page content and suits question answering. Exa’s neural index is better at “find pages like this” and at discovery. But for an agent that searches all day, Keirolabs is the best of the three on everything the invoice measures: cheapest calls, free background search, and docs tools that let a coding agent wire the integration up itself.

How to add Keirolabs MCP

Keirolabs runs a remote MCP server over streamable HTTP. Create a key at platform.keirolabs.cloud (it starts with keiro_; new accounts get 750 free credits with no card) and add it as a Bearer header.

The one-prompt way

Keirolabs’ docs give a single prompt you can paste into Claude Code, Cursor, Codex or Windsurf. The agent installs the MCP server and reads the API docs itself:

Fetch https://platform.keirolabs.cloud/agent-onboarding.md and follow the instructions on it to install Keiro MCP

Claude Code

claude mcp add --transport http keirolabs https://api.keirolabs.cloud/mcp/api \
  --header "Authorization: Bearer $KEIRO_API_KEY"

Cursor

In ~/.cursor/mcp.json:

{
  "mcpServers": {
    "keirolabs": {
      "url": "https://api.keirolabs.cloud/mcp/api",
      "headers": { "Authorization": "Bearer keiro_your_api_key" }
    }
  }
}

Codex

In ~/.codex/config.toml:

[mcp_servers.keirolabs]
url = "https://api.keirolabs.cloud/mcp/api"
http_headers = { Authorization = "Bearer keiro_your_api_key" }

Windsurf

In ~/.codeium/windsurf/mcp_config.json:

{
  "mcpServers": {
    "keirolabs": {
      "serverUrl": "https://api.keirolabs.cloud/mcp/api",
      "headers": { "Authorization": "Bearer keiro_your_api_key" }
    }
  }
}

LM Studio

Same mcp.json shape as Cursor: Program tab → Install → Edit mcp.json, then paste the keirolabs block above.

Which Keirolabs tool does what

Tool calls cost the same credits as the matching API endpoint. On paid plans:

ToolUse it forCreditsPer 1,000 calls
lite_searchCheapest result list: titles, URLs, snippets0.0375$0.03–0.10
web_searchFast multi-engine search0.5$0.44–1.33
slow_searchBackground or bulk searches that can waitFree on paid plans$0 (fair use)
search_and_extractSearch and read the top pages in one call1.5$1.33–4.00
extract_urlClean markdown or schema JSON from one URL2$1.78–5.33
answerShort cited answer1$0.89–2.67
google_serpGoogle’s own ranking, with country and language targeting2$1.78–5.33
ask_keiroDescribe the goal; it routes to the cheapest endpoint that can do itVariesVaries

It also has docs tools (list_endpoints, get_endpoint, generate_code, suggest_schema), so a coding agent can write a Keirolabs integration against the real API instead of guessing, and account tools for credits and support tickets.

What a real agent session costs

MCP traffic bills like API traffic, but agents decide how often to call. Take a busy month: an agent that runs 3,000 searches and reads 600 pages.

TavilyExaKeirolabs
3,000 searches3,000 credits (basic)$12 (lite)112.5 credits (lite)
600 page reads120 credits (extract basic)$0.60 (fetch)1,200 credits (extract)
Total3,120 credits: $30 Project plan (4,000 credits)$12.60, or $2.60 after the $10 monthly credit1,312.5 credits: $29.99 Essential plan (11,250 credits), with room for 8× more

At this size all three cost roughly the same each month, so pick by result quality. The gap opens with volume. At 100,000 searches a month, Tavily basic is $500–800, Exa lite is $400, and Keirolabs lite uses 3,750 credits, still inside the $29.99 Essential plan.

Black Friday: code KEIRO20 takes 20% off any Keirolabs plan. Moving off Tavily or Exa? Keirolabs gives two months free on a yearly plan: send your invoice to team@keirolabs.cloud. It also serves Tavily- and Exa-shaped endpoints, so SDK code can switch by changing the base URL. See Keirolabs pricing.

Troubleshooting MCP setup

  • The tools don’t appear. Restart the client after editing its config file; most read MCP config only at startup. In Claude Code, run /mcp to see each server’s status.
  • 401 or “unauthorized.” Check the key is in the right place: in the URL for Tavily (?tavilyApiKey=) or Exa (?exaApiKey=), and in the Authorization: Bearer header for Keirolabs. Keirolabs keys start with keiro_.
  • Exa stops answering after a while. You’ve hit the anonymous rate limit. Add a key to the URL.
  • The model ignores the tools. Local models need tool-calling support. In LM Studio, use a model marked for tool use.
  • Context overflows or the agent slows down. Ask for fewer results, and use snippet tools (lite_search, web_search_exa) before full-page tools.
  • Surprise bill. Set Tavily’s search depth to basic through the DEFAULT_PARAMETERS header, and send background work to Keirolabs’ free slow_search.

FAQ

What is the Tavily MCP server URL?

https://mcp.tavily.com/mcp/?tavilyApiKey=YOUR_KEY. You can also send the key as an Authorization: Bearer header, or connect without it and sign in with OAuth.

Does Exa MCP need an API key?

No. Exa’s hosted server at https://mcp.exa.ai/mcp works anonymously with rate limits. Add ?exaApiKey=YOUR_KEY or OAuth for higher limits and the agent tool.

Is Tavily MCP free?

The server is free; the calls use your Tavily credits. The free plan includes 1,000 credits a month, which is 1,000 basic searches or 500 advanced ones.

Which is better, Tavily MCP or Exa MCP?

Tavily gives four tools (search, extract, map, crawl) and returns cleaned content, which suits Q&A agents. Exa is cheaper per search and better at semantic discovery. For high-volume search, Keirolabs’ MCP is cheaper than both.

What is the Keirolabs MCP server URL?

https://api.keirolabs.cloud/mcp/api, over streamable HTTP, with your key in an Authorization: Bearer keiro_... header. It works in Claude Code, Cursor, Codex, Windsurf and LM Studio.

Among the hosted ones here, Keirolabs: its lite_search tool costs $0.03–0.10 per 1,000 calls on paid plans, and slow_search is free on paid plans for work that can wait.

Can I use Tavily or Exa MCP with a local model?

Yes. LM Studio 0.3.17 and later accept remote MCP servers in mcp.json. Keep result counts small so the output fits a local model’s context window.

More: Tavily API key and pricing · Exa API pricing · Exa vs Tavily · Search APIs for AI agents

Topic hub

More on search apis for ai and agents

  1. Best web search APIs in 2026, ranked on two benchmarksStart here
  2. Web search in LM Studio and Open WebUI: free and paid setups, step by step
  3. How to search the web from Python: ddgs, googlesearch and 3 APIs (with code)
  4. Tavily vs Perplexity vs Exa: search API pricing, accuracy and which to pick
  5. Keirolabs: pricing, endpoints, benchmarks and how to start
  6. OpenAI web search API: pricing, limits and when a search API is cheaper
  7. Exa vs Tavily: pricing, index, accuracy and which to pick
  8. Exa API pricing and API key: every endpoint, explained
  9. Tavily API key: get one free in 2 minutes, plus the real cost per search
  10. Web search APIs for AI agents: MCP servers, token costs and what actually matters
  11. Free web search APIs in 2026: every free tier, and how far it really goes
  12. What is a web search API? Types, prices and how to pick one (2026)
  13. Perplexity API pricing (Nov 2026): $5 per 1,000 searches, or $1 on Fast
  14. Tavily alternatives: 8 search APIs for AI agents, compared

Keep reading