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

@iproute/wppapi-mcp

v1.1.0

Published

Servidor MCP que conecta agentes de IA (Claude Code, Claude Desktop, Hermes, OpenClaw...) a um número de WhatsApp via WPPAPI, com human-in-the-loop (ask_user)

Readme

@iproute/wppapi-mcp

Servidor MCP que conecta agentes de IA (Claude Code, Claude Desktop, Hermes, OpenClaw ou qualquer cliente MCP) a um número de WhatsApp através da WPPAPI — incluindo human-in-the-loop: o agente te chama no WhatsApp (ask_user) e aguarda sua resposta antes de continuar.

Requer Node.js 18+.

# stdio (Claude Code / Desktop / OpenClaw local)
claude mcp add whatsapp \
  --env WPPAPI_BASE_URL=https://api.wpp-api.com \
  --env WPPAPI_INSTANCE_ID=sua-instancia \
  --env WPPAPI_TOKEN=sua-api-key \
  --env WPPAPI_OWNER_PHONE=5511999999999 \
  -- npx -y @iproute/wppapi-mcp

# Streamable HTTP (agentes remotos) — endpoint em /mcp
# (proteja com WPPAPI_MCP_AUTH_TOKEN: clientes enviam Authorization: Bearer)
WPPAPI_MCP_AUTH_TOKEN=token-longo WPPAPI_INSTANCE_ID=... WPPAPI_TOKEN=... npx -y @iproute/wppapi-mcp --http 3020

# Listener: suas mensagens no WhatsApp viram tarefas do Claude Code
# (sessão contínua com --resume; comandos /nova, /ping, /parar)
WPPAPI_LISTEN_CWD=/seu/projeto WPPAPI_INSTANCE_ID=... WPPAPI_TOKEN=... WPPAPI_OWNER_PHONE=... npx -y @iproute/wppapi-mcp --listen

Para acionar um Dot por comandos ou grupos pessoais, use o piloto hospedado na WPPAPI. Ele inclui MCP Events e respostas vinculadas a cada pedido.

Tools

| Tool | Descrição | | --- | --- | | whatsapp_status | Status da instância (conectada? qual número?) | | send_message | Envia texto para um número/chatId (grupos @g.us incluídos) | | send_file | Envia mídia por URL (image, file, video, voice) | | check_number, resolve_recipient | Confirma destinatário e resolve variantes brasileiras com/sem nono dígito | | list_contacts, search_contacts, get_contact | Pesquisa e consulta contatos | | search_chats | Pesquisa conversas e grupos por páginas | | list_chats | Lista conversas recentes | | get_messages | Lê as mensagens recentes de uma conversa | | notify_user | Notifica o dono do agente (fire-and-forget) | | ask_user | Pergunta ao dono do agente e aguarda a resposta (polling) | | wait_for_reply | Aguarda nova mensagem do dono sem enviar nada |

Documentação completa (configuração, exemplos por cliente, modo listener, comportamento de erros): docs/mcp.md.