MCP Agent with Web Search Integration
Integrates OpenAI's GPT-4o as the language model for the AI assistant, enabling intelligent query answering and tool-based actions.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
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)
Related MCP server: Perplexity MCP Server
π 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=sse2. Start MCP Client
python mcp_client.py3. Usage Example
You: Who is the CEO of OpenAI?
Agent: Sam Altman is the CEO of OpenAI. (retrieved from latest web search)Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogβ¦
This server cannot be deployed
Maintenance
Related MCP Connectors
Enable AI assistants to perform web searches using Perplexity's Sonar Pro.
Web search, scraping, Google Trends and data lookups. Paid per call in USDC on Base via x402.
Provides AI assistants with access to Seltz's powerful Web Search capabilities.
Real-time web search, reasoning, and research through Perplexity's API
Related MCP Servers
- AlicenseNot gradedqualityFmaintenanceEnables AI assistants to perform up-to-date web searches through the Tavily API, providing comprehensive search results with AI-generated summaries.7MIT
- AlicenseAqualityDmaintenanceIntegrates Perplexity AI's chat capabilities with real-time web search, enabling users to ask questions and receive AI-powered answers with up-to-date information and citations from verified web sources.172 npm1Apache 2.0
- AlicenseBqualityDmaintenanceEnables web search via Serper API with advanced search operators and webpage scraping capabilities to extract content in plain text or markdown format.24,504 npmMIT
- AlicenseBqualityDmaintenanceEnables AI-powered web searches using Google's Gemini 2.5 models with Google Search Grounding. Supports multiple Gemini models (Flash, Flash-Lite, Pro) with configurable thinking budget and web search capabilities.117 npm2MIT