# Nostr Relays > Live directory of public nostr relays. Every relay that appears in real users' relay lists (NIP-65 kind 10002 and kind 3), ranked by usage and probed every few minutes for status, latency, uptime and NIP-11 info. Also looks up a profile's relays and finds which relays hold a given event, with a censorship resistance score. Facts worth knowing: - Users = indexed profiles whose published relay list includes the relay. Latency = time for our checker to open a WebSocket and get an answer. - Recommendation score (0 to 100) = 55% reach (log of users), 30% latency, 15% NIP breadth. Only online, free, open relays qualify for the starter set. - Censorship resistance score (0 to 100) = 100 × (1 − e^(−operators/4)), where operators are distinct registrable domains holding a copy. 1 → 22, 3 → 53, 5 → 71, 8 → 86. 65+ is Resilient, 35+ Moderate, below is Fragile. - Never ask a user for an nsec (private key). Everything here works from public keys and signed events. ## MCP server (best for agents) - Endpoint: https://nostr-relays.com/mcp (Streamable HTTP, stateless JSON, no auth). Add it as a remote MCP server, e.g. `claude mcp add --transport http nostr-relays https://nostr-relays.com/mcp`. - Server card: https://nostr-relays.com/.well-known/mcp/server-card.json - Setup steps for Claude, ChatGPT, Cursor, VS Code and others: https://nostr-relays.com/ai Tools (all read only): - `search_relays`: List public nostr relays ranked by how many real profiles use them, with live online status, latency, payment/auth flags and supported NIPs. Filter by text, status and minimum users. - `get_relay`: Live status, latency, user count, NIP-11 information document (name, software, supported NIPs, limits, fees) and uptime percentages over 24h, 7d, 30d and 90d for a single relay. - `get_relay_users`: Indexed nostr profiles that list a relay in their relay list (NIP-65 or kind 3), most followed first. - `recommend_relays`: Curated relay picks from live data. Groups: starter (best free general purpose set), fast (lowest latency), paid (low spam), search (NIP-50), features (most NIPs). Each relay has a 0 to 100 score from reach, latency and NIP support. - `lookup_profile`: Resolve a nostr identity (display name, npub, nprofile, hex pubkey, nostr: URI or NIP-05 like alice@example.com) and return the profile plus its read/write relay list with live status. A plain name returns matching profiles to choose from. - `find_event`: Query relays live for one event (note1, nevent1, naddr1, hex id, or a client URL containing one). Reports which relays have it, a signature checked preview, and a censorship resistance score (0 to 100) based on how many independent operators hold a copy. Takes up to about 20 seconds. - `build_relay_list`: Normalise relay addresses and return an unsigned kind 10002 (NIP-65) event the user can sign with their own client or signer. Never ask for a private key. Prompts: - `choose_relays`: Pick a good set of relays for a new or existing nostr user and produce a NIP-65 list. - `audit_my_relays`: Check a nostr profile's relay list for offline, slow or concentrated relays and suggest fixes. - `check_note_reach`: Find which relays hold a nostr event and explain how censorship resistant it is. Resources: this file and every guide below as markdown (`resources/list`). ## Pages - [Relay directory](https://nostr-relays.com/relays): every relay, sortable, filterable by status and text (`?q=&status=online&sort=latency`). - [Recommended relays](https://nostr-relays.com/recommended): starter, fastest, paid, search (NIP-50) and broadest NIP sets. - [Relay page](https://nostr-relays.com/relay/relay.damus.io): `/relay/` for any wss:// relay. Status, latency, NIP-11, uptime history and who uses it. `/check?url=ws://…` for plain ws:// relays. - [Profile relay lookup](https://nostr-relays.com/profile): `/profile?q=`. Shows read/write relays and their health. - [Event finder](https://nostr-relays.com/event-finder): `/event-finder?id=`. Which relays hold an event, plus rebroadcast. - [User events](https://nostr-relays.com/events): `/events?q=`. Recent events with a censorship resistance score each. - [Tools](https://nostr-relays.com/tools): every tool on one page, plus a short FAQ about relays. - [Relay list builder](https://nostr-relays.com/list): build and publish a NIP-65 relay list with a browser signer. - [AI agents and MCP](https://nostr-relays.com/ai): how to connect an AI assistant to this site. ## Downloads (plain HTTP, no JS) - https://nostr-relays.com/download?set=directory&format=json: the directory. Formats: `txt` (one URL per line), `json`, `csv` (with stats), `nip65` (unsigned kind 10002). Filters: `status`, `sort`, `minUsers`, `q`, `limit` (max 500). - https://nostr-relays.com/download?set=online&format=txt: every relay online right now (`set=offline` for the opposite). - https://nostr-relays.com/download?set=recommended&group=starter&format=nip65: a recommendation group. Groups: starter, fast, paid, search, features. ## Upstream API - [profilestr.com relay API](https://profilestr.com/api/docs#relays): the JSON API behind this site (`/api/relays`, `/api/relays/check`, `/api/relays/history`, `/api/relays/users`, `/api/profile//relays`, `/api/search`). ## Guides - [Nostr relay list](https://nostr-relays.com/nostr-relays.md): A live nostr relay list ranked by how many real profiles use each relay, with online status, latency and supported NIPs. Download it as text, CSV or NIP-65. - [Best nostr relays](https://nostr-relays.com/best-nostr-relays.md): The best nostr relays right now, scored on reach, latency and NIP support. Free, open relays that are online, plus a ready to use starter set you can download. - [Free nostr relays](https://nostr-relays.com/free-nostr-relays.md): Free public nostr relays that are online now and accept writes without payment or authentication, ranked by users and latency. - [Paid nostr relays](https://nostr-relays.com/paid-nostr-relays.md): Paid nostr relays that charge a small admission fee for writing, ranked by users and checked live. Why they reduce spam and how to use them alongside free relays. - [Fastest nostr relays](https://nostr-relays.com/fastest-nostr-relays.md): The fastest nostr relays by measured response time, filtered to relays with real users. Test latency from your own browser before you add them. - [Nostr search relays](https://nostr-relays.com/nostr-search-relays.md): Nostr relays that advertise NIP-50 search, so clients can find notes and profiles by keyword. Live status, latency and user counts. - [Nostr relay checker](https://nostr-relays.com/nostr-relay-checker.md): Check whether any nostr relay is online, measure its latency from your browser, test reads and writes, and see its NIP-11 info and supported NIPs. - [Find a nostr event](https://nostr-relays.com/find-nostr-event.md): Paste a note1, nevent or naddr to see which nostr relays store it. Verify the signature and rebroadcast the event to relays that are missing it. - [What is a nostr relay?](https://nostr-relays.com/what-is-a-nostr-relay.md): What a nostr relay is, how relays store and forward events, read versus write relays, NIP-65 relay lists, and how to choose good relays. ## Optional - [Full guide text](https://nostr-relays.com/llms-full.txt): every guide above with its sections and FAQ. - [Sitemap](https://nostr-relays.com/sitemap.xml) - [Privacy](https://nostr-relays.com/privacy), [Terms](https://nostr-relays.com/terms)