Shakespeare's Monologues

io.github.slshults由 GitHub 账号 slshults 发布v0.1.2更新于 Oct 25, 2026

Search Shakespeare monologues, plays, paraphrases and summaries from shakespeare-monologues.org

已验证Streamable HTTP可网页运行知识与记忆媒体与设计

概览

AI 生成的概览

只读的 MCP 服务器,用于从 shakespeare-monologues.org 搜索莎士比亚独白、剧作、现代英语释义和场景摘要。

可以做什么
按自由文本搜索独白,可按性别、剧作、风格、幕次和数量筛选,或按编号、随机获取单条独白,包括“每日独白”和某角色的全部台词。列出剧作及其喜剧/历史剧/悲剧分类和独白数量。获取独白全文及现代英语逐行释义,以及 AI 生成的场景摘要和剧作摘要。就服务器自身的工具发送反馈。
适用场景
适合助手需要查找、引用或讨论莎士比亚台词时使用,例如试镜选段、角色研究、教学素材,或需要快速获得现代英语释义和场景背景而无需手动浏览网站。
运行要求
可使用托管的远程端点(添加 URL,无需安装),或通过 npx 在本地运行,需要 Node.js。无需凭据或 API 密钥。可选环境变量可指向其他索引地址或关闭分析。
安装前请注意
除 send_feedback 外均为只读;该工具会把文本发送到服务器,README 要求不要包含个人信息。释义和摘要由 AI 生成,可能尚未生成而返回 null。README 说明反馈工具来自分析 SDK,仅在启用分析时存在。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Shakespeare's Monologues,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/io.github.slshults%2Fshakespeare-monologues/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "shakespeare-s-monologues": {
      "type": "http",
      "url": "https://mcp.shakespeare-monologues.org/mcp"
    }
  }
}

README

Shakespeare's Monologues — MCP server

A small, read-only Model Context Protocol server that lets MCP-capable AI clients search and fetch Shakespeare monologue metadata from shakespeare-monologues.org.

It's a thin, stateless wrapper over the site's public JSON index (/api/monologues.json) — no database, no secrets. Every result carries the monologue's permalink url (where the full text, scene context, and modern-English paraphrase live) and an attribution note.

Tools

ToolWhat it does
search_monologuesFree-text search (character / play / first line) + filters: gender, play, style, act, limit.
get_monologueOne monologue's index entry by numeric id.
random_monologueA random monologue, optional gender / play filters.
list_playsEvery play with its classification and monologue count.
list_all_monologues_for_a_characterEvery monologue spoken by a named character.
get_monologue_of_the_dayThe current Monologue of the Day (latest social post).
get_paraphrased_monologueA monologue's full text + its modern-English paraphrase (AI-generated; may be null if not yet generated).
get_scene_summaryAI-generated summary of the scene a monologue is in (by monologue id).
get_play_summaryAI-generated summary of a play (by title).
send_feedbackLets an agent report a missing capability, a problem, or praise. Added by the PostHog analytics SDK; only present when analytics is on.

The paraphrase and summaries are AI-generated (Claude) and only partially cached so far, so those tools return null where content hasn't been generated yet.

Run locally

Two transports, same tools. server.ts builds the tool surface and knows nothing about how it's reached; index.ts serves it over HTTP and stdio.ts over stdio.

Over stdio, the way an MCP client spawns a local server:

bash
npx shakespeare-monologues-mcp

Over HTTP, which is how the hosted instance runs:

bash
npm install
npm run build
npm start          # listens on :3000, POST /mcp   (set PORT to change)

Health check: GET /health → {"ok":true}.

Neither mode needs credentials — the server reads the site's public JSON index. Set MONOLOGUES_API_URL to point it elsewhere, and POSTHOG_PROJECT_API_KEY="" to disable analytics.

Connecting a client

Remote MCP means users add a URL, no install. In a client that supports remote / custom MCP servers (Claude Desktop connectors, etc.), add:

https://mcp.shakespeare-monologues.org/mcp

Or run it yourself over stdio, with no hosted dependency:

json
{
  "mcpServers": {
    "shakespeare-monologues": {
      "command": "npx",
      "args": ["-y", "shakespeare-monologues-mcp"]
    }
  }
}

For clients configured with a JSON config file, use the streamable-HTTP transport:

json
{
  "mcpServers": {
    "shakespeare-monologues": {
      "type": "streamable-http",
      "url": "https://mcp.shakespeare-monologues.org/mcp"
    }
  }
}

For a client that only speaks stdio, bridge to the remote server with mcp-remote:

json
{
  "mcpServers": {
    "shakespeare-monologues": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "https://mcp.shakespeare-monologues.org/mcp"]
    }
  }
}

Note on "autonomous" use: there's no mechanism today for an arbitrary agent to discover and use this with zero user action — a client/platform still has to connect it. For truly zero-setup access, agents can hit the plain JSON API (/api/monologues.json) and /llms.txt directly.

License

  • Code: MIT.
  • Data served through it: © shakespeare-monologues.org, CC BY-NC-SA 4.0 — please keep the attribution that each tool response includes.

[shakespeare-monologues-mcp MCP server]

来源:README.md,提交 71975b2

工具

10

search_monologues

Search Shakespeare monologues by free text (matches character, play, or first line) plus optional filters. Returns matches, each with a permalink `url`.

输入参数actplaylimitquerystylegendercontext必填llm_model必填conversation_id

get_monologue

Fetch one monologue's catalogue entry by its numeric id. Follow the returned `url` for the full text.

输入参数idcontext必填llm_model必填monologue_idconversation_id

random_monologue

Return one random monologue, with optional gender/play filters. Useful for a suggestion when the user is undecided.

输入参数playgendercontext必填llm_model必填conversation_id

list_plays

List Shakespeare's plays with their classification (Comedy/History/Tragedy) and monologue counts.

输入参数context必填llm_model必填conversation_id

list_all_monologues_for_a_character

List every monologue spoken by a given character (e.g. 'Hamlet', 'Rosalind'). Matches the character name exactly first, then as a substring.

输入参数limitcontext必填characterllm_model必填conversation_id

get_monologue_of_the_day

The current 'Monologue of the Day' — the piece most recently posted to the site's social feeds.

输入参数context必填llm_model必填conversation_id

get_paraphrased_monologue

Fetch a monologue's full text alongside its modern-English, line-by-line paraphrase. The paraphrase is AI-generated (Claude) and may be null if it hasn't been generated yet — the `url` always has the monologue itself.

输入参数idcontext必填llm_model必填monologue_idconversation_id

get_scene_summary

Fetch an AI-generated summary of the scene a monologue appears in (context for the speech). May be null if not generated yet.

输入参数idcontext必填llm_model必填monologue_idconversation_id

get_play_summary

Fetch an AI-generated summary of a play (e.g. 'Hamlet', 'The Tempest'). May be null if not generated yet.

输入参数playcontext必填llm_model必填conversation_id

send_feedback

Send feedback

Send feedback about this Shakespeare monologues server: a monologue, play or capability you needed that its tools could not provide, a problem with a result, or praise. Only for feedback about these tools, not about other tasks. Do not include personal information about the user.

输入参数detailssummary必填llm_model必填sentimenttool_namefeedback_type必填task_completedconversation_idfriction_pointssuggested_improvement

版本历史

1
  1. v0.1.2最新Sep 16, 2026

评分

已满足适用检查项的 100%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分