SoSearch logo

SoSearch

Community
NetLops

๐Ÿ”Ž One query. Three search engines. Self-hosted web search for AI agents via HTTP API or MCP. Aggregates DuckDuckGo, Brave & Yahoo. Built with Rust. No API keys required.

PublisherNetLops
RepositorySoSearch
LanguageRust
Forks
17
Stars
132
Available tools
0
Transport typestdio
Links
  • Connect tools to AI workflows

    SoSearch exposes MCP capabilities that can be used by compatible AI clients and agents.

  • 0 available tools

    Browse the callable actions below, including names and descriptions when provided by the server.

  • Ready-to-copy setup

    Use the installation snippets to configure this server in your preferred MCP client.

  • Open source signals

    132 stars and 17 forks from the linked repository.

SoSearch API

A lightning-fast pseudo Web Search Engine API written in Rust โ€” also works as an MCP server for AI agents. This project emulates popular APIs like SerpAPI or Tavily without needing official and expensive API keys, by multiplexing requests to popular engines directly and scraping the results concurrently.

Philosophy

  • Performance: Powered by tokio for async concurrent I/O.
  • Bot Bypass: Leverages rquest with TLS impersonation (e.g., simulating a Chrome 124 browser footprint at the TLS/HTTP2 layer) to minimize blocking vs standard HTTP clients (the Rust equivalent of curl_cffi).
  • Standardized: Normalizes DuckDuckGo, Yahoo, and Brave HTML results into a standardized SearchResult JSON array.

Core Stack

๐Ÿ” Supported Search Engines

  • DuckDuckGo (Primary standard search)
  • Yahoo (Powered by Bing)
  • Brave Search (Independent index)

๐Ÿ“ Project Structure

src/
โ”œโ”€โ”€ main.rs              # Entry point: HTTP server or MCP mode (--mcp)
โ”œโ”€โ”€ search.rs            # Shared concurrent search logic
โ”œโ”€โ”€ mcp.rs               # MCP stdio server (JSON-RPC 2.0)
โ”œโ”€โ”€ models.rs            # SearchResultItem, SearchResponse structs
โ””โ”€โ”€ engines/
    โ”œโ”€โ”€ mod.rs            # SearchEngine enum + trait dispatch
    โ”œโ”€โ”€ duckduckgo.rs     # DuckDuckGo scraper
    โ”œโ”€โ”€ yahoo.rs          # Yahoo scraper (Bing-powered)
    โ””โ”€โ”€ brave.rs          # Brave Search scraper
examples/
โ”œโ”€โ”€ fetch_html.rs        # Download raw HTML for offline debugging
โ””โ”€โ”€ test_parser.rs       # Offline CSS selector iteration
.gemini/                 # Gemini CLI agent config
โ”œโ”€โ”€ GEMINI.md            # Project-level system prompt
โ”œโ”€โ”€ settings.json        # MCP server configuration
โ””โ”€โ”€ skills/              # Project-level agent skills
    โ”œโ”€โ”€ sosearch-engine-dev/  # Scraper development workflow
    โ””โ”€โ”€ sosearch-api-ops/     # API operations & deployment
.agents/                 # Generic agent config (compatible with multiple AI tools)
โ””โ”€โ”€ skills/              # Same skills, alternative discovery path
    โ”œโ”€โ”€ sosearch-engine-dev/
    โ””โ”€โ”€ sosearch-api-ops/

๐Ÿค– Agent Skills & MCP Support

This project includes built-in AI agent support for both Gemini CLI and other tools that follow the .agents/ convention.

Available Skills

SkillDescription
sosearch-engine-devFull workflow for adding/debugging search engine scrapers: fetch HTML โ†’ test selectors offline โ†’ decode URLs โ†’ integrate
sosearch-api-opsOperations guide: build, run, test, deploy (local + Docker), troubleshoot

MCP Servers

Configured in .gemini/settings.json:

ServerPackagePurpose
filesystem@modelcontextprotocol/server-filesystemScoped file access to project directory

Usage with Gemini CLI

bash
cd /path/to/SoSearch
gemini
# Skills are auto-discovered. Ask: "How do I add a new search engine?"

๐Ÿ”Œ MCP Server Mode

Run SoSearch as an MCP server for AI agents (Claude, Gemini, Cursor, etc.):

bash
./SoSearch --mcp

Configuration

Claude Desktop (claude_desktop_config.json):

json
{
  "mcpServers": {
    "sosearch": {
      "command": "/path/to/SoSearch",
      "args": ["--mcp"]
    }
  }
}

Gemini CLI (.gemini/settings.json):

json
{
  "mcpServers": {
    "sosearch": {
      "command": "/path/to/SoSearch",
      "args": ["--mcp"]
    }
  }
}

This exposes a web_search tool that AI agents can call to search the web.

Windows Configuration

Claude Desktop (%APPDATA%\Claude\claude_desktop_config.json):

json
{
  "mcpServers": {
    "sosearch": {
      "command": "C:\\path\\to\\SoSearch.exe",
      "args": ["--mcp"]
    }
  }
}

๐Ÿš€ Quick Start

Linux / macOS

bash
# Download pre-built binary or build from source
cargo run --release
curl "http://localhost:10080/search?q=hello+world"

Windows

ไฝฟ็”จ้ข„็ผ–่ฏ‘ไบŒ่ฟ›ๅˆถ๏ผš

