npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

metasearch2-mcp

v0.1.0

Published

MCP server for web search powered by metasearch2 — no API keys required

Downloads

28

Readme

metasearch2-mcp

MCP server that adds a web_search tool powered by metasearch2 -- a fast meta-search engine that aggregates results from Google, Bing, Brave, and others. No API keys required.

Want web search for your agent but don't want to pay for an API key? This is the server for you. It runs a local meta-search engine that scrapes results from multiple providers -- completely free, no accounts, no rate limits, no tokens to manage.

Credits

Built on metasearch2 by mat-1 -- an awesome open-source meta-search engine written in Rust. All the heavy lifting (search aggregation, ranking, deduplication) happens there.

Quick start

Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "metasearch2": {
      "command": "npx",
      "args": ["-y", "metasearch2-mcp"]
    }
  }
}

Cursor

Add to ~/.cursor/mcp.json:

{
  "mcpServers": {
    "metasearch2": {
      "command": "npx",
      "args": ["-y", "metasearch2-mcp"]
    }
  }
}

VS Code

Add to .vscode/mcp.json in your project:

{
  "servers": {
    "metasearch2": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "metasearch2-mcp"]
    }
  }
}

Claude Code

claude mcp add metasearch2 -- npx -y metasearch2-mcp

The server ships with pre-built binaries for macOS, Linux, and Windows -- no Rust toolchain needed.

Tool

web_search

Search the web using a local metasearch engine that aggregates results from Google, Bing, Brave, and others. Returns raw JSON with search results, featured snippets, direct answers, and infoboxes.

| Argument | Type | Default | Description | |---|---|---|---| | query | string | (required) | The search query | | type | "all" \| "images" | "all" | "all" for web results, "images" for image search |

Web search response

[{
  "search_results": [
    {
      "result": { "url": "https://...", "title": "...", "description": "..." },
      "engines": ["google", "bing", "brave"],
      "score": 1.55
    }
  ],
  "featured_snippet": {
    "url": "https://...", "title": "...", "description": "...", "engine": "google"
  },
  "answer": { "html": "42", "engine": "numbat" },
  "infobox": { "html": "<h2>...</h2>", "engine": "wikipedia" }
}]

Image search response

[{
  "image_results": [
    {
      "result": {
        "image_url": "https://...",
        "page_url": "https://...",
        "title": "...",
        "width": 1200,
        "height": 800
      },
      "engines": ["google", "bing"],
      "score": 1.5
    }
  ]
}]

Configuration

| Variable | Default | Description | |---|---|---| | METASEARCH_BIN | (auto-resolved) | Path to the metasearch2 binary | | METASEARCH_PORT | 28019 | Port for the local HTTP API | | METASEARCH_AUTO_INSTALL | true | Set to false to skip auto cargo install |

Advanced: engine configuration

The server generates a default ~/.config/metasearch/config.toml on first run. You can edit it to enable/disable engines, adjust ranking weights, or block domains:

api = true
bind = "0.0.0.0:28019"

[image_search]
enabled = true

[engines]
google_scholar = true       # enable (off by default)
marginalia = false          # disable

[engines.brave]
weight = 2.0               # boost Brave results

[urls.weight]
".quora.com" = 0            # hide Quora results
".pinterest.com" = 0        # hide Pinterest results

License

MIT