{"version":"1.0","protocolVersion":"2025-11-25","serverInfo":{"name":"profilestr","title":"Profilestr","version":"1.0.0","websiteUrl":"https://profilestr.com"},"description":"Nostr profiles, follow and mute lists, relay lists, trust scores and a live relay directory.","instructions":"Profilestr indexes Nostr profiles: metadata, follow lists, mute lists, relay lists and trust scores, plus a live directory of relays.\nThe aim is to collect the human profiles on Nostr. Trust scores include JEV AI's spam and bot verdict, so a low score or a \"spam\" or \"bot\" verdict suggests an account is not a real person.\nTypical flow: search_profiles to turn a name into a pubkey, then get_profile, get_follows, get_mutes or get_profile_relays with that pubkey.\nFor relays: list_relays to browse, check_relay for live status, get_relay_history for uptime over time, get_relay_users for who uses one.\nEvery pubkey argument accepts an npub or a 64-character hex key. Profiles we haven't indexed return a \"Profile not indexed\" error.\nA human-readable page for any profile is https://profilestr.com/profile/<npub>.","documentationUrl":"https://profilestr.com/api/docs#agents","transport":{"type":"streamable-http","endpoint":"https://profilestr.com/mcp"},"authentication":{"required":false},"capabilities":{"tools":{"listChanged":false}},"tools":[{"name":"search_profiles","title":"Search profiles","description":"Find Nostr profiles by name or display name, ranked by relevance. Also accepts an npub or hex key. Use this first to get a pubkey.","inputSchema":{"type":"object","properties":{"query":{"description":"A name, display name, npub or hex key.","type":"string","minLength":1},"limit":{"description":"1 to 50. Default 10.","type":"integer","minimum":1,"maximum":50},"exact":{"description":"true for exact name matches only.","type":"boolean"}},"required":["query"]},"annotations":{"title":"Search profiles","readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false}},{"name":"get_profile","title":"Get profile","description":"A full profile: name, bio, picture, NIP-05, lightning address, follower/following/note/zap counts, last active time and the combined trust score with its breakdown, including JEV AI's spam and bot verdict and how many of the accounts they follow are active.","inputSchema":{"type":"object","properties":{"pubkey":{"description":"npub or 64-character hex public key.","type":"string"}},"required":["pubkey"]},"annotations":{"title":"Get profile","readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false}},{"name":"get_follows","title":"Get follow list","description":"Who a profile follows (their latest kind 3 list), with names and pictures, plus a history of saved versions with how many were added and removed each time.","inputSchema":{"type":"object","properties":{"pubkey":{"description":"npub or 64-character hex public key.","type":"string"},"limit":{"description":"1 to 1000. Default 100.","type":"integer","minimum":1,"maximum":1000},"offset":{"description":"For paging. Default 0.","type":"integer","minimum":0,"maximum":9007199254740991},"details":{"description":"false returns keys only (faster). Default true.","type":"boolean"}},"required":["pubkey"]},"annotations":{"title":"Get follow list","readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false}},{"name":"get_mutes","title":"Get mute list","description":"Who and what a profile mutes publicly (their latest kind 10000 list): accounts, words, hashtags and threads, plus whether they have encrypted private mutes.","inputSchema":{"type":"object","properties":{"pubkey":{"description":"npub or 64-character hex public key.","type":"string"},"limit":{"description":"1 to 1000. Default 100.","type":"integer","minimum":1,"maximum":1000},"offset":{"description":"For paging. Default 0.","type":"integer","minimum":0,"maximum":9007199254740991},"details":{"description":"false returns keys only (faster). Default true.","type":"boolean"}},"required":["pubkey"]},"annotations":{"title":"Get mute list","readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false}},{"name":"get_list_version","title":"Get a saved list version","description":"One saved version of a follow or mute list as the raw signed Nostr event. Version ids come from the versions array of get_follows or get_mutes.","inputSchema":{"type":"object","properties":{"type":{"type":"string","enum":["follows","mutes"]},"id":{"description":"A version id.","type":"string","minLength":1}},"required":["type","id"]},"annotations":{"title":"Get a saved list version","readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false}},{"name":"get_profile_relays","title":"Get a profile's relays","description":"The relays a profile reads from and writes to (NIP-65, falling back to their kind 3 relay map), with how many indexed profiles use each one.","inputSchema":{"type":"object","properties":{"pubkey":{"description":"npub or 64-character hex public key.","type":"string"},"probe":{"description":"true checks each relay live and adds online and latencyMs.","type":"boolean"}},"required":["pubkey"]},"annotations":{"title":"Get a profile's relays","readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":true}},{"name":"find_profiles","title":"Filter profiles","description":"Filter and sort indexed profiles by text fields and follower, note or zap counts. Use search_profiles instead for a plain name lookup.","inputSchema":{"type":"object","properties":{"name":{"type":"string"},"displayName":{"type":"string"},"about":{"description":"Text in the bio.","type":"string"},"nip05":{"type":"string"},"minFollowers":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"maxFollowers":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"minNotes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"maxNotes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"minZaps":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"maxZaps":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"sortBy":{"type":"string","enum":["followers","notes","zaps","created","updated","active"]},"sortOrder":{"type":"string","enum":["asc","desc"]},"limit":{"description":"1 to 100. Default 10.","type":"integer","minimum":1,"maximum":100},"offset":{"description":"For paging. Default 0.","type":"integer","minimum":0,"maximum":9007199254740991}}},"annotations":{"title":"Filter profiles","readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false}},{"name":"get_profiles_batch","title":"Look up many profiles","description":"Names, pictures, NIP-05 and last-active times for up to 100 hex pubkeys at once. Keys we haven't indexed come back as null.","inputSchema":{"type":"object","properties":{"pubkeys":{"description":"64-character hex keys.","minItems":1,"maxItems":100,"type":"array","items":{"type":"string","pattern":"^[0-9a-f]{64}$"}}},"required":["pubkeys"]},"annotations":{"title":"Look up many profiles","readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false}},{"name":"get_network_stats","title":"Network stats","description":"Totals and distributions across every indexed Nostr profile, optionally with the most-followed accounts.","inputSchema":{"type":"object","properties":{"includeTopUsers":{"type":"boolean"},"topUsersLimit":{"description":"1 to 50. Default 10.","type":"integer","minimum":1,"maximum":50}}},"annotations":{"title":"Network stats","readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false}},{"name":"get_activity_history","title":"Activity history","description":"Daily, weekly or monthly active Nostr profiles over time, plus total indexed profiles and profile completion, from one snapshot per day. Use it for trends; get_network_stats gives the current totals.","inputSchema":{"type":"object","properties":{"period":{"description":"Default day. Weeks start on Monday (UTC).","type":"string","enum":["day","week","month"]},"limit":{"description":"1 to 365. Default 30.","type":"integer","minimum":1,"maximum":365}}},"annotations":{"title":"Activity history","readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false}},{"name":"list_relays","title":"List relays","description":"Nostr relays ranked by how many profiles use them, with live up/down status, latency and NIP-11 details.","inputSchema":{"type":"object","properties":{"status":{"type":"string","enum":["all","online","offline"]},"sort":{"type":"string","enum":["users","activeUsers","latency"]},"minUsers":{"description":"Leave out relays named by fewer profiles. Default 2.","type":"integer","minimum":1,"maximum":9007199254740991},"q":{"description":"Only relays whose URL contains this text.","type":"string"},"limit":{"description":"1 to 500. Default 25.","type":"integer","minimum":1,"maximum":500},"offset":{"description":"For paging. Default 0.","type":"integer","minimum":0,"maximum":9007199254740991},"probe":{"description":"false skips the live check and returns counts only (much faster).","type":"boolean"},"statusLists":{"description":"true adds the full lists of online and offline relay URLs. Default false here, as they're long.","type":"boolean"}}},"annotations":{"title":"List relays","readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":true}},{"name":"check_relay","title":"Check a relay","description":"Live status, latency and the NIP-11 document for one relay, plus how many indexed profiles use it.","inputSchema":{"type":"object","properties":{"url":{"description":"The relay's wss:// address.","type":"string"}},"required":["url"]},"annotations":{"title":"Check a relay","readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":true}},{"name":"get_relay_history","title":"Relay uptime history","description":"Uptime and latency history for one relay from our hourly checker: uptime over 24h, 7, 30 and 90 days, one row per day, and every check from the last 48 hours. Use check_relay for its status right now.","inputSchema":{"type":"object","properties":{"url":{"description":"The relay's wss:// address.","type":"string"},"days":{"description":"How many days of daily rows, 1 to 90. Default 90.","type":"integer","minimum":1,"maximum":90}},"required":["url"]},"annotations":{"title":"Relay uptime history","readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false}},{"name":"get_relay_users","title":"Profiles using a relay","description":"Indexed profiles that list a relay in their relay list, with whether they read from it, write to it or both. Sorted by followers or recent activity.","inputSchema":{"type":"object","properties":{"url":{"description":"The relay's wss:// address.","type":"string"},"marker":{"description":"Default all. read and write include profiles that use it for both.","type":"string","enum":["all","read","write"]},"active":{"description":"true keeps only profiles active in the last 30 days.","type":"boolean"},"sort":{"type":"string","enum":["followers","recent"]},"limit":{"description":"1 to 100. Default 50.","type":"integer","minimum":1,"maximum":100},"offset":{"description":"For paging. Default 0.","type":"integer","minimum":0,"maximum":9007199254740991}},"required":["url"]},"annotations":{"title":"Profiles using a relay","readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false}}]}