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

mcp-dicode

v0.2.6

Published

MCP server providing web search tools for AI assistants

Downloads

81

Readme

mcp-dicode

MCP server providing web search tools for AI assistants, powered by Tavily.

Setup

You need a Tavily API key (free tier available).

Claude Code (CLI)

claude mcp add mcp-dicode -e TAVILY_API_KEY=your-api-key -- npx -y mcp-dicode

Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):

{
  "mcpServers": {
    "mcp-dicode": {
      "command": "npx",
      "args": ["-y", "mcp-dicode"],
      "env": {
        "TAVILY_API_KEY": "your-api-key"
      }
    }
  }
}

OpenCode

Add to ~/.config/opencode/opencode.json (global) or .opencode.json in your project root:

"mcp-dicode": {
  "type": "local",
  "command": ["npx", "-y", "mcp-dicode"],
  "environment": {
    "TAVILY_API_KEY": "your-api-key"
  }
}

Tools

web_search

Search the web using Tavily. Returns results with titles, URLs, and snippets.

Parameters:

| Parameter | Type | Default | Description | |---|---|---|---| | query | string | required | The search query | | maxResults | number | 5 | Maximum number of results (1–20) | | searchDepth | string | "basic" | "basic", "fast", "ultra-fast" (1 credit) or "advanced" (2 credits) | | topic | string | "general" | "general", "news", or "finance" | | timeRange | string | — | "day", "week", "month", or "year" | | startDate | string | — | Start date filter (YYYY-MM-DD) | | endDate | string | — | End date filter (YYYY-MM-DD) | | includeDomains | string[] | — | Only include results from these domains | | excludeDomains | string[] | — | Exclude results from these domains | | includeAnswer | boolean | true | Include an AI-generated answer summary |

credit_balance

Check your Tavily API credit balance and usage.

Environment Variables

| Variable | Required | Default | Description | |---|---|---|---| | TAVILY_API_KEY | Yes | — | Your Tavily API key. Get one at tavily.com | | DICODE_MAX_RESULTS | No | 5 | Default number of results | | DICODE_SEARCH_DEPTH | No | basic | Default search depth | | DICODE_CACHE_TTL | No | 3600 | Cache TTL in seconds (0 to disable) | | DICODE_DEBUG | No | — | Set to any value to enable debug logging to stderr |

Example Output

Node.js 22 introduces require() support for ES modules, a WebSocket client, and updates to the V8 JavaScript engine.

### 1. [Node.js — Node.js 22 is now available!](https://nodejs.org/blog/announcements/v22-release-announce)
> We're excited to announce the release of Node.js 22! Highlights include require()ing ES modules, a WebSocket client, updates of the V8 JavaScript engine, and more!

*Response time: 1.2s*

---

Sources:
- [Node.js — Node.js 22 is now available!](https://nodejs.org/blog/announcements/v22-release-announce)

License

MIT