Your LoreHub world, ready for any AI agent
One world, read by every role on the team
Each role asks the agent for something different. These are the tools and prompts each one uses today.
Read a dialogue as a script, with every speaker, line and option, and find each line where a name or phrase comes up.
get_dialoguesearch_worldHand the agent a character, place or lore entry with its description, tags and relations, and the dialogues that mention it.
get_documentFind a story's dialogues and check one for unreachable nodes, options without a target, dead ends and variables set but never checked.
list_dialoguescheck_dialogueDirector's notes → reference briefs and shot lists: the Meta Areas drawn on the canvas, with their rules, speakers and lines.
get_dialogue_metareference_briefshot_listEvery line of a story by speaker, with line and word counts, and a voice casting sheet per character.
get_character_linesvoice_casting_sheetWhat your agent can read
Eight tools today, all for reading; editing tools are coming in the next release. Most answer in one API call, and every result says how many calls the world has left today.
list_worldsThe key's world, with its id and your role.
list_dialoguesStories and their dialogues with ids, filtered by name if you like.
get_dialogueA dialogue as a script: each node's speaker, lines, options, conditions, variables, meta values and Meta Areas.
get_dialogue_metaEach Meta Area's title, note, priority and rules, the lines inside it, and where areas overlap.
search_worldMatches in document names, dialogue names, lines and option texts.
get_documentA character, place or other document: its description, tags, relations and the dialogues that mention it.
get_character_linesEvery line of a story grouped by speaker, with line and word counts.
check_dialogueUnreachable nodes, options without a target, dead ends and variables set but never checked.
reference_briefA visual brief per Meta Area: subject, characters, shot, background and mood.
shot_listA numbered shot list for a dialogue, one shot per node.
voice_casting_sheetOne entry per speaking character, with voice direction and sample lines.
Set it up in a minute
You need uv, which downloads and runs the server for you, and an API key. In 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 lh_: LoreHub shows it only once.
claude mcp add lorehub --env LOREHUB_API_KEY=lh_your-key \
-- uvx lorehub-mcpIn Claude Desktop, open Settings → Developer → Edit Config and add this to claude_desktop_config.json. In Cursor, add it to ~/.cursor/mcp.json:
{
"mcpServers": {
"lorehub": {
"command": "uvx",
"args": ["lorehub-mcp"],
"env": {
"LOREHUB_API_KEY": "lh_your-key"
}
}
}
}