🤖 nostr-code-snippet-mcp
About
An MCP server that integrates with Nostr for managing code snippets. It is configured for use with the Claude desktop app and requires a Nostr secret key (nsec) and a list of relay URLs.
Details
- Author
- nodetec
- GitHub stars
- 2
- Downloads
- 291
- Categories
- Developer Tools
Jump to
- Nostr integration for code snippets
- Configurable relay list
- Requires authentication via nsec
- Designed for Claude desktop app
- Cross‑platform configuration support
Setting up with Highlight
This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:
- Download and install Highlight from highlightai.com/download
- Navigate to the plugins tab and select "Add Custom Plugin"
-
Configure the plugin with the settings below
Plugin Name
🤖 nostr-code-snippet-mcpCommand (node, npx, python, etc.)Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.
- Enable "Start Automatically" if you want the plugin to start when Highlight launches
From the repository
Install dependencies with npm install, build the project with npm run build, then add the server configuration to your Claude desktop config file (location varies by OS) with the NSEC and RELAYS environment variables set.
Claude Desktop / Cursor
Paste into your MCP client config file to install this server.
{
"mcpServers": {
"\ud83e\udd16 nostr-code-snippet-mcp": {
"nostr-code-snippet-mcp": {
"command": "node",
"args": [
"/Users/<path to>/nostr-code-snippet-mcp/dist/index.js"
],
"env": {
"NSEC": "<some nsec>",
"RELAYS": "wss://relay.damus.io,wss://relay.snort.social"
}
}
}
}
}
McpServers
{
"nostr-code-snippet-mcp": {
"command": "node",
"args": [
"/Users/<path to>/nostr-code-snippet-mcp/dist/index.js"
],
"env": {
"NSEC": "<some nsec>",
"RELAYS": "wss://relay.damus.io,wss://relay.snort.social"
}
}
}
🤖 nostr-code-snippet-mcp
Add this to your claude config file:
{
"mcpServers": {
"nostr-code-snippet-mcp": {
"command": "node",
"args": ["/Users/<path to>/nostr-code-snippet-mcp/dist/index.js"],
"env": {
"NSEC": "<some nsec>",
"RELAYS": "wss://relay.damus.io,wss://relay.snort.social"
}
}
}
}
NOTE: be sure to replace <path to> with the path to wherever you cloned the repo
The configuration file location depends on your operating system:
- macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
- Linux: ~/.config/Claude/claude_desktop_config.json
- Windows: %APPDATA%/Claude/claude_desktop_config.json
Development
Install dependencies:
npm install
Build the project:
npm run build
Run the inspector:
npm run inspect
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.





