DraCor MCP ServerServer

stijn-meijers
GitHub
DramaText AnalysisAPI

Loading subscription status...

๐Ÿ’ก Description

A Model Context Protocol (MCP) server that interacts with the Drama Corpora Project (DraCor) API. This MCP server enables the seamless analysis of dramatic texts and their character networks through LLMs such as Claude. It provides access to the DraCor API v1, allowing users to analyze dramatic text corpora, investigate character networks, retrieve play information, and gain insights into playwrights across various languages and eras.

๐Ÿ“ JSON Entries

{
  "mcpServers": [
    {
      "DraCor MCP Server": {
        "args": [
          "run",
          "--with",
          "mcp[cli]",
          "--with",
          "requests",
          "--with",
          "pydantic",
          "--with",
          "python-multipart",
          "mcp",
          "run",
          "/path/to/dracor-mcp/dracor_mcp_fastmcp.py"
        ],
        "command": "uv"
      }
    }
  ]
}

๐Ÿ› ๏ธ Tools

search_playscompare_playsanalyze_character_relationsanalyze_play_structurefind_character_across_playsanalyze_full_text

โšก Features

  • Access to the DraCor API v1 through an integrated interface
  • No authentication required as the DraCor API is publicly accessible
  • Structured data models for DraCor entities

๐Ÿ’ฌ Example Queries

  • Can you list all available drama corpora in DraCor?
  • Tell me about Goethe's Faust in the German corpus
  • Analyze the character network in Hamlet from the Shakespeare corpus
  • What are the strongest character relationships in Pushkin's Boris Godunov?
  • Compare Goethe's Faust and Schiller's Die Rรคuber in terms of network density and character count