[{"data":1,"prerenderedAt":269},["ShallowReactive",2],{"news-\u002Fnews\u002Florehub-mcp":3},{"id":4,"title":5,"author":6,"body":7,"date":258,"description":259,"draft":260,"extension":261,"image":106,"meta":262,"navigation":263,"path":264,"seo":265,"seoTitle":6,"stem":266,"tag":267,"__hash__":268},"news\u002Fnews\u002Florehub-mcp.md","LoreHub MCP: your LoreHub world, ready for any AI agent",null,{"type":8,"value":9,"toc":252},"minimark",[10,14,18,23,100,107,120,124,145,196,204,213,227,231,248],[11,12,5],"h1",{"id":13},"lorehub-mcp-your-lorehub-world-ready-for-any-ai-agent",[15,16,17],"p",{},"Your world already holds what an AI agent needs to be useful: the stories, the dialogues, who says what, the characters and places, the lore behind them. The LoreHub MCP server hands all of it to Claude, Cursor or any other app that speaks the Model Context Protocol, so you can work with your world right in your chat or editor. Your API key sets the access. Read key: agents look. Write key: agents create and edit, never delete. Every change shows in your history. Writing is coming in the next release; today's tools all read.",[19,20,22],"h2",{"id":21},"what-it-does-for-each-role","What it does for each role",[24,25,26,43,52,65,87],"ul",{},[27,28,29,33,34,38,39,42],"li",{},[30,31,32],"strong",{},"Writers."," ",[35,36,37],"code",{},"get_dialogue"," reads a dialogue as a script: every node in reading order with its speaker, lines, options and conditions. ",[35,40,41],{},"search_world"," finds each line, option, dialogue or document where a name or phrase comes up.",[27,44,45,33,48,51],{},[30,46,47],{},"Lore keepers.",[35,49,50],{},"get_document"," hands the agent a character, place or lore entry with its description, tags, relations and the dialogues that mention it, so it can check a new line against what your world says.",[27,53,54,33,57,60,61,64],{},[30,55,56],{},"Narrative designers.",[35,58,59],{},"list_dialogues"," finds a story's dialogues by name, and ",[35,62,63],{},"check_dialogue"," reports nodes nobody can reach, options without a target, dead ends, variables that are set but never checked, and a summary of the story's route map checks.",[27,66,67,70,71,74,75,78,79,82,83,86],{},[30,68,69],{},"Directors and artists."," Director's notes → reference briefs and shot lists. ",[35,72,73],{},"get_dialogue_meta"," reads the Meta Areas drawn on the Dialogue Builder canvas: each area's title, note, priority and rules, like ",[35,76,77],{},"shot = close_up",", and the nodes inside with their speaker and lines. Where two areas overlap, the higher priority wins. The ",[35,80,81],{},"reference_brief"," and ",[35,84,85],{},"shot_list"," prompts turn them into a brief per area or a numbered shot list.",[27,88,89,33,92,95,96,99],{},[30,90,91],{},"Voice-over and producers.",[35,93,94],{},"get_character_lines"," lists every line of a story by speaker, with line and word counts and the line before each one, and the ",[35,97,98],{},"voice_casting_sheet"," prompt makes one entry per speaking character with voice direction and sample lines.",[15,101,102],{},[103,104],"img",{"alt":105,"src":106},"Two Meta Areas overlap on the Dialogue Builder canvas: a wide shot of the boathouse at priority 1 and a close-up of the ledger at priority 2","\u002Fimages\u002Fnews\u002Fmeta-areas\u002Foverlap.png",[15,108,109,110,113,114,116,117,119],{},"Don't know the ids? Ask for \"the dialogue Tom at Grandpa's\" and the agent finds your world, story and dialogue itself with ",[35,111,112],{},"list_worlds",", ",[35,115,59],{}," or ",[35,118,41],{},". Today's eight tools all read, so a Read key is all they need, and Viewer access in the world is enough.",[19,121,123],{"id":122},"how-to-use-it","How to use it",[15,125,126,127,134,135,140,141,144],{},"You need ",[128,129,133],"a",{"href":130,"rel":131},"https:\u002F\u002Fdocs.astral.sh\u002Fuv\u002Fgetting-started\u002Finstallation\u002F",[132],"nofollow","uv"," and a LoreHub API key. In ",[128,136,139],{"href":137,"rel":138},"https:\u002F\u002Florehub.app",[132],"LoreHub",", open the avatar menu → Profile → API keys, pick the world, choose Read or Write, choose when the key expires and select Create key. Read is all today's tools need, so we recommend it for now. Copy the key, which starts with ",[35,142,143],{},"lh_",": LoreHub shows it only once. In Claude Code, run:",[146,147,152],"pre",{"className":148,"code":149,"language":150,"meta":151,"style":151},"language-bash shiki shiki-themes dracula-soft","claude mcp add lorehub --env LOREHUB_API_KEY=lh_your-key \\\n  -- uvx lorehub-mcp\n","bash","",[35,153,154,184],{"__ignoreMap":151},[155,156,159,163,167,170,173,177,180],"span",{"class":157,"line":158},"line",1,[155,160,162],{"class":161},"sIY5v","claude",[155,164,166],{"class":165},"sBh-q"," mcp",[155,168,169],{"class":165}," add",[155,171,172],{"class":165}," lorehub",[155,174,176],{"class":175},"sZmUQ"," --env",[155,178,179],{"class":165}," LOREHUB_API_KEY=lh_your-key",[155,181,183],{"class":182},"suBnA"," \\\n",[155,185,187,190,193],{"class":157,"line":186},2,[155,188,189],{"class":175},"  --",[155,191,192],{"class":165}," uvx",[155,194,195],{"class":165}," lorehub-mcp\n",[15,197,198,199,203],{},"For Claude Desktop, Cursor and other apps, the ",[128,200,202],{"href":201},"\u002Fmcp","LoreHub MCP page"," has the config to paste. Then ask your agent something like \"Read the dialogue Tom at Grandpa's and check it for dead ends\", \"What does our world say about the Ferryman?\" or \"Make a voice casting sheet for the first story\".",[15,205,206,207,209,210,212],{},"Each world gets a number of API calls a day from its plan (10 on Free), shared by all its members' keys. Most tools cost 1 call, ",[35,208,63],{}," costs 2 and ",[35,211,73],{}," 2 or 3, and every result tells the agent how many calls are left. Each key works in one world and expires when you choose. A Write key, once editing ships, lets agents create and edit but never delete, and every change shows in your history. If a key leaks or you stop using it, revoke it on the same page and it stops working at once.",[15,214,215,216,221,222,226],{},"The package is ",[128,217,220],{"href":218,"rel":219},"https:\u002F\u002Fpypi.org\u002Fproject\u002Florehub-mcp\u002F",[132],"lorehub-mcp on PyPI",". Directing with Meta Areas? Start with the ",[128,223,225],{"href":224},"\u002Fmeta-areas-guide","Meta Areas guide",".",[19,228,230],{"id":229},"try-it","Try it",[15,232,233,234,237,238,116,243,226],{},"Connect your agent to ",[128,235,139],{"href":137,"rel":236},[132]," and ask it about your world. If something feels off, tell us on ",[128,239,242],{"href":240,"rel":241},"https:\u002F\u002Fdiscord.com\u002Fchannels\u002F663035283419168808\u002F976393281615306772\u002F976393527468634143",[132],"Discord",[128,244,247],{"href":245,"rel":246},"https:\u002F\u002Fwww.reddit.com\u002Fr\u002Florehub",[132],"Reddit",[249,250,251],"style",{},"html pre.shiki code .sIY5v, html code.shiki .sIY5v{--shiki-default:#62E884}html pre.shiki code .sBh-q, html code.shiki .sBh-q{--shiki-default:#E7EE98}html pre.shiki code .sZmUQ, html code.shiki .sZmUQ{--shiki-default:#BF9EEE}html pre.shiki code .suBnA, html code.shiki .suBnA{--shiki-default:#F286C4}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}",{"title":151,"searchDepth":253,"depth":253,"links":254},3,[255,256,257],{"id":21,"depth":186,"text":22},{"id":122,"depth":186,"text":123},{"id":229,"depth":186,"text":230},"2026-11-03","The LoreHub MCP server lets Claude, Cursor and other AI agents read your stories, dialogues, characters, places and lore, with tools for writers, lore keepers, narrative designers, directors and voice-over.",false,"md",{},true,"\u002Fnews\u002Florehub-mcp",{"title":5,"description":259},"news\u002Florehub-mcp","Release","71722W3HahUmUUvLYof_5GyI6KKtx1pFY-LT3__txnQ",1793795906502]