In this demo we ask Claude to post a simple python code snippet. The MCP server reaches out via unix domain socket to have the event signed so Claude nor the MCP server needs to know the private key. This will allow you to have Claude post code snippets that you like on your behalf without needed to expose your private key/nsec.
@grownostr
Chris
chris@nostrings.news
npub1ygzj...60k2
Working on nostr stuff
- notestack.com
- transmit.fm
- notebin.io
- relayrunner.org
- relaywizard.com
- comet.md
NIP-C0 author
How does Primal show reply count, zap sums, like counts and repost counts so fast?
Simple example for NIP-C0 code snippet Mode Context Protocol Server:

GitHub
GitHub - nodetec/nostr-code-snippet-mcp: 🤖 code snippet mcp server
🤖 code snippet mcp server. Contribute to nodetec/nostr-code-snippet-mcp development by creating an account on GitHub.
I wrote a simple MCP server for fetching recent code snippets, this one just gets recent ones but you can imagine how useful this could be if you're running your own relay with a curated list of composable code snippets that already work.
This would be even cooler if you were using a search relay and could have claude search for public code snippets that match what you're trying to do by filetype and function name.
This is just scratching the surface.
I pretty much only find new people on here when accounts I already follow repost content. So we should probably be abusing reposts.
There must be something interesting we can do with this code snippet kind and the new MCP stuff but I have no idea how it works yet.
NIP-C0: Code Snippets is merged
NIP:
Reference implementation:
Repo: 
GitHub
nips/C0.md at master · nostr-protocol/nips
Nostr Implementation Possibilities. Contribute to nostr-protocol/nips development by creating an account on GitHub.

Notebin.io
Notebin.io - Modern Code Sharing Platform
Share and collaborate on code snippets easily with Notebin.io. A modern, fast, and secure platform for developers.
GitHub
GitHub - nodetec/notebin: ✂️ Decentralized code snippets w/ ⚡ lightning tips
✂️ Decentralized code snippets w/ ⚡ lightning tips - nodetec/notebin
I think it’s better to just read from one relay at a time.
Can we ask relays for counts yet?
A new version of Comet is available
This update includes a fix so that Comet is more compliant with existing long form clients.
When publishing, the title (the first line that starts with a single hashtag) will be stripped from the content
Also you must choose a cover image when publishing if you want one to be present.
you can download the new version at
Comet
Capture locally transmit globally
Code Snippet NIP proposal:
reference implementation at 
GitHub
NIP-C0: Code snippets by ChristianChiarulli · Pull Request #1852 · nostr-protocol/nips
Reference implementations:
https://notebin.io
https://snipsnip.dev

Notebin.io
Notebin.io - Modern Code Sharing Platform
Share and collaborate on code snippets easily with Notebin.io. A modern, fast, and secure platform for developers.
Some new update to
a platform for sharing code snippets
https://notebin.io/nevent1qvzqqqq98ypzqgs9ytpvx2em72gqdvn4ugjt9pwkfwce77da4yrfjx7t8ps7rr95qy28wumn8ghj7un9d3shjtnyv9kh2uewd9hsz8nhwden5te0wfjkccte9e3ksunfwdshgmtpvd5xjmn99e3k7mgqyzzr7zupcwn896pm5cxn82v32frsy98hfn2u2zk2wvtrrmpfh85q5n0q7hp
you can find the code here:
#grownostr

Notebin.io
Notebin.io - Modern Code Sharing Platform
Share and collaborate on code snippets easily with Notebin.io. A modern, fast, and secure platform for developers.
GitHub
GitHub - nodetec/notebin: ✂️ Decentralized code snippets w/ ⚡ lightning tips
✂️ Decentralized code snippets w/ ⚡ lightning tips - nodetec/notebin
If you’re on Apple Silicon and want to try out a markdown/longform nostr publishing application checkout
More architectures coming soon.
Comet
Capture locally transmit globally
I'm working on a new long form content site here if anyone is interested, It's a complete rewrite for blogstack that I started about a week ago so it's still missing some core features (like zaps, writing articles deletes etc..) any feedback would be appreciated.

NoteStack
NoteStack
A beautiful Nostr long-form editor. Write, publish, and share your ideas on the decentralized web.