Back to Home
NosytLabs icon

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

Run Command
npx presearch-mcp-server

Environment 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

Stats

Interest Score13
Security Score3
Cost ClassHigh
Avg Tokens10000
Stars4
Forks0
Last Update2025-12-17

Tags

presearchmcp-serverai-toolsweb-searchweb-scraping