Skip to main content
Glama
pipeworx-io

mcp-xkcd

by pipeworx-io

mcp-xkcd

XKCD MCP — 封装了 xkcd.com 的 JSON API(免费,无需认证)

属于 Pipeworx 的一部分 — 一个将 AI 代理连接到 1394+ 个实时数据源的 MCP 网关。

工具

工具

描述

get_latest

获取最近发布的 XKCD 漫画。返回漫画编号、标题、图片 URL、替代/悬停文本、发布日期、文字记录(如有)和永久链接。

get_comic

按编号获取特定的 XKCD 漫画(例如 353 对应 'Python')。返回标题、图片 URL、替代文本、发布日期、文字记录和永久链接。

random_comic

从完整存档中获取随机选择的 XKCD 漫画(跳过 #404)。返回漫画编号、标题、图片 URL、替代文本、发布日期和文字记录。

Related MCP server: xkcd-mcp

快速开始

添加到您的 MCP 客户端(Claude Desktop、Cursor、Windsurf 等):

{
  "mcpServers": {
    "xkcd": {
      "url": "https://gateway.pipeworx.io/xkcd/mcp"
    }
  }
}

或者连接到完整的 Pipeworx 网关以访问所有 1394+ 个数据源:

{
  "mcpServers": {
    "pipeworx": {
      "url": "https://gateway.pipeworx.io/mcp"
    }
  }
}

与 ask_pipeworx 一起使用

无需直接调用工具,您可以用简单的英语提问:

ask_pipeworx({ question: "your question about Xkcd data" })

网关会自动选择正确的工具并填充参数。

更多

许可证

MIT

Related MCP Connectors

Related MCP Servers

  • F
    license
    Not graded
    quality
    Not graded
    maintenance
    Provides access to a curated database of over 1,500 MCP tools with quality scores. Enables searching, browsing trending tools by category, discovering random tools, and retrieving detailed information about specific MCP tools.
    -
  • A
    license
    A
    quality
    B
    maintenance
    MCP server to fetch xkcd comics (latest, random, by number, search) and display them with rich in-chat previews via the official JSON API and explainxkcd semantic search.
    6
    2
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    An MCP server that finds relevant xkcd comics during conversation by semantically matching the context to comic titles, alt text, and transcripts.
    1
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    Provides 20 essential tools including HTTP requests, web search, file I/O, shell commands, and persistent memory for any MCP client, with zero configuration required.
    MIT