Provides tools to browse documentation, list files, and search code within the nRF Connect SDK (sdk-nrf) repository on GitHub.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@nrf-mcpfind the peripheral_hr sample and show me its main.c"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
nrf-mcp
MCP server for Nordic nRF Connect SDK development. Provides Claude with tools to browse documentation and sample code from the nrfconnect/sdk-nrf repository.
Tools
Tool | Description |
| List files and directories at a given path in the SDK repo |
| Read a file's contents ( |
| Search across the repo using GitHub code search with qualifier support |
Search examples
# Find all uses of a symbol
DFU_TARGET_IMAGE_TYPE_ANY
# Search docs only
FOTA path:doc/nrf
# Search samples only
peripheral_hr path:samples
# Filter by file type
CONFIG_BT_PERIPHERAL extension:conf
bt_le_adv_start extension:cSetup
Prerequisites
Node.js 18+
GitHub CLI ( authenticated — used to supply a GitHub token at runtime
Install and build
npm install
npm run buildRegister with Claude Code
claude mcp add -s user nrf-mcp -- /path/to/nrf-mcp/run.shRegister with Claude Desktop
Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"nrf-mcp": {
"command": "/path/to/nrf-mcp/run.sh",
"args": []
}
}
}Then restart Claude Desktop.
The run.sh wrapper fetches a fresh token from gh auth token each time the server starts, so no token is ever hardcoded.
Configuration
Variable | Default | Description |
| see | SDK version to target — any git ref (tag, branch, commit SHA) |
| (from | GitHub API token; set explicitly to bypass the |
To target a different SDK version, set the env var in the MCP registration:
claude mcp remove nrf-mcp
claude mcp add -s user -e NRF_SDK_REF=v3.2.4 nrf-mcp -- /path/to/nrf-mcp/run.shRebuild after changes
npm run buildResources
Looking for Admin?
Admins can modify the Dockerfile, update the server description, and track usage metrics. If you are the server author, to access the admin panel.