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

@quorum-us/opsgenie-mcp

v1.0.1

Published

MCP server for Opsgenie alert management with comprehensive filtering, custom queries, and AI-friendly interface

Readme

Opsgenie MCP Server

A comprehensive MCP server for Opsgenie alert management with AI assistants.

Quick Start

1. Install via NPM

npx @quorum-us/opsgenie-mcp

2. Add to Augment

Add this to your Augment MCP configuration:

{
  "mcpServers": {
    "opsgenie": {
      "command": "npx",
      "args": ["-y", "@quorum-us/opsgenie-mcp"],
      "env": {
        "OPSGENIE_API_KEY": "your-opsgenie-api-key"
      }
    }
  }
}

3. Opsgenie Setup

Get your Opsgenie API key:

  1. Go to Opsgenie → Settings → API key management
  2. Create a new API key with appropriate permissions
  3. Set the environment variable:
    export OPSGENIE_API_KEY=your_api_key_here

Available Tools

listAlerts_Opsgenie

List Opsgenie alerts with comprehensive filtering options.

Parameters:

  • limit (optional): Maximum number of alerts to return (1-100, default: 20)
  • offset (optional): Number of alerts to skip for pagination (default: 0)
  • status (optional): Filter by alert status - 'open', 'acknowledged', 'closed', 'all'
  • priority (optional): Filter by priority - 'P1', 'P2', 'P3', 'P4', 'P5'
  • message (optional): Filter alerts by message content
  • source (optional): Filter alerts by source
  • owner (optional): Filter alerts by owner
  • tags (optional): Filter by tags (all tags must match)
  • teams (optional): Filter by team names
  • query (optional): Custom Opsgenie search query with full control (takes precedence over all other filters)
  • searchIdentifier (optional): Identifier of saved search query
  • searchIdentifierType (optional): Type of search identifier ('id' or 'name')
  • sort (optional): Field to sort alerts by (default: 'lastOccurredAt')
  • order (optional): Sort order - 'asc' or 'desc' (default: 'desc')

getAlert_Opsgenie

Get details of a specific Opsgenie alert.

Parameters:

  • identifier (required): Alert identifier (ID or alias)

Usage Examples

Simple Status Filtering

{
  "status": "open",
  "priority": "P1",
  "limit": 10
}

Custom Query (AI Full Control)

{
  "query": "status: open AND priority: (P1 OR P2) AND tag: production AND NOT tag: maintenance",
  "sort": "lastOccurredAt",
  "order": "desc",
  "limit": 50
}

Team and Message Filtering

{
  "teams": ["backend", "devops"],
  "message": "database",
  "status": "open"
}

Example Response

{
  "content": [
    {
      "type": "text",
      "text": "{\"data\":[{\"id\":\"alert-id\",\"tinyId\":\"123\",\"alias\":\"alert-alias\",\"message\":\"Database connection failed\",\"status\":\"open\",\"acknowledged\":false,\"priority\":{\"id\":\"P1\",\"name\":\"P1\"},\"source\":\"monitoring\",\"owner\":\"john.doe\",\"tags\":[\"production\",\"database\"],\"createdAt\":\"2024-01-15T10:30:00Z\",\"lastOccurredAt\":\"2024-01-15T10:30:00Z\"}],\"took\":0.5,\"requestId\":\"req-123\"}"
    }
  ]
}

Advanced Query Syntax

The query parameter supports full Opsgenie search syntax:

Operators

  • AND - Both conditions must be true
  • OR - Either condition must be true
  • NOT - Condition must be false
  • () - Group conditions

Examples

  • "status: open AND priority: P1"
  • "message: database* AND teams: backend"
  • "tag: production AND source: monitoring AND (priority: P1 OR priority: P2)"
  • "createdAt > 2024-01-01 AND status: open"

See QUERY_EXAMPLES.md for more examples.

Publishing to NPM

For Developers

  1. Login to NPM (first time only):

    npm login
  2. Update version:

    npm version patch  # for bug fixes
    npm version minor  # for new features
    npm version major  # for breaking changes
  3. Build and publish:

    npm run build
    npm publish --access public
  4. Test the published package:

    npx @quorum-us/opsgenie-mcp

Publishing Checklist

  • [ ] Update version in package.json
  • [ ] Update README if needed
  • [ ] Build passes (npm run build)
  • [ ] Test locally
  • [ ] Publish to NPM
  • [ ] Test published package with npx

Development Setup

git clone <repository>
cd opsgenie-mcp
npm install
npm run build

License

Proprietary - All rights reserved by Quorum US