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

gnubok-mcp

v1.1.0

Published

Connect Claude Desktop to your Accounted bookkeeping account

Downloads

34

Readme

gnubok-mcp

Legacy compatibility package for existing MCP configurations. New installations should use accounted-mcp. This package, its environment variables, and all existing API keys remain supported.

Connect Claude Desktop (or any stdio MCP client) to your Accounted bookkeeping account. This is a thin stdio → HTTPS bridge: it forwards JSON-RPC over stdio to the hosted Accounted MCP server, which exposes 150+ bookkeeping tools (invoices, transactions, VAT/momsdeklaration, payroll, reports, year-end).

Write tools stage a pending operation that you confirm before anything is booked: the bridge never books on its own.

Quickstart

  1. Mint an API key in the Accounted dashboard at /settings/api. Use a gnubok_sk_test_* key against the sandbox while you evaluate; switch to gnubok_sk_live_* for real data. The key's scopes gate which tools are callable.

  2. Run the bridge with the key in the environment:

    GNUBOK_API_KEY=gnubok_sk_test_... npx gnubok-mcp

    It reads JSON-RPC from stdin and writes responses to stdout, so you normally point an MCP client at it rather than running it by hand.

Claude Desktop config

Add the bridge to your claude_desktop_config.json:

{
  "mcpServers": {
    "gnubok": {
      "command": "npx",
      "args": ["gnubok-mcp"],
      "env": {
        "GNUBOK_API_KEY": "gnubok_sk_test_..."
      }
    }
  }
}

Restart Claude Desktop. The Accounted tools appear in the client and you can start asking questions like "Show my uncategorized bank transactions and suggest categories."

Environment variables

| Variable | Required | Default | Purpose | |---|---|---|---| | GNUBOK_API_KEY | yes | - | Your gnubok_sk_* API key. | | GNUBOK_URL | no | https://app.gnubok.se/api/extensions/ext/mcp-server/mcp | Override the MCP endpoint (e.g. for self-hosted Accounted). | | GNUBOK_CLIENT | no | - | Distribution-channel marker (e.g. openclaw), sent as X-Gnubok-Client. Telemetry only: never affects auth or behavior. |

Alternative: claude.ai connector (no API key)

If you use claude.ai or Claude Desktop's custom-connector flow, you can skip this bridge entirely and add Accounted as an OAuth 2.1 custom connector instead: paste the connector URL https://app.gnubok.se/api/extensions/ext/mcp-server/mcp?client=claude-connector and authorise on the Accounted consent screen (read-only scopes by default; write scopes are ticked explicitly).

Docs

Full setup, sample prompts, and a 10-minute reviewer test: Connect with Claude.

Releasing

The package is published to npm by the Publish MCP bridges to npm workflow (.github/workflows/npm-publish.yml), never by hand:

  1. Bump version in packages/gnubok-mcp/package.json. This is the legacy package: bump it only for compatibility fixes; new functionality goes to accounted-mcp.
  2. Merge the change to main.
  3. The workflow compares the new version with the registry and, if it is not there yet, runs npm publish --provenance --access public. A version that already exists on npm is skipped, so other package.json edits are harmless.

The workflow needs the repository secret NPM_TOKEN: an npm granular access token with read and write access to accounted-mcp and gnubok-mcp, with two-factor bypass enabled so CI can publish. npm caps the lifetime of such tokens (90 days at the time of writing), so rotate the secret before it lapses. Without the secret the run fails at its first step. The workflow can also be started from the Actions tab, for one package or both, with a dry-run option that packs and validates without publishing.

License

MIT