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 🙏

© 2025 – Pkg Stats / Ryan Hefner

n8n-nodes-megasearch

v1.0.1

Published

n8n community node for MegaSearch - AI-powered metasearch engine that queries multiple sources and synthesizes comprehensive answers with citations

Downloads

186

Readme

n8n-nodes-megasearch

npm version License: MIT

This is an n8n community node for MegaSearch - an AI-powered metasearch engine that queries multiple sources simultaneously and synthesizes comprehensive answers with citations.

MegaSearch | n8n Community Nodes | API Documentation

Features

  • Multi-Source Search: Query 10+ search sources in parallel (web, academic, news, Reddit, YouTube, and more)
  • AI-Powered Synthesis: Get comprehensive answers with proper citations, not just links
  • Iterative Refinement: Up to 5 search iterations to find the perfect answer
  • n8n AI Agent Compatible: Use as a tool in n8n AI workflows with usableAsTool: true
  • Simple API: Just provide a query, get a complete answer

Installation

In n8n (Recommended)

  1. Go to Settings > Community Nodes
  2. Select Install
  3. Enter n8n-nodes-megasearch and click Install

Using npm

npm install n8n-nodes-megasearch

Self-hosted n8n

Add the package to your n8n installation:

cd ~/.n8n
npm install n8n-nodes-megasearch

Then restart n8n.

Credentials

To use this node, you need a MegaSearch API key:

  1. Create an account: Visit megasearch.prodevs.in and sign in with Google
  2. Get your API key: Go to Dashboard > Tokens and generate an API key
  3. Configure in n8n:
    • Go to Credentials > Add Credential > MegaSearch API
    • Enter your Base URL (default: https://megasearch.prodevs.in)
    • Enter your API Key
    • Click Save

The credential will automatically validate by checking the /health endpoint.

Node Operations

Search

Execute an AI-powered search query across multiple sources.

Parameters:

| Parameter | Type | Required | Description | |-----------|------|----------|-------------| | Query | String | Yes | The search query (max 2000 characters) |

Options:

| Option | Type | Default | Description | |--------|------|---------|-------------| | Include Full Content | Boolean | false | Include full extracted content from sources | | Timeout (Seconds) | Number | 120 | Maximum time to wait (30-300 seconds) |

Output:

{
  "query": "What are the latest advances in quantum computing?",
  "answer": "Recent advances in quantum computing include... [1] [2] [3]",
  "sources": [
    {
      "index": 1,
      "title": "IBM Unveils New Quantum Processor",
      "url": "https://example.com/article",
      "snippet": "IBM has announced..."
    }
  ],
  "sourceCount": 12,
  "usage": {
    "credits_used": 1,
    "credits_remaining": 99,
    "plan": "free"
  }
}

Usage Examples

Basic Search Workflow

  1. Add a Manual Trigger node
  2. Add a MegaSearch node
  3. Configure the query: What are the best practices for TypeScript in 2024?
  4. Execute the workflow

Use with AI Agent

MegaSearch is designed to work as a tool in n8n AI workflows:

  1. Add an AI Agent node
  2. Add MegaSearch as a tool
  3. The agent can now use MegaSearch to answer research questions

Chain with Other Nodes

[HTTP Request] → [MegaSearch] → [Slack]

Get URLs from an API, research them with MegaSearch, and post summaries to Slack.

Pricing

MegaSearch offers a free tier and paid plans:

| Plan | Credits/Month | Features | |------|---------------|----------| | Free | 25/day, 100/month | API + MCP access | | Starter | 1,000/month | No daily cap, higher RPS | | Pro | 5,000/month | Priority support | | Scale | 20,000/month | Enterprise features |

Check megasearch.prodevs.in for current pricing.

Error Handling

The node handles common errors gracefully:

| Status Code | Error | Solution | |-------------|-------|----------| | 401 | Invalid API key | Check your credentials | | 402 | Insufficient credits | Top up your account | | 429 | Rate limit exceeded | Wait before retrying | | 500 | Server error | Retry or contact support |

Enable Continue On Fail to handle errors in your workflow without stopping execution.

Development

Local Development

# Clone the repository
git clone https://github.com/ProDevs-Kol/n8n-nodes-megasearch.git
cd n8n-nodes-megasearch

# Install dependencies
npm install

# Start n8n with the node loaded
npm run dev

Build

npm run build

Lint

npm run lint
npm run lint:fix

Resources

Support

License

MIT


Built with the "Fire Everything" philosophy by ProDevs