
pixiv-cli
Updated todayby FlanChanXwO
pixiv-cli
Pixiv CLI · MCP stdio server · Go SDK
Install · Quick start · Interfaces · Documentation · Contributing
pixiv-cli brings the Pixiv ecosystem to the terminal: discover works and creators, manage accounts and collections, follow artists, bookmark artworks, and download visual works. It is an independent, unofficial third-party CLI, MCP server, and public Go SDK; it is not affiliated with or endorsed by Pixiv Inc. The CLI and MCP server both call the same public Go SDK, with the Pixiv App API as the authenticated source of truth. Use it in accordance with Pixiv's terms and applicable law.
Why pixiv-cli?
- One capability surface — search, details, rankings, recommendations, users, bookmarks, follows, downloads, and ugoira across CLI, MCP, and SDK.
- Composable visual pipelines — visual lists automatically emit canonical NDJSON when piped; use
--filterfor typed local artwork rules and pass matching records straight todownload. - Local account pools — select eligible local accounts for read workloads and honor Pixiv
Retry-Afterresponses during pagination and download preparation. - Guided account sign-in — complete browser OAuth with
pixiv auth login, then useauth list,auth use, andauth checkto manage local multi-account access. - Four ugoira output modes — choose GIF, APNG, lossless ZIP, or extracted frames.
- Reliable, organized downloads — revalidate
.pixiv-cachemetadata, resume verified partials, retry eligible resource failures, optionally archive completed artwork IDs, write sidecars, and show exact terminal progress when available. - Authenticated App API discovery — read R18 details, pages, ugoira metadata, and all 16 ranking modes through the App API.
- Useful search filters — rating, content type, AI mode, aspect ratio, resolution, and a versioned drawing-tool catalog.
- Direct Pixiv references — paste supported artwork URLs into detail or download; authenticated profile and artworks URLs expand to that creator's visual works.
- Local multi-account OAuth — browser login, account selection, refresh-token rotation, and an optional cross-machine callback relay.
- Automation-ready integration — typed SDK errors, JSON output, clean MCP stdio, signed release updates, and complete result reporting.
Install
Installer scripts (Windows, Linux, and macOS)
Linux/macOS (sh):
curl -fsSLo /tmp/pixiv-install.sh https://github.com/FlanChanXwO/pixiv-cli/releases/latest/download/install.sh && sh /tmp/pixiv-install.sh --add-to-path
Windows Command Prompt (cmd.exe, no PowerShell):
curl.exe -fsSLo "%TEMP%\pixiv-install.cmd" https://raw.githubusercontent.com/FlanChanXwO/pixiv-cli/main/scripts/install.cmd && call "%TEMP%\pixiv-install.cmd" --add-to-path
Related servers

n8n
Updated todayby n8n-io
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

mcp-server-fetch
OfficialUpdated 14d agoA Model Context Protocol server providing tools to fetch and convert web content for usage by LLMs

@modelcontextprotocol/server-everything
OfficialUpdated 14d agoMCP server that exercises all the features of the MCP protocol