presearch-search-api-mcp
by NosytLabs
Overview
Integrates AI assistants with the Presearch decentralized search engine to enable privacy-focused web search, intelligent scraping, deep research, and content analysis.
Installation
npx presearch-mcp-serverEnvironment Variables
- PRESEARCH_API_KEY
- PRESEARCH_TIMEOUT
- SEARCH_MAX_RESULTS
- PRESEARCH_SAFE_SEARCH
- PRESEARCH_DEFAULT_LANGUAGE
- CACHE_ENABLED
- CACHE_TTL
- CACHE_MAX_KEYS
- PRESEARCH_RETRIES
- CONNECTION_POOL_MAX_SOCKETS
- CONNECTION_POOL_KEEP_ALIVE
- SCRAPE_MAX_RETRIES
- RATE_LIMIT_MAX_REQUESTS
- RATE_LIMIT_WINDOW_MS
- LOG_LEVEL
- LOG_PRETTY
- PORT
- PRESEARCH_BASE_URL
Security Notes
The `ContentFetcher` (used for scraping) launches Puppeteer with `--no-sandbox` and `--disable-setuid-sandbox` flags. Disabling the browser sandbox is a critical security vulnerability, as it removes a key layer of isolation and protection against malicious web content. If a scraped webpage contains an exploit, it could potentially escape the browser and gain access to the host system. While running in a Docker container (as suggested by `docker-compose.yml`) provides some isolation, `--no-sandbox` still significantly increases the risk within the container itself. There are no other immediate `eval` or direct arbitrary command execution from user input, and secrets are handled via environment variables, but the Puppeteer configuration is a major concern.
Similar Servers
mcp-omnisearch
Provides a unified interface for various search, AI response, content processing, and enhancement tools via Model Context Protocol (MCP).
mcp-server
A Model Context Protocol (MCP) server that integrates with SerpApi to provide comprehensive search engine results and data extraction to an LLM.
webscraping-ai-mcp-server
Integrates with WebScraping.AI to provide LLM-powered web data extraction, including question answering, structured data extraction, and HTML/text retrieval, with advanced features like JavaScript rendering and proxy management.
ddg_search
A Model Context Protocol server for web search using DuckDuckGo and AI-powered answers from IAsk AI, Monica, and Brave AI, designed for integration with AI assistants.