Read from Lore
Use the bundled lore-local MCP server to fetch or search Lore threads.
You can search threads semantically with a natural-language query. Use search_threads when the user asks an open-ended question about prior discussions, decisions, or work, not just when they provide exact keywords.
Tool Selection
- Thread ID like
th_...or a Lore URL: Callget_thread({ thread_id }). Extract the id from the URL path if needed. - Keyword phrase:
Call
search_threads({ query, limit: 10 }). - Semantic/open-ended question:
Call
search_threads({ query: question, limit: 10 }). Use this when the user asks about threads in a broad way that cannot be captured by deterministic filters. Examples:- "what have we been thinking about our open-source strategy?"
- "what did we say about running multiple fastify replicas in railway?"
- "what are some recent decisions we've made about our Posthog setup?"
- "recent", "latest", or no specific query:
Call
list_threads({ limit: 10 }).
Output
- Single-thread fetches: Surface the URL prominently along with the title and author.
- Lists: Show the top matches as one-liners with title, author, and link.
- Empty results: Say nothing matched and suggest loosening the query.
Failure Modes
- Auth errors:
Call
lore_loginonlore-local, then retry. Iflore_loginreturnsbrowser_open_failed, tell the user to visit the verification URL, then calllore_login_resume({ device_code })and retry.
Tone
Speak about "threads" and "shared sessions". Never say "transcript", "JSONL", or "MCP" to the user.