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

@arguslog/mcp-server

v0.2.1

Published

Arguslog MCP server — exposes the full Arguslog API (issues, projects, orgs, alerts, releases, billing, admin, …) as Model Context Protocol tools. Authenticate with a Personal Access Token from the dashboard.

Readme

@arguslog/mcp-server

Model Context Protocol server for Arguslog — gives an LLM agent direct, authenticated access to your error tracking data: issues, events, projects, organizations, alert rules, releases, members, billing, and (for platform admins) the admin panel surface. Authenticates with a Personal Access Token issued from the dashboard.

The server exposes the entire Arguslog REST API as MCP tools — generated from the OpenAPI spec at build time, with hand-curated descriptions for the most common operations.

Two ways to run

| Mode | Best for | Setup | | ---------------- | ---------------------------------------------- | -------------------------------------------------------------------- | | Hosted (HTTP) | Anyone with a PAT — zero install | Point your MCP client at https://mcp.arguslog.org/mcp with a Bearer header. | | Local (stdio) | Air-gapped envs / self-hosted Arguslog | npx -y @arguslog/mcp-server with ARGUSLOG_PAT in env. |

The hosted endpoint runs the same code as the npm binary, just with per-request PAT auth instead of a process-wide env var. Choose stdio if you want zero network hops between your client and the MCP server, or if you're running against a self-hosted Arguslog instance.

Quick start

1. Generate a PAT

In the Arguslog dashboard, open Personal access tokens (top-right user menu → "Personal access tokens"), click Generate new token, choose the scopes you want the agent to have (read-only for agents that just look at issues; orgs:write, releases:write, etc. if you want it to be able to create / update). Copy the arglog_pat_… value once — the dashboard never shows it again.

2. Wire it up in your client

Hosted — recommended

Use the public endpoint. No install, no version drift, always serves the latest tool catalog from production:

{
  "mcpServers": {
    "arguslog": {
      "url": "https://mcp.arguslog.org/mcp",
      "headers": {
        "Authorization": "Bearer arglog_pat_xxxxxxxxxxxxxxxxxxxxxxxx"
      }
    }
  }
}

(Hosted mode requires an MCP client that speaks Streamable HTTP and accepts per-server headers. Newer Claude Desktop / Claude Code, Cursor 0.50+, and Continue support this. If yours doesn't yet, fall back to the stdio config below.)

Local stdio — Claude Desktop / Claude Code

Edit ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or the equivalent on your platform:

{
  "mcpServers": {
    "arguslog": {
      "command": "npx",
      "args": ["-y", "@arguslog/mcp-server"],
      "env": {
        "ARGUSLOG_PAT": "arglog_pat_xxxxxxxxxxxxxxxxxxxxxxxx"
      }
    }
  }
}

Cursor

In Cursor's settings → MCP, add a new server with command npx -y @arguslog/mcp-server and the ARGUSLOG_PAT env var.

Continue

In ~/.continue/config.json:

{
  "experimental": {
    "modelContextProtocolServers": [
      {
        "name": "arguslog",
        "command": "npx",
        "args": ["-y", "@arguslog/mcp-server"],
        "env": { "ARGUSLOG_PAT": "arglog_pat_xxx" }
      }
    ]
  }
}

Self-hosted Arguslog

Set ARGUSLOG_API_URL alongside the PAT:

"env": {
  "ARGUSLOG_PAT": "arglog_pat_xxx",
  "ARGUSLOG_API_URL": "https://arguslog.your-company.com"
}

3. Talk to your error tracker

> What are my open critical issues this week?

The agent calls arguslog_orgs_list_mine, finds your org, picks a project, then runs
arguslog_issues_list with statuses=unresolved levels=fatal,error and shows you the rows.
> Create a new React project called "Marketing Web" in my Acme org and show me its DSN.

The agent chains:
  arguslog_orgs_list_mine        → finds Acme (orgId: 42)
  arguslog_projects_create       → POSTs name=Marketing Web platform=react
  arguslog_dsns_list             → fetches the auto-generated DSN
> Grant a 3-month Pro courtesy upgrade to the demo org with reason "Beta tester".

(Requires platform admin allowlisted PAT.)
The agent calls arguslog_admin_grant_bonus with tier=pro months=3.

What's covered

Every endpoint in /api/v1/... is callable. The high-leverage ones have curated descriptions and example payloads in their tool docstring:

| Group | Examples | | ------------ | ----------------------------------------------------------------------- | | Orgs | list mine, create, delete, usage, members | | Projects | list, create, archive, DSN keys CRUD | | Issues | list with filters, get, list events, change status | | Releases | list, create, attach source-map artifacts, delete | | Alerts | rules CRUD, destinations CRUD (Telegram / Slack / email / webhook) | | Billing | plan catalog, usage snapshot, crypto checkout, customer portal | | Admin | platform stats, user / org tables, bonus grants, audit log | | Me | who am I, list / create / revoke PATs | | Web3 events | the rich event payload shape from @arguslog/sdk-web3 flows through |

PAT scopes are enforced server-side, so a read-only PAT can call read tools but writes return 403. The MCP server surfaces those problem responses verbatim so the agent can explain to the user what scope is missing.

Configuration

| Env var | Required | Default | Description | | -------------------- | -------- | ----------------------------- | ------------------------------------------------ | | ARGUSLOG_PAT | yes | — | Bearer token from the dashboard. | | ARGUSLOG_API_URL | no | https://api.arguslog.org | Override for self-hosted / staging environments. |

Local development

pnpm install
pnpm --filter @arguslog/mcp-server build      # generate + compile
pnpm --filter @arguslog/mcp-server test
ARGUSLOG_PAT=arglog_pat_xxx node dist/index.js  # smoke test stdio server

When the OpenAPI spec changes (new endpoints, renamed paths), re-run pnpm generate to refresh src/generated/openapi-tools.ts.

License

MIT — see LICENSE.