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

@schner/worklog-mcp

v0.1.0

Published

Worklog MCP server — registra horas e conhecimento no Worklog App via Claude (MCP).

Downloads

89

Readme

Worklog MCP

Servidor MCP que conecta o Worklog App ao seu Claude. Registre horas e conhecimento, e consulte clientes/entradas/faturas e o resumo financeiro — tudo por chat, autenticado com uma API key por-tenant gerada no app.

1. Gere sua API key

No Worklog App: Perfil → API keys → Gerar. Copie a chave (wl_…) — ela só é exibida uma vez.

2. Configure no seu cliente

Claude Code (CLI)

claude mcp add worklog -e WORKLOG_API_KEY=wl_suachave -- npx -y @schner/worklog-mcp

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "worklog": {
      "command": "npx",
      "args": ["-y", "@schner/worklog-mcp"],
      "env": {
        "WORKLOG_API_KEY": "wl_suachave",
        "WORKLOG_URL": "https://worklog.schner.dev"
      }
    }
  }
}

WORKLOG_URL é opcional (default https://worklog.schner.dev). Use http://localhost:5179 para apontar pra uma instância local.

Tools

| Tool | O que faz | |---|---| | registrar_entrada | Registra horas por nomes (cria cliente/projeto sob demanda; deduplica) | | listar_entradas | Lista/filtra entradas (cliente, projeto, datas, status) | | listar_clientes | Lista clientes (resolve clienteId) | | listar_projetos | Lista projetos (opcionalmente de um cliente) | | buscar_conhecimento | Busca na base de conhecimento (título/conteúdo/tags) | | ler_conhecimento | Lê o conteúdo completo de um documento | | gravar_conhecimento | Grava um documento técnico (markdown) na KB do cliente | | resumo_financeiro | Dashboard financeiro (pendente, a receber, recebido, por cliente, metas) | | listar_faturas | Lista as faturas |

A key herda o escopo do tenant que a gerou — você só enxerga/edita os dados do seu tenant. Revogue uma key a qualquer momento em Perfil → API keys.

Desenvolvimento

npm install
npm run build          # gera dist/
WORKLOG_API_KEY=wl_... node dist/index.js   # roda o server (stdio)

Distribuição — duas opções:

A) Manual (npm exige 2FA):

npm login
npm publish --otp=123456    # código atual do seu app autenticador

B) CI (sem OTP): crie um token de automação no npm (Access Tokens → Granular, publish + "bypass 2FA"), salve como secret NPM_TOKEN no repo GitHub, e empurre uma tag:

git tag mcp-v0.1.0 && git push origin mcp-v0.1.0

O workflow .github/workflows/publish-mcp.yml builda e publica.

prepublishOnly builda antes; files envia só dist + README + LICENSE. Depois de publicado, npx -y @schner/worklog-mcp resolve do registry.

Convenção MCP/stdio: o stdout é exclusivo do protocolo JSON-RPC. Todo log vai pro stderr.