• CANON
  • SPELLS
  • CONFLICT
  • HUMAN

How to verify fan fiction lore with your AI

Connect the Harry Potter API to your AI client to fact-check your writing against the official series data.

Ask AI about this page

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.

  1. Identify characters

    The AI scans your text to find names and then looks up their specific details in the database.

    get_all_charactersget_character
  2. Validate magic

    The AI checks any mentioned incantations against the official list of known spells.

    get_spells
  3. Check lineage

    The AI verifies if a character's blood status or species matches the canonical records.

    get_character
  4. Flag 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.

Connector linkhttps://edge.vinkius.com/vk_preview_CGZ3vdbXEFWU5drnyIXhISLaZR7EZsMsvLDp64pI/mcp

Claude Desktop

Follow the steps below to connect in seconds.

  1. 1In Claude Desktop, open Settings → Connectors.
  2. 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
  3. 3Click Add and start a new chat — HP-API capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "harry-potter-api-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_CGZ3vdbXEFWU5drnyIXhISLaZR7EZsMsvLDp64pI/mcp"
    }
  }
}
Copy into chat04
  • 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 AI

FAQ

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