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

@bedolla/enriweb

v0.1.0

Published

MCP server that provides web search and URL fetching via EnriProxy.

Readme

EnriWeb

EnriWeb is a Model Context Protocol (MCP) server over stdio that exposes web search and URL fetching tools by delegating execution to EnriProxy.

If your MCP client can call MCP tools, it can do web search / fetch in a consistent way without implementing provider-specific scraping logic.

What this project is

  • An MCP server process your MCP host launches (OpenCode, Claude Code, Codex, etc.)
  • A thin client for EnriProxy (input validation + structured output)

Requirements

  • Node.js >= 22 (recommended: Node 24 LTS)
  • A reachable EnriProxy server with:
    • POST /v1/tools/web_search
    • POST /v1/tools/web_fetch
  • An EnriProxy API key (configured on the EnriProxy side)

Install

# Global install
npm install -g @bedolla/enriweb

# Or run without installing
npx -y @bedolla/enriweb@latest --help

Build

npm install
npm run typecheck
npm run build

Usage

1) Configure your MCP host

EnriWeb runs as an MCP server over stdio. Your MCP host is responsible for launching the process.

Example: global install

{
  "EnriWeb": {
    "type": "stdio",
    "command": "enriweb",
    "args": [],
    "env": {
      "ENRIPROXY_URL": "http://127.0.0.1:8787",
      "ENRIPROXY_API_KEY": "YOUR_ENRIPROXY_API_KEY"
    }
  }
}

Example: no install (always uses whatever npm currently tags as latest)

{
  "EnriWeb": {
    "type": "stdio",
    "command": "npx",
    "args": ["-y", "@bedolla/enriweb@latest"],
    "env": {
      "ENRIPROXY_URL": "http://127.0.0.1:8787",
      "ENRIPROXY_API_KEY": "YOUR_ENRIPROXY_API_KEY"
    }
  }
}
{
  "EnriWeb": {
    "type": "stdio",
    "command": "node",
    "args": ["C:\\\\Users\\\\Administrator\\\\Projects\\\\EnriWeb\\\\dist\\\\index.js"],
    "env": {
      "ENRIPROXY_URL": "http://127.0.0.1:8787",
      "ENRIPROXY_API_KEY": "YOUR_ENRIPROXY_API_KEY"
    }
  }
}

Configuration

EnriWeb is configured via environment variables:

  • ENRIPROXY_URL (string, optional, default: http://127.0.0.1:8787)
  • ENRIPROXY_API_KEY (string, required)
  • ENRIWEB_TIMEOUT_MS (string, optional, default: 60000)
    • Parsed as an integer (milliseconds).
  • ENRIWEB_WEB_FETCH_DEFAULT_MAX_CHARS (string, optional, default: 200000)
    • Parsed as an integer.
  • ENRIWEB_GITHUB_TOKEN (string, optional)
    • Used for GitHub API enrichment to improve rate limits.

MCP tools

EnriWeb exposes these MCP tools:

  • web_search
  • web_fetch

General notes:

  • All tools accept a single JSON object as their input (the MCP arguments for that tool).
  • EnriWeb returns both:
    • a short human-readable preview (content)
    • the full result payload (structuredContent)

web_search

Search the web via EnriProxy.

Inputs:

  • query (string, required): search query string.
  • max_results (number, optional)
    • Must be >= 1.
    • If omitted, EnriProxy uses its configured default.
    • The upper limit is enforced server-side (EnriWeb does not hardcode a max).
  • recency (string, optional, default: noLimit)
    • One of: oneDay | oneWeek | oneMonth | oneYear | noLimit
  • allowed_domains (string[], optional): allowlist of domains to include.
  • blocked_domains (string[], optional): blocklist of domains to exclude.
  • search_prompt (string, optional): extra context to refine the search intent.

Example arguments object:

{
  "query": "qdrant docker compose autostart systemd",
  "max_results": 10,
  "recency": "oneMonth"
}

web_fetch

Fetch and read content from a URL via EnriProxy.

Inputs:

  • url (string, required unless cursor is provided): full URL (http:// or https://).
  • cursor (string, optional): opaque cursor returned by a previous web_fetch call.
  • offset (number, optional, default: 0): cursor read offset in characters.
  • limit (number, optional): cursor read limit in characters (default: max_chars).
  • prompt (string, optional): extraction hint (what to focus on).
  • max_chars (number, optional): maximum content length (default: ENRIWEB_WEB_FETCH_DEFAULT_MAX_CHARS).

Notes:

  • If the response includes a cursor, you can page through the captured content by calling web_fetch again with cursor + offset + limit.

Example arguments object:

{
  "url": "https://example.com/docs",
  "max_chars": 200000
}