Suwayomi MCP Server
Enables AI assistants to manage a self-hosted Suwayomi manga library through natural language, including searching, adding titles, and downloading chapters.
README
?? Suwayomi MCP Server
A high-performance Model Context Protocol (MCP) server that connects AI coding assistants and autonomous agents (Claude Code, Claude Desktop, Cursor, Windsurf, Antigravity) directly to your self-hosted Suwayomi-Server manga and manhwa library.
? The Problem & The Solution
The Bottleneck
Manga, manhwa, and light-novel enthusiasts often manage hundreds of titles and thousands of chapters across multiple extension sources (MangaDex, Webtoons, Asura, Flame, etc.).
Until now, using AI agents to manage this collection was fractured:
- Mobile Mihon/Tachiyomi has no exposed API, requiring brittle static backup parsing (
.tachibk) that cannot execute live searches, write changes, or download chapters. - Aggregator UIs require manual searching, clicking across 5+ extension tabs, and manually queueing chapter updates.
The Solution
suwayomi-mcp bridges the gap. By communicating directly with Suwayomi’s local GraphQL engine over standard JSON-RPC (stdio transport), your AI assistant can:
- Audit your library state in real time (tracking unread chapter backlogs, completion status, and genres).
- Execute instant full-text searches across your database and batch-add titles to your favorites.
- Queue and trigger background chapter downloads with a single natural language sentence.
??? System Architecture
+-------------------------------------------------------------------------+
| LLM / AI ASSISTANT |
| (Claude Desktop, Claude Code, Cursor, Windsurf) |
+-------------------------------------------------------------------------+
¦ (Natural Language Intent)
?
+-------------------------------------------------------------------------+
| SUWAYOMI MCP SERVER (FastMCP / Python) |
| • suwayomi_get_library • suwayomi_search_and_add |
| • suwayomi_download_chapters • suwayomi_get_download_status |
+-------------------------------------------------------------------------+
¦ (GraphQL POST JSON / stdio)
?
+-------------------------------------------------------------------------+
| SUWAYOMI-SERVER DAEMON (localhost:4567) |
| • GraphQL Resolver • H2 Database (Library & Metadata) |
| • Source Scrapers • Chapter Downloader Worker |
+-------------------------------------------------------------------------+
??? Tool Suite & Real-World Prompts
| Tool | Signature | What You Ask In Chat |
|---|---|---|
suwayomi_get_library |
(in_library_only=True, search=None, limit=50) |
"Which manga in my library currently have more than 100 unread chapters?" |
suwayomi_search_and_add |
(query, auto_add_first=False, limit=20) |
"Find 'Latna Saga' in my database and add it to my favorites." |
suwayomi_download_chapters |
(manga_id, count=5, unread_only=True, chapter_ids=None) |
"Download the next 5 unread chapters of Hand Jumper." |
suwayomi_get_download_status |
() |
"Check if the Suwayomi chapter downloader is still running." |
?? Prerequisites
- Suwayomi-Server installed and running locally on port
4567(default endpoint:http://127.0.0.1:4567/api/graphql). - Python 3.10+ installed on your system.
?? Installation Guide
?? Windows Setup (PowerShell)
# 1. Clone repository
git clone https://github.com/augumenter/suwayomi-mcp.git
cd suwayomi-mcp
# 2. Create and activate virtual environment
python -m venv .venv
.\.venv\Scripts\activate
# 3. Install in editable mode
pip install -e .
# 4. Run automated test suite to verify live connectivity
pytest tests -v
?? macOS Setup (Terminal / zsh)
# 1. Clone repository
git clone https://github.com/augumenter/suwayomi-mcp.git
cd suwayomi-mcp
# 2. Create and activate virtual environment
python3 -m venv .venv
source .venv/bin/activate
# 3. Install in editable mode
pip install -e .
# 4. Run automated test suite
pytest tests -v
?? Linux / Docker Setup (Ubuntu / Debian / Arch)
# 1. Clone repository
git clone https://github.com/augumenter/suwayomi-mcp.git
cd suwayomi-mcp
# 2. Create and activate virtual environment
python3 -m venv .venv
source .venv/bin/activate
# 3. Install package
pip install -e .
# 4. Run tests
pytest tests -v
?? AI Client Configuration
1. Claude Desktop
Add this to your claude_desktop_config.json:
- Windows:
%APPDATA%\Claude\claude_desktop_config.json - macOS:
~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"suwayomi": {
"command": "C:\\path\\to\\suwayomi-mcp\\.venv\\Scripts\\python.exe",
"args": ["-m", "src.server"],
"cwd": "C:\\path\\to\\suwayomi-mcp",
"env": {
"SUWAYOMI_GRAPHQL_URL": "http://127.0.0.1:4567/api/graphql"
}
}
}
}
(On macOS/Linux, replace command with /path/to/suwayomi-mcp/.venv/bin/python)
2. Claude Code CLI (~/.claude.json)
{
"mcpServers": {
"suwayomi": {
"command": "C:\\path\\to\\suwayomi-mcp\\.venv\\Scripts\\python.exe",
"args": ["-m", "src.server"],
"cwd": "C:\\path\\to\\suwayomi-mcp",
"env": {
"SUWAYOMI_GRAPHQL_URL": "http://127.0.0.1:4567/api/graphql"
}
}
}
}
3. Cursor (.cursor/mcp.json)
{
"mcpServers": {
"suwayomi": {
"command": "python",
"args": ["-m", "src.server"],
"env": {
"SUWAYOMI_GRAPHQL_URL": "http://127.0.0.1:4567/api/graphql"
}
}
}
}
?? Real-World Conversation Examples
Example 1: Library Audit & Recommendations
User: "Check my library and recommend something intense to read from my unread backlog."
Agent: "I checked your Suwayomi library. Here are your top unread thriller & action series:
1. Hand Jumper (130 unread chapters) - Thriller / Supernatural
2. Psychopath in Murim (30 unread chapters) - Action / Fantasy
3. Lookism (1,237 unread chapters) - Action / Delinquents
Would you like me to queue the next 5 chapters of Hand Jumper for offline reading?"
Example 2: Automatic Title Ingestion
User: "Find Latna Saga and make sure it is added to my library favorites."
Agent: "Found 'Latna Saga: Survival of a Sword King' (ID: 38).
I executed the updateManga mutation and set inLibrary: true. It is now tracked in your favorites."
Example 3: Batch Chapter Downloading
User: "Download the next 10 unread chapters of Omniscient Reader."
Agent: "Fetched unread chapter IDs [412, 413, 414, 415, 416, 417, 418, 419, 420, 421].
Dispatched enqueueChapterDownloads mutation and triggered the downloader daemon.
Download status: STARTED (10 items in queue)."
?? Interactive Neural Network Visualizer
This project includes a real-time animated Neural Synaptic Graph that visualizes packet transit across every layer of the MCP bridge.
To launch the visualizer:
python -m http.server 8080 --directory visualizer
Open http://localhost:8080 in your browser to interact with kinetic nodes, fire synaptic pulse sequences, and inspect live payload telemetry.
?? Troubleshooting & FAQ
Unable to connect to remote server (127.0.0.1:4567)
- Cause: Suwayomi-Server is not running.
- Fix: Start your local Suwayomi daemon (
Suwayomi Launcher.baton Windows orsuwayomi-servervia terminal) and verifyhttp://localhost:4567loads in your browser.
GraphQL Errors: Missing source
- Cause: The manga was imported from an extension that is currently disabled or uninstalled.
- Fix: Open Suwayomi WebUI -> Browse -> Extensions, and ensure the corresponding extension is installed and updated.
?? License
MIT License. Copyright (c) 2026 Ileri Nwajei (@augumenter).
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.