Skip to main content
Glama

Nostr MCP Server

by AustinKelsay
import { SimplePool } from "nostr-tools/pool"; /** * Create a fresh SimplePool instance for making Nostr requests * @returns A new SimplePool instance */ export function getFreshPool(): SimplePool { return new SimplePool(); } /** * Interface for Nostr events */ export interface NostrEvent { id: string; pubkey: string; created_at: number; kind: number; tags: string[][]; content: string; sig: string; } /** * Interface for Nostr filter parameters */ export interface NostrFilter { ids?: string[]; authors?: string[]; kinds?: number[]; since?: number; until?: number; limit?: number; [key: `#${string}`]: string[]; }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/AustinKelsay/nostr-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server