- CANON
- SPELLS
- CONFLICT
- HUMAN
Short answer
How can I check my fan fiction against official Harry Potter lore?
Your AI uses the Harry Potter API to pull exact character details, species, and spell effects. This ensures your original characters or plot points don't contradict the established canon. You'll see how the AI validates your drafts below.
The outcomes.
Where your lore checks land.
The AI processes your story ideas through these four outcomes.
CANON
Verified character data
The AI pulls specific ancestry and species details to confirm your characters fit the world. You get a clear match or a warning if they don't.
SPELLS
Magic effect validation
The AI checks spell names and their intended effects. This prevents you from accidentally using a spell that does something different in the books.
CONFLICT
Lore contradiction alerts
When your plot clashes with established facts, the AI flags the discrepancy. You'll see exactly where your story drifts from the source material.
HUMAN
Creative decisions
The AI identifies the gaps, but you decide if the contradiction is a mistake or a deliberate change to the lore. It leaves the final creative direction to you.
The workflow
What your AI does when you submit a draft.
The AI acts as a dedicated lore editor by querying the official database.
Identify characters
The AI scans your text to find names and then looks up their specific details in the database.
get_all_charactersget_characterValidate magic
The AI checks any mentioned incantations against the official list of known spells.
get_spellsCheck lineage
The AI verifies if a character's blood status or species matches the canonical records.
get_characterFlag errors
The AI compares your written descriptions against the retrieved data to find mismatches.
get_characterget_spells
Try it
Copy these to start.
Use these prompts to begin your lore check.
Starting points
Replace the bracketed text with your specific character names or spell ideas.
HP-API Connector
You're all set. Choose your MCP client and follow the setup instructions.
https://edge.vinkius.com/vk_preview_CGZ3vdbXEFWU5drnyIXhISLaZR7EZsMsvLDp64pI/mcpClaude Desktop
Follow the steps below to connect in seconds.
- 1In Claude Desktop, open Settings → Connectors.
- 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
- 3Click Add and start a new chat — HP-API capabilities are ready to use.
{
"mcpServers": {
"harry-potter-api-mcp": {
"url": "https://edge.vinkius.com/vk_preview_CGZ3vdbXEFWU5drnyIXhISLaZR7EZsMsvLDp64pI/mcp"
}
}
}Check if the character [Name] is a [Species] according to the lore.
Does the spell [Spell Name] actually produce the effect I described in my story?
List the known family members for [Character Name] to see if my plot fits.
Verify if [Character Name] is considered a wizard or a witch in the official data.
Claude
ChatGPT
Cursor
VS Code
Windsurf
Claude Code
JetBrains
Cline
Start here
Connect Harry Potter API once, then ask.
Just link the MCP to your preferred client. Your credentials stay encrypted, and you can start checking your writing immediately.
Connect Harry Potter API to your AIFAQ
How this task behaves.
- 01
Can the AI change my story for me?
No. The AI only provides data to help you decide if you want to change your writing.
- 02
Will it add new characters to the official database?
No. The tools only allow the AI to read existing data, not write or modify it.
- 03
Can it check spells that aren't in the books?
No. It can only verify spells that exist within the provided API data.
- 04
How does it know if my character is a blood traitor?
It uses the character data retrieved to check specific traits and family history.
- 05
Does it work with any AI client?
Yes, it works with any MCP-compatible client like Claude, Cursor, or Windsurf.
More questions about Harry Potter API? The Connector page answers them. See everything the Harry Potter API Connector can do
Connect HP-API to Claude, Cursor, ChatGPT & more
