mcp-web-search
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-web-searchwhat are the latest developments in quantum computing?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
mcp-web-search
MCP (Model Context Protocol) server for internet searches, deployed on Vercel as a stateless HTTP API. It allows AI agents like Antigravity to search the web, read pages, consume REST APIs, and extract links — without anti-bot blocking issues.
Available tools
Tool | Description |
| Searches the web via Tavily API and returns the title, URL, and snippet of each result |
| Uses Tavily Extract to download pages bypassing anti-bot blocks and returns content in Markdown, plain text, or HTML |
| Makes a GET request to any URL via Axios and returns the response JSON (ideal for public REST APIs) |
| Uses Tavily Extract to read the page and extracts all links with domain filter support |
Related MCP server: Spider MCP Server
Stack
Next.js 16 (App Router) — server framework
mcp-handler — HTTP adapter for the MCP protocol
@modelcontextprotocol/server — MCP SDK v2
Tavily API — official search and page extraction engine (immune to anti-bot blocks)
axios + cheerio + turndown — REST API consumption and HTML content parsing
Zod v4 — tool schema validation
Vercel Hobby — free hosting (60s timeout per request)
Setting up the Tavily API
Because Vercel and other datacenters are often blocked by firewalls when trying to scrape web content, this project uses Tavily, an AI-focused API that can read pages and search the internet with 100% reliability.
To work properly:
Create a free account at tavily.com (you get 1,000 free requests/month).
Go to your hosting dashboard (e.g., Vercel) and add the following Environment Variable:
TAVILY_API_KEY:sua_chave_aqui
Deploy to Vercel
Prerequisites
Node.js 20+
pnpm
1. Clone the repository
git clone https://github.com/suportebono/mcp-web-search.git
cd mcp-web-search
pnpm install2. Test locally
pnpm devThe MCP endpoint will be available at http://localhost:3000/api/mcp.
To visually inspect the tools:
npx @modelcontextprotocol/inspector http://localhost:3000/api/mcp3. Deploy to Vercel
npx vercelAfter deployment, you'll receive a URL in the format https://mcp-web-search-xxx.vercel.app. Don't forget to configure the TAVILY_API_KEY!
Setting up in Antigravity
Edit the ~/.gemini/config/mcp_config.json file (create it if it doesn't exist):
{
"mcpServers": {
"web-search": {
"serverUrl": "https://seu-projeto.vercel.app/api/mcp"
}
}
}Restart Antigravity and check under ... > MCP Servers — the 4 tools should appear listed.
Setting up in other MCP clients
Claude Desktop / Cursor / Windsurf
Add to your client's configuration file:
{
"mcpServers": {
"web-search": {
"url": "https://seu-projeto.vercel.app/api/mcp"
}
}
}Clients that only support stdio
Use the mcp-remote package as a proxy:
{
"mcpServers": {
"web-search": {
"command": "npx",
"args": ["-y", "mcp-remote", "https://seu-projeto.vercel.app/api/mcp"]
}
}
}Tool reference
web_search
Searches the web using the Tavily API.
Parameters:
Name | Type | Required | Description |
|
| ✅ | Search terms |
|
| ❌ | Number of results (default: 5) |
Example response:
[
{
"title": "Next.js 15 — Blog",
"url": "https://nextjs.org/blog/next-15",
"snippet": "Next.js 15 introduces...",
"source": "nextjs.org"
}
]read_webpage
Reads and extracts the content of a URL bypassing paywalls and anti-bots using Tavily Extract.
Parameters:
Name | Type | Required | Description |
|
| ✅ | Page URL |
|
| ❌ | Output format (default: |
Automatically removes scripts, styles, ads, navigation, and footer before returning the content.
fetch_json
Makes a GET request via Axios and returns the raw JSON.
Parameters:
Name | Type | Required | Description |
|
| ✅ | API URL |
|
| ❌ | Optional HTTP headers |
extract_links
Uses Tavily Extract to read the page's actual HTML (including dynamic sites) and extracts all links.
Parameters:
Name | Type | Required | Description |
|
| ✅ | Page URL |
|
| ❌ | Filters links containing this substring (e.g., |
Example response:
[
{
"text": "Documentação",
"href": "/docs",
"absolute_url": "https://exemplo.com/docs"
}
]Project structure
mcp-web-search/
├── app/
│ └── api/
│ └── mcp/
│ └── route.ts ← Endpoint MCP (GET + POST)
├── lib/
│ ├── mcp-server.ts ← Registro de todas as ferramentas
│ └── tools/
│ ├── web-search.ts ← Busca via Tavily API
│ ├── read-webpage.ts ← Leitura e parsing de páginas (Tavily Extract)
│ ├── fetch-json.ts ← Fetch de APIs REST genéricas
│ └── extract-links.ts ← Extração de links via Tavily Extract HTML
├── next.config.ts
└── package.jsonSupported MCP protocol
This server implements the MCP 2026-07-28 specification via the stateless Streamable HTTP transport, compatible with modern clients. It also provides automatic fallback for clients using the 2025-era Streamable HTTP specification.
License
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables AI assistants to access real-time web data through search, markdown scraping, and browser automation while bypassing anti-bot protections. It provides tools for web research, e-commerce monitoring, and data extraction from across the globe.46,1036MIT
- AlicenseAqualityFmaintenanceEnables AI agents to crawl, scrape, search, and automate browsers with anti-bot bypass, providing fast web access via 22 tools.22433MIT
- FlicenseNot gradedqualityCmaintenanceEnables AI agents to perform web searches, extract webpage content, and conduct end-to-end search-and-extract operations using multiple search providers and content extraction methods.
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to fetch and extract clean, readable content from web pages, and search within pages for specific queries, without needing a full browser.1MIT
Related MCP Connectors
Reliable web access for AI agents: smart HTTP, rotating proxies, and full-browser rendering.
AI-powered browser automation — navigate, click, fill forms, and extract data from any website.
Give your agent live data from Twitter, Reddit, the web and GitHub. No API keys, no scraping stack.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/DaviDaminelli/mcp-web-search'
If you have feedback or need assistance with the MCP directory API, please join our Discord server