Agent With Web Search Integration
FreeNot checkedEnables interaction with an AI assistant powered by GPT-4o that can answer queries and fetch real-time web search data via Serper API.
About
Enables interaction with an AI assistant powered by GPT-4o that can answer queries and fetch real-time web search data via Serper API.
README
MCP Model Context Protocol
🧩 MCP Agent with Web Search Integration
This project demonstrates how to build an intelligent AI assistant using LlamaIndex, FastMCP, and OpenAI's GPT-4o, enhanced with real-time web search capabilities via Serper API.
With this setup:
You can interact with an agent that answers your queries.
If needed, the agent fetches fresh data from the internet to provide accurate and up-to-date information.
Note:
This project uses uv (a faster Python package manager) instead of pip for dependency management.
Features
✅ AI Assistant powered by OpenAI gpt-4o
✅ Integrated with llama-index Function Agent
✅ Real-time Web Search using Serper.dev
✅ Async-first implementation for speed 🚀
✅ Custom MCP server and client communication
✅ Clean streaming of tool calls and responses
🧩 Tech Stack
Python 3.11+
uv (Python dependency management)
FastMCP
LlamaIndex
OpenAI GPT-4o
HTTPx (for async HTTP requests)
Serper.dev API (Google Search API)
BeautifulSoup (Web scraping)
📖 References
Server-side code reference:
MCP Quickstart ServerClient-side code reference:
LlamaIndex MCP Integration Example
🚀 Running the Project
1. Start MCP Server
uv run mcp_server.py --server_type=sse
2. Start MCP Client
python mcp_client.py
3. Usage Example
You: Who is the CEO of OpenAI?
Agent: Sam Altman is the CEO of OpenAI. (retrieved from latest web search)
Install Agent With Web Search Integration in Claude Desktop, Claude Code & Cursor
unyly install mcp-agent-with-web-search-integrationInstalls into Claude Desktop, Claude Code, Cursor & VS Code — handles npx, uvx and build-from-source repos for you.
First time? Get the CLI: curl -fsSL https://unyly.org/install | sh
Or configure manually
Run in your terminal:
claude mcp add mcp-agent-with-web-search-integration -- uvx demo1FAQ
Is Agent With Web Search Integration MCP free?
Yes, Agent With Web Search Integration MCP is free — one-click install via Unyly at no cost.
Does Agent With Web Search Integration need an API key?
No, Agent With Web Search Integration runs without API keys or environment variables.
Is Agent With Web Search Integration hosted or self-hosted?
A hosted option is available: Unyly runs the server in the cloud, no local setup required.
How do I install Agent With Web Search Integration in Claude Desktop, Claude Code or Cursor?
Open Agent With Web Search Integration on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
Fetch
Web content fetching and conversion for efficient LLM usage.
AWS KB Retrieval
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
by modelcontextprotocolSpring AI MCP Server
Provides auto-configuration for setting up an MCP server in Spring Boot applications.
llm-analysis-assistant
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also
by xuzexin-hzCompare Agent With Web Search Integration with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All ai MCPs
