# Ask Pubky (demo) One read-only search layer over Pubky: posts, people, tags and follows (Pubky Nexus) and the external resources people share, such as places, events, books, music and links (Pinakes). No account, no key. Demo only: data comes from development instances, limits are small, and it can go away. ## MCP Add `POST /mcp` as a remote (Streamable HTTP) MCP server. Tools: - `search` — posts (keyword and meaning-based), people, links and tags for a few words or a short question - `links` — external resources with filters: type (schema.org), tags, near + radius_km, from/to, key (isbn:, doi:, osm:...) - `about` — one person, post or link: profile and reputation, thread and replies, card and who tagged it - `network` — the viewer's follows: recent posts, hot tags, links they posted or tagged, people to follow - `trending` — popular tags, posts, people or links today / this week / this month - `graph` — fallback: one read-only Cypher query on the social graph Pass `viewer` (a 52-character pubky key) to personalize, and `scope` = following | friends | wot to limit to a network. Every item has `kind`, `ref` (pubky:// URI or web link) and `url` (where a person opens it): cite the `url`. ## REST - `GET /v1/search?q=&kinds=posts,people,links,tags&scope=&viewer=&limit=` - `GET /v1/links?type=Place&tags=coffee&near=47.37,8.54&radius_km=5` (same parameters as the tool; lists comma-separated) - `GET /v1/about?ref=` - `GET /v1/network?viewer=&what=posts|tags|links|people&days=` - `GET /v1/trending?what=tags|posts|people|links&window=this_week` - `GET /v1/ask?q=&viewer=&mode=best|fast` — server-sent events: `tool`, `tool_done`, `delta` (answer text), `done` (answer, sources)