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

@tailormade/seq-mcp

v1.1.4

Published

MCP server for Seq structured logging — search, signals, live events.

Downloads

268

Readme

@tailormade/seq-mcp

MCP server for Seq structured logging — search, query, signals, live events.

Stack

Setup

npm install @tailormade/seq-mcp

Set environment variables:

SEQ_SERVER_URL=https://your-seq-server
SEQ_API_KEY=your-api-key

Claude Desktop / MCP config

{
  "mcpServers": {
    "seq": {
      "command": "node",
      "args": ["node_modules/@tailormade/seq-mcp/dist/index.js"],
      "env": {
        "SEQ_SERVER_URL": "https://your-seq-server",
        "SEQ_API_KEY": "your-api-key"
      }
    }
  }
}

API Key Permissions

The API key needs specific Seq permissions depending on which tools you want to use:

| Permission | Tools | |------------|-------| | Read | All tools |

Minimum required: Read.

Tools

| Tool | Description | Default format | |------|-------------|---------------| | seq_search | Search events by filter, signal, date range | compact | | seq_get_event | Get single event by ID with full details | detail | | seq_recent | Fetch most recent events, supports polling with afterId | compact | | seq_stream | Long-poll for new events (real-time monitoring) | compact | | seq_signals | List all shared signals (cached 10 min) | table | | seq_query | Execute SQL queries (select ... from stream) | table | | seq_expression_indexes | List expression indexes | table | | seq_fields | Discover fields by sampling events (cached 10 min) | - | | seq_query_help | Inline filter + SQL reference docs | - | | seq_prefs | Show current preferences | - | | seq_prefs_update | Update a preference | - | | seq_history | Show cached query history and discovered systems | - | | seq_history_clear | Clear history cache (all, queries, systems, or specific) | - |

Output Formats

All event tools support a format parameter: compact, table, detail, raw.

Default format is configurable via seq_prefs_update key=defaultFormat value=compact.

Preferences

Stored in ~/.seq-mcp-prefs.json:

| Key | Default | Description | |-----|---------|-------------| | defaultFormat | compact | Default output format for event tools | | maxMessageLength | 120 | Truncate messages in compact/table mode | | hideFields | ProcessId,ThreadId,EventId | Fields hidden in detail view | | historyQueryKeepDays | 60 | Auto-prune query history older than N days | | historySystemKeepDays | 60 | Auto-prune system entries older than N days | | maxHistoryQueries | 500 | Max query entries to keep in history |

Architecture

src/
├── index.ts              Entry point — MCP server + tool registration
├── api/
│   ├── client.ts         SeqClient — HTTP calls + caching
│   ├── formatter.ts      Event/signal formatting (compact/table/detail/raw)
│   ├── prefs.ts          Preferences (~/.seq-mcp-prefs.json)
│   └── history.ts        History cache (~/.seq-mcp-history-{hostname}.json)
└── tools/
    ├── search.ts          seq_search, seq_get_event
    ├── signals.ts         seq_signals
    ├── recent.ts          seq_recent
    ├── stream.ts          seq_stream
    ├── query.ts           seq_query, seq_query_help, seq_expression_indexes, seq_fields
    ├── prefs.ts           seq_prefs, seq_prefs_update
    └── history.ts         seq_history, seq_history_clear

References

Known limitations

  • afterId on /api/events/scan scans backwards, not forward — use seq_recent for forward polling
  • seq_stream with very short wait + non-matching filter can cause fetch timeout
  • SQL distinct() over full stream may timeout — always set rangeStartUtc
  • seq_fields discovers fields by sampling — fields that appear rarely may be missed with small sample sizes
  • Properties format varies between Seq versions (array vs object) — formatter handles both