{
  "markdown": "# ScreenplayWriter MCP\n\nAn MCP server for reading, writing, and analyzing screenplays in Fountain format. Parse screenplays into structured data, query character stats, generate production breakdowns, and write proper Fountain syntax.\n\n## What it does\n\nParse Fountain files into a queryable AST. Edit scenes while preserving formatting. Generate character reports and production breakdowns. Write new screenplays in proper industry format.\n\n## Tools\n\n- parse_screenplay. Parse Fountain text into a structured AST.\n- load_screenplay_file. Load a .fountain file from disk.\n- write_screenplay. Write a new screenplay in Fountain format to disk.\n- get_scene. Get a specific scene by number.\n- edit_scene. Replace a scene and save to disk.\n- add_scene. Insert a scene at a position and save to disk.\n- remove_scene. Delete a scene and save to disk.\n- character_report. Per character stats including scenes, dialogue count, and word count.\n- scene_breakdown. Production breakdown per scene with locations, characters, and line counts.\n- runtime_estimate. Total pages, minutes, day or night split, interior or exterior split.\n- export_fountain. Save stored screenplay back to a .fountain file.\n\n## Install\n\n```bash\nnpx screenplaywriter-mcp\n```\n\n## Claude Desktop setup\n\nAdd this to your claude_desktop_config.json:\n\n```json\n{\n  \"mcpServers\": {\n    \"screenplaywriter\": {\n      \"command\": \"node\",\n      \"args\": [\"/absolute/path/to/screenplaywriter-mcp/dist/index.js\"]\n    }\n  }\n}\n```\n\nOr use npx:\n\n```json\n{\n  \"mcpServers\": {\n    \"screenplaywriter\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"screenplaywriter-mcp\"]\n    }\n  }\n}\n```\n\n## Example usage\n\nAsk Claude:\n\n\"Write a three scene screenplay about a detective who discovers the murder weapon is a keyboard\"\n\n\"Parse my screenplay and give me a character report\"\n\n\"How many day scenes versus night scenes do I have?\"\n\n\"Add a new scene after scene 3 where the protagonist confronts the villain\"\n\n\"Generate a production breakdown for my script\"\n\n\"What is the estimated runtime?\"\n\n## Fountain format\n\nFountain is a plain text format for screenwriting. Example:\n\n```\nFADE IN:\n\nINT. COFFEE SHOP - DAY\n\nJOHN (30s, tired programmer) stares at his laptop.\n\nJOHN\nThis code does not work.\n\nSARAH slides into the seat across from him.\n\nSARAH\nHave you tried turning it off and on again?\n\nFADE OUT.\n```\n\nThe server understands all standard Fountain elements. Scene headings, character cues, dialogue, parentheticals, transitions, action lines, section headings, and notes.\n\n## Runtime estimate\n\nThe server estimates runtime based on the standard rule of 1 page equals 1 minute of screen time. Page count is calculated from action and dialogue lines.\n\n## License\n\nMIT\n",
  "bytes": 2702,
  "sha": "dcbebc2301b7eb74b881b8d35444e1a68d0571ca8836471e35ef551fbccb506d",
  "repo_slug": "mrfentmen/screenplaywriter-mcp",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/mcp_io_github_mrfentmen_screenplaywriter_mcp_bcbc8f17/readme"
}