Nostr
About
Integrates with Nostr to enable posting notes and interacting with relays, simplifying decentralized social network engagement and content publishing.
Details
- Author
- abdelstark
- Repository
- AbdelStark/nostr-mcp
- GitHub stars
- 26
- Downloads
- 308
- License
- MIT License
- Categories
- Developer Tools, Design, AI, Community, Media, Frontend, Automation, Infrastructure, Other
Jump to
- π Post notes to Nostr network
- π Connect to multiple relays
- π€ MCP-compliant API for AI integration
- πΈ Send Lightning zaps to Nostr users (WIP)
- π‘ Server-Sent Events (SSE) support for real-time communication
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
NostrCommand (node, npx, python, etc.)npxArguments-
Argument 1
-y -
Argument 2
@highlight/mcp-server
Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.
-
Argument 1
- Enable "Start Automatically" if you want the plugin to start when Highlight launches
From the repository
To install Nostr MCP Server for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @AbdelStark/nostr-mcp --client claude
1. Clone the repository:
git clone https://github.com/AbdelStark/nostr-mcp
cd nostr-mcp
1. Install dependencies:
npm install
1. Create a .env file:
> π‘ You can copy the .env.example file and modify it as needed.
NODE_ENV=development
bashnpm test
```
post_note
Posts a new note to the Nostr network. Example input: { "content": "Hello from Nostr! π" }
send_zap
Sends a Lightning zap to a Nostr user. Example input: { "nip05Address": "user@domain.com", "amount": 1000 }
post_note
Posts a new note to the Nostr network.
Example input:
{
"content": "Hello from Nostr! π"
}
send_zap
Sends a Lightning zap to a Nostr user.
Example input:
{
"nip05Address": "user@domain.com",
"amount": 1000
}
Claude Desktop / Cursor
Paste into your MCP client config file to install this server.
{
"mcpServers": {
"nostr": {
"env": {},
"args": [
"-y",
"@highlight/mcp-server"
],
"command": "npx"
}
}
}
Linux
{
"env": [],
"args": [
"-y",
"@highlight/mcp-server"
],
"command": "npx"
}
Macos
{
"env": [],
"args": [
"-y",
"@highlight/mcp-server"
],
"command": "npx"
}
Windows
{
"env": [],
"args": [
"/c",
"npx",
"-y",
"@highlight/mcp-server"
],
"command": "cmd"
}
π Nostr MCP Server
A Model Context Protocol (MCP) server that enables AI models to interact with Nostr, allowing them to post notes and interact with the freedom of speech protocol.
Censorship resistance matters, even for LLMs.
BTW, you should join Nostr now!
π Features
- π Post notes to Nostr network
- π Connect to multiple relays
- π€ MCP-compliant API for AI integration
- πΈ Send Lightning zaps to Nostr users (WIP)
- π‘ Server-Sent Events (SSE) support for real-time communication
π·ββοΈ TODOs
- [ ] Add support for multiple simultaneous connections
- [ ] Implement stdin transport mode (configurable via environment variable)
π Prerequisites
- Node.js 18+
π οΈ Installation
Installing via Smithery
To install Nostr MCP Server for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @AbdelStark/nostr-mcp --client claude
Manual Installation
1. Clone the repository:git clone https://github.com/AbdelStark/nostr-mcp
cd nostr-mcp
1. Install dependencies:
npm install
1. Create a .env file:
> π‘ You can copy the .env.example file and modify it as needed.
```env
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.




