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

nrf-mcp

v1.0.3

Published

MCP server for nRF54L15DK — build, flash, and read logs via Claude or any MCP client

Readme

nrf-mcp

MCP server for nRF54L15DK — lets Claude (or any MCP client) build, flash, and read logs from nRF boards directly.

What it does

| Tool | Description | |------|-------------| | build | Run west build with auto board detection | | flash | Run west flash, optionally build first, supports multi-board via --snr | | read_uart_logs | Stream UART logs from the board for N seconds | | reset_board | Hard reset via nrfjprog | | list_boards | List connected J-Link boards and serial ports | | get_build_info | Read build_info.yml and .vscode-nrf-connect.json from a build dir |

Prerequisites

Installation

npm install -g nrf-mcp

Or run directly without installing:

npx nrf-mcp

Claude Code setup

claude mcp add nrf -- npx nrf-mcp

With custom toolchain path:

claude mcp add nrf -e NRF_TOOLCHAIN=/path/to/toolchain -e NRF_SDK=/path/to/sdk -- npx nrf-mcp

Claude Desktop setup

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "nrf": {
      "command": "npx",
      "args": ["nrf-mcp"],
      "env": {
        "NRF_TOOLCHAIN": "/path/to/ncs/toolchains/<hash>",
        "NRF_SDK": "/path/to/ncs/v2.x.x"
      }
    }
  }
}

Environment variables

| Variable | Description | Default | |----------|-------------|---------| | NRF_TOOLCHAIN | Path to nRF managed toolchain | Auto-detected from ~/ncs/toolchains/ | | NRF_SDK | Path to nRF Connect SDK | Auto-detected from ~/ncs/v*/ | | NRF_WEST | Path to west binary | $NRF_TOOLCHAIN/bin/west | | NRFJPROG | Path to nrfjprog binary | $NRF_TOOLCHAIN/bin/nrfjprog | | JLINK_DIR | Path to J-Link installation | /opt/SEGGER/JLink |

Auto-detection

If NRF_TOOLCHAIN and NRF_SDK are not set, the server auto-detects them from:

  • Toolchain: newest entry in ~/ncs/toolchains/ that contains bin/west
  • SDK: newest versioned directory in ~/ncs/v*/ that contains zephyr/

This works out of the box for standard nRF Connect SDK installations.

Example usage

Once connected, ask Claude:

"Build the peripheral firmware in /path/to/my-sample/peripheral"

"Flash the ble_long_range peripheral sample"

"Show me the UART logs from the board for 10 seconds"

"What boards are connected?"

Board target auto-detection

The server reads .vscode-nrf-connect.json from the sample's build/ directory to determine the board target automatically — the same config VS Code uses. No need to specify the board manually if you've built with VS Code before.

License

MIT