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-serper-search

v1.1.2

Published

n8n nodes for Serper Search API and subscription management

Readme

n8n-nodes-serper

A custom n8n node for Serper web search API that can be used as a tool in AI agent nodes.

Features

  • Web Search: Perform web searches using Serper's Google Search API
  • AI Agent Compatible: Designed to work seamlessly with n8n's AI agent nodes
  • Configurable Parameters: Customize search results, country, language, and safe search settings
  • Structured Output: Returns formatted search results optimized for AI processing

Installation

From npm

npm install n8n-nodes-serper

From source

  1. Clone this repository
  2. Install dependencies: npm install
  3. Build the package: npm run build
  4. Copy the dist folder to your n8n custom nodes directory

Setup

  1. Get your Serper API key from serper.dev
  2. In n8n, add the Serper node to your workflow
  3. Configure the Serper API credentials with your API key
  4. Set your search parameters and query

Usage

Basic Search

  1. Add the Serper node to your workflow
  2. Configure the credentials with your Serper API key
  3. Set the search query
  4. Configure additional parameters as needed:
    • Number of Results: 1-100 (default: 10)
    • Country: Country code for localized results (default: us)
    • Language: Language code for results (default: en)
    • Safe Search: Enable/disable safe search filtering

As an AI Agent Tool

The Serper node is designed to work as a tool in n8n's AI agent nodes. Simply add it to your agent workflow and the AI will be able to perform web searches as part of its toolset.

Output Format

The node returns structured data including:

  • organic: Array of organic search results
  • peopleAlsoAsk: Related questions
  • relatedSearches: Related search suggestions
  • searchInformation: Metadata about the search

API Reference

Serper API

This node uses the Serper API for web search functionality.

Parameters

  • query (required): The search query
  • num (optional): Number of results (1-100, default: 10)
  • gl (optional): Country code (default: us)
  • hl (optional): Language code (default: en)
  • safe (optional): Safe search setting (off/active, default: off)

Development

Prerequisites

  • Node.js 18+
  • npm or yarn

Setup

git clone https://github.com/your-username/n8n-nodes-serper.git
cd n8n-nodes-serper
npm install

Build

npm run build

Lint

npm run lint

Format

npm run format

License

MIT

Contributing

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add some amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

Support

For issues and questions: