Power your AI assistants with MCP Server for web browsing and search capabilities. Easy to deploy and connect.
The MCP Server enhances AI applications, making them more capable by enabling direct access to external data sources and tools via a standardized protocol—much like how USB-C ports enable various device functionalities. This server is designed to work seamlessly with MCP Clients such as Claude Desktop, Continue, and Cursor, allowing these applications to perform tasks that span beyond their core competencies.
The MCP Server offers two primary tools that enhance AI application functionality:
Search Tool:
Web Tool:
The architecture of the MCP Server revolves around a protocol that facilitates secure, real-time interaction between AI applications and external resources. This protocol is designed with simplicity in mind, ensuring minimal overhead while maximizing functionality. The server itself works as an intermediary between AI applications (MCP Clients) and the external tools or data sources they need.
The diagram below illustrates the MCP protocol flow from an AI application to a server and then to its associated tool or data source.
graph TD
A[AI Application] -->|MCP Client| B[MCP Server]
B --> C[MCP Backend]
C --> D[External Tool/DataSource]
style A fill:#e1f5fe,stroke-width:2px
style B fill:#f3e5f5,stroke-width:2px
style C fill:#d7f2e8,stroke-width:2px
style D fill:#e8f5e8,stroke-width:2px
The MCP Server ensures compatibility with various popular MCP Clients, as shown in the matrix below. Note that while most clients support all features, some might have limitations.
MCP Client | Search Support | Web Access | Prompt Generation |
---|---|---|---|
Claude Desktop | ✅ | ✅ | ✅ |
Continue | ✅ | ✅ | ✅ |
Cursor | ❌ | ✅ | ❌ |
Using a containerized environment, such as Docker, simplifies the setup process and ensures everything runs securely. Here’s how to set up the MCP Server using Docker:
Install Docker:
Create a docker-compose.yml
File:
services:
mcp-server:
environment:
SEARXNG_QUERY_URL=http://searxng:8080
image: ghcr.io/tcpipuk/mcp-server/server:latest
ports:
- "8080:8080"
restart: unless-stopped
stop_grace_period: 1s
searxng:
environment:
SEARXNG_BASE_URL=http://searxng:8080
image: searxng/searxng:latest
restart: unless-stopped
volumes:
- ./searxng:/etc/searxng:rw
Start the Container:
docker compose up -d
For those preferring to run the server directly, here are detailed instructions:
Install uv
(Requires Python 3.13+):
curl -LsSf https://astral.sh/uv/install.sh | sh
Create and Activate a Virtual Environment:
uv venv
source .venv/bin/activate # Linux/macOS
# or
.venv\Scripts\activate # Windows
Install Dependencies:
uv sync
Set Environment Variables:
export SEARXNG_QUERY_URL="http://your-searxng-instance.local:8080"
export USER_AGENT="CustomAgent/1.0" # Optional
Run the Server:
mcp-server --sse-host 0.0.0.0 --sse-port 3001
mcp-server
An investment firm might use the MCP Server to gather real-time financial news and market data, directly feeding into their analysis tools. By integrating SearXNG's search capabilities, they can instantly access recent articles about economic trends or events affecting stock markets. This integration allows more accurate and informed decision-making in a fraction of the time.
A researcher working on an academic project may require easy access to diverse sources like journals, patents, and news articles. Using the MCP Server's search functionality via SearXNG, they can quickly retrieve relevant documents that support their work. This integration streamlines research processes and enhances the efficiency of scholarly endeavors.
The MCP Server works seamlessly with several popular clients:
To integrate the server with LibreChat, modify your librechat.yaml
file as follows:
mcpServers:
mcp-server:
iconPath: "/path/to/icon.png"
label: "MCP Web/Search"
type: sse
url: http://mcp-server:8080/sse
The performance and compatibility of the MCP Server are designed to ensure reliability across a wide range of AI applications. Here is how it compares with different clients:
# For network (SSE) mode
mcp-server --sse-host 0.0.0.0 --sse-port 3001
# For direct stdio mode
mcp-server
Ensure proper environment variables to customize behavior and enhance security:
SEARXNG_QUERY_URL
: URL for the SearXNG instance.USER_AGENT
: Customize agent string if needed.Q: Can I use this MCP Server with my AI application?
Q: How do I ensure data privacy when using the MCP Server?
Q: What is the difference between stdio and SSE modes in the configuration?
Q: Can I customize the tools available to my AI application through the MCP Server?
Q: Is it possible to extend the current functionalities of the MVP with new plugins or tools?
This documentation positions the MCP Server as an essential tool for developers looking to enhance their AI applications through robust and flexible connections with external resources.
Learn to connect to MCP servers over HTTP with Python SDK using SSE for efficient protocol communication
Next-generation MCP server enhances documentation analysis with AI-powered neural processing and multi-language support
Python MCP client for testing servers avoid message limits and customize with API key
Discover easy deployment and management of MCP servers with Glutamate platform for Windows Linux Mac
Expose Chicago Public Schools data with a local MCP server accessing SQLite and LanceDB databases
Learn how to use MCProto Ruby gem to create and chain MCP servers for custom solutions