Search the web for information on a given query
Search for news articles on a given query
Extract the content from a specific URL
Extract the sitemap from a website
Search1API provides powerful search and web crawling capabilities through a Model Context Protocol (MCP) server. It enables AI assistants to perform web searches, news searches, extract content from web pages, and retrieve website sitemaps to enhance their knowledge and capabilities. With Search1API, AI models can access up-to-date information from the web, helping them provide more accurate and relevant responses. The service supports various search parameters including site filtering and time range options, making it a versatile tool for information retrieval tasks.
Search1API MCP Server provides search and web crawling functionality for AI assistants through the Model Context Protocol. This integration allows AI models to search the web, find news, extract content from web pages, and retrieve website sitemaps.
git clone https://github.com/fatwang2/search1api-mcp.git
cd search1api-mcp
Configure your API key using one of these methods:
Method A: Project .env File (Recommended)
echo "SEARCH1API_KEY=your_api_key_here" > .env
Method B: Environment Variable
export SEARCH1API_KEY="your_api_key_here"
Install dependencies and build:
npm install
npm run build
npm start
cd /path/to/your/librechat/setup/mcp-server
git clone https://github.com/fatwang2/search1api-mcp.git
cd search1api-mcp
echo "SEARCH1API_KEY=your_api_key_here" > .env
npm install
npm run build
librechat.yaml
to add the MCP server:mcp_servers:
search1api:
command: node
args:
- /app/mcp-server/search1api-mcp/build/index.js
docker-compose.yml
or docker-compose.override.yml
:services:
api:
volumes:
- ./mcp-server/search1api-mcp:/app/mcp-server/search1api-mcp
docker compose down && docker compose up -d --build
Once installed and configured, the Search1API MCP server will be available to your AI assistant. You can use the various tools to search the web, find news, extract content from web pages, and retrieve website sitemaps.
The server supports various search parameters including:
librechat.yaml