ไปŽ GitHub Releases ไธ‹่ฝฝ SoSearch-windows-amd64.zip๏ผŒ่งฃๅŽ‹ๅŽ๏ผš

powershell
# ๅฏๅŠจ HTTP ๆœๅŠก
.\SoSearch.exe

# ๅฆๅผ€ไธ€ไธช็ปˆ็ซฏๆต‹่ฏ•
Invoke-RestMethod "http://localhost:10080/search?q=hello+world" | ConvertTo-Json

# ๆˆ–ไฝฟ็”จ curl
curl.exe "http://localhost:10080/search?q=hello+world"

ไปŽๆบ็ ็ผ–่ฏ‘๏ผˆ้œ€่ฆๅฎ‰่ฃ… Rustใ€CMakeใ€NASMใ€LLVM/Clang๏ผ‰๏ผš

powershell
# ๅฎ‰่ฃ…ไพ่ต– (ไฝฟ็”จ Chocolatey)
choco install cmake nasm llvm -y

# ็ผ–่ฏ‘่ฟ่กŒ
cargo run --release

MCP ๆจกๅผ๏ผš

powershell
.\SoSearch.exe --mcp

Refer to QUICK_START.md for full instructions.

๐Ÿ“„ License

CC BY-NC 4.0 โ€” ้žๅ•†ไธš็”จ้€”ๅฏ่‡ช็”ฑไฝฟ็”จใ€ไฟฎๆ”นๅ’Œๅˆ†ๅ‘ใ€‚

๐Ÿ  Community

้ฆ–ๅ‘ไบŽ LINUX DO ็คพๅŒบ๏ผŒๆฌข่ฟŽ Star โญ ๅ’Œ PR๏ผ

Use SoSearch MCP with multiple AI models

TypingMind connects MCP tools at the workspace level, so once SoSearch is connected, you can use it with different AI models in TypingMind instead of setting it up separately for each model. This MCP runs locally through the TypingMind MCP connector on your device.

Setup guide to use the local connector

Use this when the MCP server needs access to local files, apps, or private resources on your computer.

1

Open the MCP settings

In TypingMind, go to Settings, Advanced Settings, then Model Context Protocol and choose Setup Connector.

  1. Open TypingMind in your browser.
  2. Click the Settings icon.
  3. Go to Advanced Settings.
  4. Open the Model Context Protocol section.
  5. Click Setup Connector and choose This Device.
TypingMind MCP connector setup screen with This Device selected
2

Run the connector command

Choose This Device, copy the command from TypingMind, and run it in Terminal. Keep the process running while you use MCP.

  1. Copy the setup command shown by TypingMind.
  2. Open Terminal on macOS or Windows Terminal on Windows.
  3. Paste and run the command.
  4. Approve the package install if Terminal asks you to proceed.
  5. Keep the Terminal window running while using MCP tools.
3

Add SoSearch as a server

When the connector status is Ready, click Edit Servers and paste the MCP server configuration.

  1. Wait until the connector status shows Ready.
  2. Click Edit Servers.
  3. Paste the SoSearch MCP server configuration.
  4. Save the server list.
  5. Refresh if you want to confirm the connector is still ready.
TypingMind MCP settings showing active server and Edit Servers button
{
  "mcpServers": {
    "sosearch": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

Use it across models

Save the server list, open Plugins, enable the SoSearch MCP tools, then select any supported AI model in TypingMind and use the tools in chat or assign them to an AI agent.

  1. Open the Plugins page in TypingMind.
  2. Enable the SoSearch MCP tools.
  3. Start a chat and choose the AI model you want to use.
  4. Use the MCP tools in chat or assign them to an AI agent.
  5. Switch to another AI model whenever needed without reconnecting MCP.
TypingMind chat using enabled MCP tools with a selected AI model
Can you use SoSearch to help me with this task?
SoSearch
Sure. I read it.
Here is what I found using SoSearch.

Frequently asked questions

What is the SoSearch MCP server used for?

SoSearch is an MCP server that lets compatible AI clients connect to external tools and context. In TypingMind, you can add this MCP server once and make its tools available in your AI workspace.

Can I use SoSearch MCP with multiple AI models in TypingMind?

Yes. TypingMind connects MCP tools at the workspace level, so you can use SoSearch with different AI models such as Claude, ChatGPT, Gemini, or other models you have configured in TypingMind without setting up the MCP server separately for each model.

Why use SoSearch MCP with TypingMind?

TypingMind is one of the best frontends for LLM chat because it brings multiple AI models, prompts, plugins, AI agents, API keys, and MCP tools into one workspace. With SoSearch connected, you can use its MCP tools across your preferred models while keeping your chat workflow organized in TypingMind.

How do I connect SoSearch MCP to TypingMind?

SoSearch runs through the TypingMind local MCP connector. This is best when the MCP server needs access to local files, desktop apps, command-line tools, or private resources on your computer.

What tools does SoSearch MCP provide in TypingMind?

SoSearch exposes MCP capabilities that can be enabled from the TypingMind Plugins page and used in chat or assigned to AI agents.

Do I need to share my API keys with TypingMind to use SoSearch MCP?

No. TypingMind is local-first and lets you keep your model providers, API keys, prompts, and MCP configuration under your control. If SoSearch requires authentication, add the required headers, OAuth settings, or local configuration for that MCP server when you create the connection.

Related MCP Servers

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter ๐Ÿ‘‡