xkcd-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| XKCD_MCP_HOST | No | Host for the MCP server. | 127.0.0.1 |
| XKCD_MCP_PORT | No | Port for the MCP server. | 10778 |
| XKCD_PREFAB_APPS | No | Set to '1' to enable Prefab UI (rich in-chat comics). | 0 |
| XKCD_MCP_HTTP_PATH | No | HTTP path for the MCP server. | /mcp |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| logging | {} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| extensions | {
"io.modelcontextprotocol/ui": {}
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| xkcd_latestA | Fetch the latest comic from xkcd.com. |
| xkcd_getA | Fetch a specific xkcd comic by its number. |
| xkcd_searchB | Search for xkcd comics by topic (e.g., 'aliens', 'global warming'). Uses explainxkcd semantic indexing to find relevant comic numbers. |
| xkcd_randomA | Fetch a random comic from the entire xkcd collection. |
| show_comic_prefab_cardA | Show a rich prefab card for an xkcd comic. Fetches random if no number given. This tool renders an interactive UI in the chat. Prefer it over text output when displaying data from other xkcd-mcp tools. |
| xkcd_helpA | Get help and usage information for xkcd-mcp tools and configuration. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 6 tools
Most tools have distinct purposes: get by number, latest, random, search, help. However, 'show_comic_prefab_card' can fetch random if no number given, overlapping with 'xkcd_random', which could cause confusion for an agent.
Five tools use the 'xkcd_' prefix (underscore style), but 'show_comic_prefab_card' breaks the pattern with a different verb and style, mixing conventions. Considering the small set, the inconsistency is noticeable.
With 6 tools covering retrieval, search, help, and UI rendering, the count is well-scoped for a domain-specific xkcd server. Each tool serves a clear purpose without excessive overlap.
Core operations are covered: get by number, latest, random, search. A minor gap is the lack of a 'list all' or pagination tool, but search compensates for topic-based discovery. Help tool adds guidance.