Mcp Server For Searxng Search And Web Scraping
LocalAbout 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
- 01Search the web through SearXNG
- 02Extract article text from webpages
- 03Search and scrape the top five results
Use cases
- 01Find webpage titles, URLs, and snippets
- 02Extract article text from a webpage
- 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.
Tools
3Saved tool list · updated 2w ago
| Parameter | Type | Required | Description |
|---|---|---|---|
| query | string | Yes | Search query text |
| searxng_url | string | No | URL of the SearXNG instance to use (default: https://searx.be) |
Details
From the project READMEMCP 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 termssearxng_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 termssearxng_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.behttps://search.sapti.mehttps://searx.tiekoetter.comhttps://searx.work
Build
npm install
npm run build
SearXNG Setup
For more details on SearXNG setup and customization, refer to the official SearXNG documentation:
License
MIT
Comments
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.