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

generect-ultimate-mcp

v0.1.0

Published

Minimal MCP server exposing Generect Live API tools.

Readme

Generect Live API MCP Server

Minimal MCP server exposing Generect Live API tools.

Quickstart

  1. Install dependencies
npm install
  1. Configure environment (via your MCP client settings or a local .env):
GENERECT_API_BASE=https://api.generect.com
GENERECT_API_KEY=Token <api-key>
GENERECT_TIMEOUT_MS=60000

Note: If you provide a raw key without the Token prefix, the server will add it automatically.

  1. Dev run
npm run dev
  1. Build and start
npm run build && npm start

Tools

  • search_leads: Search for leads by ICP filters (supports timeout_ms)
  • search_companies: Search for companies by ICP filters (supports timeout_ms)
  • generate_email: Generate email by first/last name and domain (supports timeout_ms)
  • get_lead_by_url: Get LinkedIn lead by profile URL (supports timeout_ms)
  • health: Quick health check against the API (optional url, supports timeout_ms)

Cursor integration (settings.json excerpt)

{
  "mcpServers": {
    "generect-liveapi": {
      "command": "node",
      "args": ["./node_modules/tsx/dist/cli.mjs", "src/server.ts"],
      "env": {
        "GENERECT_API_BASE": "https://api.generect.com",
        "GENERECT_API_KEY": "Token <api-key>",
        "GENERECT_TIMEOUT_MS": "60000"
      }
    }
  }
}

Claude Desktop (MCP) setup

Add to ~/.claude/claude_desktop_config.json (or via UI → MCP Servers):

{
  "mcpServers": {
    "generect-api": {
      "command": "node",
      "args": ["dist/server.js"],
      "env": {
        "GENERECT_API_BASE": "https://api.generect.com",
        "GENERECT_API_KEY": "Token <api-key>",
        "GENERECT_TIMEOUT_MS": "60000",
        "MCP_DEBUG": "0"
      }
    }
  }
}

Docker

Build locally:

docker build -t ghcr.io/generect/generect_mcp:local .

Run the server in a container:

docker run --rm \
  -e GENERECT_API_BASE=https://api.generect.com \
  -e GENERECT_API_KEY="Token <api-key>" \
  ghcr.io/generect/generect_mcp:local

Remote over SSH (advanced)

Some MCP clients allow spawning the server via SSH, using stdio over the SSH session. Example config:

{
  "mcpServers": {
    "generect-remote": {
      "command": "ssh",
      "args": [
        "user@remote-host",
        "-T",
        "node",
        "/opt/generect_mcp/dist/server.js"
      ],
      "env": {
        "GENERECT_API_BASE": "https://api.generect.com",
        "GENERECT_API_KEY": "Token <api-key>",
        "GENERECT_TIMEOUT_MS": "60000"
      }
    }
  }
}

Local testing helpers

  • Run a simple health check against the API:
npm run health -- --key=<api-key>
  • Call tools via a local MCP client:
npm run mcp:client -- <api-key>