mcpField
M
Mcp Server For Searxng Search And Web Scraping

Mcp Server For Searxng Search And Web Scraping

Local
github.com/wfkpkSearch2Updated 71w ago

About Mcp Server For Searxng Search And Web Scraping

An MCP server for privacy-focused web search and article extraction through SearXNG. It is suited to users who need search results or clean article text, with an option to search and scrape the top five results together.

Key features

  1. 01Search the web through SearXNG
  2. 02Extract article text from webpages
  3. 03Search and scrape the top five results

Use cases

  1. 01Find webpage titles, URLs, and snippets
  2. 02Extract article text from a webpage
  3. 03Search and collect the top five results

MCP support

The MCP server exposes SearXNG search, article scraping, and combined search-and-scrape tools to MCP clients.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"searxng-wfkpk": {
"command": "npx",
"args": [
"-y",
"mcp-searxng-scrape"
],
"env": {
"SEARXNG_URL": "<SEARXNG_URL>"
}
}
}
}
Run commandnpx -y mcp-searxng-scrape
Environment variables to set
SEARXNG_URL

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npmmcp-searxng-scrape

Tools

3

Saved tool list · updated 2w ago

ParameterTypeRequiredDescription
querystringYesSearch query text
searxng_urlstringNoURL of the SearXNG instance to use (default: https://searx.be)

Details

From the project README

MCP SearXNG Search

An MCP server for privacy-focused web search and article scraping using SearXNG instances.

Tools

  • searxng_search

    • Execute web searches with titles, URLs, and snippets
    • Inputs:
      • query (string): Search terms
      • searxng_url (string, optional): SearXNG instance URL
  • scrape_article

    • Extract clean article content from any webpage
    • Inputs:
      • url (string): URL to scrape
  • search

    • Search and automatically scrape top 5 results
    • Inputs:
      • query (string): Search terms
      • searxng_url (string, optional): SearXNG instance URL

Configuration

NPX
{
  "mcpServers": {
    "searxng": {
      "command": "npx",
      "args": ["-y", "mcp-searxng-scrape"],
      "env": {
        "SEARXNG_URL": "https://searx.be"
      }
    }
  }
}
Local Development
{
  "mcpServers": {
    "searxng": {
      "command": "node",
      "args": ["dist/index.js"],
      "cwd": "/path/to/mcp-searxng",
      "env": {
        "SEARXNG_URL": "https://searx.be"
      }
    }
  }
}

Popular SearXNG Instances

  • https://searx.be
  • https://search.sapti.me
  • https://searx.tiekoetter.com
  • https://searx.work

Build

npm install
npm run build

SearXNG Setup

For more details on SearXNG setup and customization, refer to the official SearXNG documentation:

🔗 SearXNG Installation Guide

License

MIT

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.