Search Engine with RAG and MCP
@arkeodev
关于 Search Engine with RAG and MCP
MCP Server supported search engine
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"search-engine-with-rag-and-mcp": {
"command": "python",
"args": [
"-m",
"src.core.main",
"your search query"
]
}
}
}工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is Search Engine with RAG and MCP?
Search Engine with RAG and MCP is a search engine that combines LangChain, Model Context Protocol (MCP), Retrieval-Augmented Generation (RAG), and Ollama to create an agentic AI system capable of searching the web, retrieving information, and providing relevant answers.
How to use Search Engine with RAG and MCP?
Install dependencies with pip or Poetry, then run the application in one of three modes: direct search (python -m src.core.main "query"), agent mode (--agent), or MCP server mode (--server). Optionally configure host and port for server mode, and set up Ollama for local LLM usage.
Key features of Search Engine with RAG and MCP
- Web search via Exa API and content retrieval via FireCrawl
- RAG (Retrieval-Augmented Generation) for relevant information extraction
- MCP server for standardized tool invocation
- Support for local LLMs (Ollama) and cloud LLMs (OpenAI)
- Three operation modes: direct search, agent, or server
- Asynchronous processing for efficient web operations
Use cases of Search Engine with RAG and MCP
- Perform direct web searches and retrieve summarized answers
- Deploy an agentic AI that uses search and RAG tools independently
- Run an MCP server that exposes search and retrieval tools to MCP clients
- Combine local LLMs with external web data for privacy-sensitive queries
FAQ from Search Engine with RAG and MCP
What runtime and dependencies are required?
Python 3.13+ is required. Dependencies include LangChain, MCP libraries, embeddings, FAISS, and API clients for Exa and FireCrawl. Optional: Ollama for local LLM, OpenAI for cloud LLM.
Where does data (embeddings, logs) live?
The project creates data/ directories for data storage and logs/ for log files (auto-created). FAISS vector stores and document chunks are managed locally.
What API keys are needed?
API keys for Exa and FireCrawl are mandatory. An OpenAI API key or Ollama local installation is optional depending on LLM choice.
How do I switch between local and cloud LLMs?
Set the appropriate environment variables in .env. For Ollama, set OLLAMA_BASE_URL and OLLAMA_MODEL; for OpenAI, set OPENAI_API_KEY.
What transports and auth does the MCP server use?
The MCP server listens on a configurable host and port (default: likely localhost:8000). No authentication mechanism is mentioned in the README.
搜索 分类下的更多 MCP 服务器
SerpApi MCP Server
ilyazubSerpApi MCP Server for Google and other search engine results
duckduckgo-search MCP Server
zhsamaPerplexity MCP Zerver
wysh3MCP web search using perplexity without any API KEYS
Serper Search and Scrape MCP Server
marcopesaniSerper MCP Server supporting search and webpage scraping
小红书自动搜索评论工具(MCP Server 2.0)
chenningling这是一款基于 Playwright 开发的小红书自动搜索和评论工具,作为 MCP Server,可通过特定配置接入 MCP Client(如Claude for Desktop),帮助用户自动完成登录小红书、搜索关键词、获取笔记内容及发布AI生成评论等操作。
评论