Why Add Web Search to Cursor?
Cursor is great at writing code, but it can't check the internet. When you're working with a library that just released a new version, Cursor uses stale training data. When an API endpoint changed, Cursor doesn't know.
With a search MCP server connected, Cursor can:
- Look up current documentation for any library version
- Search Stack Overflow for specific error messages
- Verify that API endpoints and parameters are current
- Research implementation patterns before writing code
- Extract content from URLs you paste into chat
Setup: ContextWire MCP (Free)
ContextWire provides a remote MCP server — no npm install, no Docker, just a URL. The free tier gives you 1,000 queries/month.
Step 1: Get a free API key
Go to contextwire.dev and sign up. Takes 30 seconds, no credit card.
Step 2: Create the MCP config file
Create or edit ~/.cursor/mcp.json:
{
"mcpServers": {
"contextwire": {
"type": "streamable-http",
"url": "https://contextwire.dev/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
}
}
}
}Step 3: Restart Cursor
Close and reopen Cursor. The MCP tools should now be available in Composer and Agent mode.
Step 4: Verify
Open Cursor's Composer (Cmd+I / Ctrl+I) and ask:
"Search for the latest Express.js 5 migration guide"Cursor should use the ContextWire search tool and return current results.
Tools You Get
| Tool | What it does | Example use |
|---|---|---|
ask | Question → sourced answer | "What's the default port for Redis 8?" |
search | Web search (105 engines) | "Search for Prisma 6 breaking changes" |
extract | Pull content from URL | "Extract the API docs from this URL" |
research | Multi-step deep research | "Research best practices for WebSocket auth" |
batch_search | Parallel searches | "Search for React, Vue, and Svelte performance benchmarks" |
Real-World Examples
Debugging with current Stack Overflow answers
"I'm getting 'ERR_MODULE_NOT_FOUND' when importing from @prisma/client.
Search for recent solutions to this error."Checking if an API still works the same way
"Extract the current Stripe API docs for creating payment intents
from https://stripe.com/docs/api/payment_intents/create"Researching before implementing
"Research the best way to implement rate limiting in a Node.js
Express app in 2026. Compare token bucket vs sliding window."Alternative Search Servers
| Server | Free Tier | Setup | Tools |
|---|---|---|---|
| ContextWire | 1,000/mo | URL only | 5 (ask, search, extract, research, batch) |
| Brave Search | 2,000/mo | npm install | 1 (web_search) |
| Perplexity | None | npm install | 1 (search) |
ContextWire is the only remote MCP search server — no npm install or Docker needed. Just add the URL and go.
FAQ
Does this work with Cursor's free plan?
MCP is available on Cursor Pro and above. The ContextWire API itself is free.
Can I use this with project-level config?
Yes. Create .cursor/mcp.json in your project root. Use environment variables for the API key so you don't commit it.
How many searches per coding session?
Typically 10-30 searches per session. At that rate, 1,000 free queries lasts a full month for most developers.
What about Cursor's built-in @web command?
Cursor's @web uses the model's own search capability, which has limitations. An MCP search server gives you more engines, better accuracy, and additional tools like content extraction and deep research.