dracor-mcp

dracor-mcp

3.3

If you are the rightful owner of dracor-mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

A Model Context Protocol (MCP) server for interacting with the Drama Corpora Project (DraCor) API.

This project implements an MCP server using the official Model Context Protocol Python SDK that provides access to the DraCor API v1. It allows Claude and other LLMs to interact with dramatic text corpora, analyze character networks, retrieve play information, and generate insights about dramatic works across different languages and periods. The project includes two implementations: `dracor_mcp_fastmcp.py` - Streamlined implementation using the FastMCP decorator-based API with v1 API.

Features

  • Access to DraCor API v1 through a unified interface
  • No authentication required (DraCor API is publicly accessible)
  • Structured data models for DraCor entities
  • Support for operations: Corpora and play information retrieval, Character network analysis, Metrics and statistics for plays, Character information and spoken text, Comparative play analysis, Search functionality, Character relationship data, Network data in multiple formats (CSV, GEXF, GraphML), Gender analysis across plays
  • Full text retrieval in plain text and TEI XML formats, Complete play text analysis

Tools

  1. search_plays

    Search for plays based on a query

  2. compare_plays

    Compare two plays in terms of metrics and structure

  3. analyze_character_relations

    Analyze character relationships in a play

  4. analyze_play_structure

    Analyze the structure of a play

  5. find_character_across_plays

    Find a character across multiple plays

  6. analyze_full_text

    Analyze the full text of a play, including dialogue and stage directions