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

@william.wigemo/sonarr-mcp

v0.2.1

Published

MCP server for Sonarr

Readme

@william.wigemo/sonarr-mcp

MCP server for Sonarr.

Installation

npx @william.wigemo/sonarr-mcp

Configuration

Environment Variables

| Variable | Required | Default | Description | |---|---|---|---| | SONARR_URL | Yes | - | Base URL of your Sonarr instance (e.g. http://localhost:8989) | | SONARR_API_KEY | Yes | - | Sonarr API key | | SONARR_ALLOW_WRITE | No | false | Set to true to enable write operations |

Write operations (tools marked with *) are disabled by default. Set SONARR_ALLOW_WRITE=true to enable them.

Tools

Read-Only

| Tool | Description | |---|---| | list_series | List all TV series in the Sonarr library | | get_series | Get details for a specific series by ID | | search_series | Search for TV series by name using TVDB | | list_episodes | List episodes for a given series | | get_queue | Get the active download queue | | get_queue_details | Get detailed queue information | | search_releases | Search for available releases to download for a series or episode | | get_calendar | Get upcoming episodes from the calendar | | get_history | Get download and import history | | get_missing_episodes | Get episodes that are missing | | get_cutoff_episodes | Get episodes that have not met quality cutoff | | list_commands | List currently running and queued commands | | get_command | Get a specific command by ID | | list_episode_files | List episode files for a series | | get_episode_file | Get an episode file by ID |

Write (require SONARR_ALLOW_WRITE=true)

| Tool | Description | |---|---| | add_series | Add a new series to the Sonarr library | | update_series | Update an existing series | | delete_series | Delete a series from the library | | bulk_update_series | Update multiple series at once | | bulk_delete_series | Delete multiple series at once | | update_episode_monitoring | Enable or disable monitoring for a specific episode | | remove_queue_item | Remove an item from the download queue | | grab_queue_item | Force grab a queue item | | download_release | Send a release to the download client | | send_command | Send a command to Sonarr (e.g. EpisodeSearch, RefreshSeries) | | update_episode_file | Update an episode file | | delete_episode_file | Delete an episode file |

Resources

| URI | Description | |---|---| | sonarr://series | List all series in the library | | sonarr://series/{id} | Get a specific series by ID | | sonarr://queue | Active download queue snapshot | | sonarr://calendar | Upcoming episodes from the Sonarr calendar | | sonarr://history | Recent download and import history | | sonarr://wanted/missing | Episodes that are missing and wanted | | sonarr://wanted/cutoff | Episodes that have not met their quality cutoff | | sonarr://commands | Currently running and queued commands |

Usage Examples

Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "sonarr": {
      "command": "npx",
      "args": ["@william.wigemo/sonarr-mcp"],
      "env": {
        "SONARR_URL": "http://localhost:8989",
        "SONARR_API_KEY": "your-api-key"
      }
    }
  }
}

Cursor

Add to your .cursor/mcp.json:

{
  "mcpServers": {
    "sonarr": {
      "command": "npx",
      "args": ["@william.wigemo/sonarr-mcp"],
      "env": {
        "SONARR_URL": "http://localhost:8989",
        "SONARR_API_KEY": "your-api-key"
      }
    }
  }
}

Requirements

  • Node.js 18 or later

License

MIT