by FlanChanXwO
Pixiv, in your terminal — a CLI, MCP server, and Go SDK for discovery, accounts, creators, collections, and downloads.
# Add to your Claude Code skills
git clone https://github.com/FlanChanXwO/pixiv-cliGuides for using mcp servers skills like pixiv-cli.
Last scanned: 8/1/2026
{
"issues": [],
"status": "PASSED",
"scannedAt": "2026-08-01T06:29:20.782Z",
"npmAuditRan": true,
"pipAuditRan": true,
"promptInjectionRan": true
}See how pixiv-cli compares with popular alternatives.
pixiv-cli is an open-source mcp servers skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by FlanChanXwO. Pixiv, in your terminal — a CLI, MCP server, and Go SDK for discovery, accounts, creators, collections, and downloads. It has 132 GitHub stars.
Yes. pixiv-cli passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.
Clone the repository with "git clone https://github.com/FlanChanXwO/pixiv-cli" and add it to your Claude Code skills directory (see the Installation section above).
pixiv-cli is primarily written in Go. It is open-source under FlanChanXwO on GitHub, so you can review or fork the full source.
Yes. SkillsLLM lists many other MCP Servers skills you can browse and compare side by side. Open the MCP Servers category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh pixiv-cli against similar tools.
No comments yet. Be the first to share your thoughts!
Top skills in this category by stars
⚠️ Third-Party Software Notice
This skill is third-party open-source software developed and hosted independently on GitHub. SkillsLLM is an informational directory and does not control or maintain the underlying repository.
Any security checks, ratings, or warnings displayed by SkillsLLM are automated and limited in scope. They do not constitute a security certification or guarantee that the software is safe, error-free, or free from malicious code, vulnerabilities, compromised dependencies, or prompt-injection risks.
Review the source code, permissions, dependencies, and configuration before installing or running any third-party skill. Use is at your own risk. To the maximum extent permitted by applicable law, SkillsLLM is not liable for losses arising from third-party software.
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.
FANBOXSESSID, inspect creators, posts, home/supporting feeds, tags, and first-party file resources through the CLI, MCP, or sdk/fanbox.--filter for typed local artwork rules and pass matching records straight to download.pixiv auth pool status|enable|disable; selection honors Pixiv Retry-After responses without exposing credentials.pixiv auth login, then use auth list, auth use, and auth check to manage local multi-account access.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
Both scripts detect AMD64/ARM64, select the latest stable official Release archive, verify its published SHA-256,
preflight the staged binary, and install per-user before changing PATH. Use --no-path to leave PATH untouched or
--install-dir DIR to choose another destination. You can inspect the downloaded script before running it.
Versioned installers keep checksums.txt on the official GitHub HTTPS path. Embedded free source candidates are
probed only for the platform archive, must return the same checksum content, and the downloaded archive still has to
pass SHA-256 verification. This changes transport availability, never Release identity or integrity.
Official images are published to GHCR as ghcr.io/flanchanxwo/pixiv-cli and Docker Hub as
docker.io/flanchanxwo/pixiv-cli. Both registries carry the same native linux/amd64 and linux/arm64
release images. Pull an exact release from either registry when reproducibility matters:
docker pull ghcr.io/flanchanxwo/pixiv-cli:v1.2.3
docker pull docker.io/flanchanxwo/pixiv-cli:v1.2.3
latest follows stable releases only; Prerelease tags never move latest. To track the current stable release, pull either ghcr.io/flanchanxwo/pixiv-cli:latest or docker.io/flanchanxwo/pixiv-cli:latest. Images are built natively for linux/amd64 and linux/arm64. The container runs the same pixiv binary and uses the same ~/.pixiv-cli state namespace as other installations.
Keep account state persistent and expose a download workspace:
docker run --rm \
-v pixiv-cli-state:/home/pixiv/.pixiv-cli \
-v "$PWD:/work" \
ghcr.io/flanchanxwo/pixiv-cli:v1.2.3 \
--version
Use /work for downloaded files with an explicit output path; it is the container's working directory, not a separate product mode.
Bind mounts preserve host ownership. If the host directory is not writable by image UID 1000, run as the host identity, give the container an ephemeral HOME, and choose an explicit output path:
docker run --rm \
--user "$(id -u):$(id -g)" \
-e HOME=/tmp/pixiv-cli \
-v "$PWD:/work" \
ghcr.io/flanchanxwo/pixiv-cli:v1.2.3 \
download URL --output /work/downloads
For persistent state with that same host identity, bind a host directory you own instead of the default named volume:
mkdir -p "$PWD/pixiv-cli-state"
docker run --rm \
--user "$(id -u):$(id -g)" \
-e HOME=/tmp/pixiv-cli \
-v "$PWD/pixiv-cli-state:/home/pixiv/.pixiv-cli" \
ghcr.io/flanchanxwo/pixiv-cli:v1.2.3 \
auth list
Import a refresh token through stdin instead of passing it as an argv value. For manual import, allocate a TTY so the hidden prompt can suppress echo: run the command, paste the opaque token, and send EOF (Ctrl-D).
docker run --rm -it \
-v pixiv-cli-state:/home/pixiv/.pixiv-cli \
ghcr.io/flanchanxwo/pixiv-cli:v1.2.3 \
auth import
For automation, pipe your secret manager's stdout directly into stdin with -i, not -it. The container writes only to the persistent state volume:
secret-manager print-token | docker run --rm -i \
-v pixiv-cli-state:/home/pixiv/.pixiv-cli \
ghcr.io/flanchanxwo/pixiv-cli:v1.2.3 \
auth import
This uses the existing pixiv auth import behavior; it does not add a Docker-specific OAuth callback flow for auth login.
For MCP, the transport remains docker run --rm -i ghcr.io/flanchanxwo/pixiv-cli mcp, and stdout stays reserved for MCP JSON-RPC. Pin a release as shown below:
docker run --rm -i ghcr.io/flanchanxwo/pixiv-cli:v1.2.3 mcp
Add -v pixiv-cli-state:/home/pixiv/.pixiv-cli when the MCP server should reuse persisted accounts.
Upgrade by pulling a newer image and redeploying with the same state volume. This workflow does not make pixiv update container-aware.
Copy this single prompt into Codex, Claude Code, Cursor, or another local AI agent with terminal access:
Install the latest stable pixiv-cli from https://github.com/FlanChanXwO/pixiv-cli for this machine: inspect the repository's scripts/install.sh or scripts/install.cmd first, choose the script matching the detected OS and architecture (the Windows path must use cmd.exe and must not invoke PowerShell), download only official GitHub Release assets, require the published SHA-256 check to pass before replacing anything, install per-user without administrator or root privileges, add only the chosen install directory to the user PATH, ask before installing any missing prerequisite, never read or output Pixiv credentials, verify with pixiv --version, and report the installed version plus every file and PATH change.
Also install the `pixiv-cli` Skill that matches the same stable release tag (not main): download the full skills/pixiv-cli/ directory from that tag into the agent skills directory the user confirms. Do not guess the skills path and do not follow the main branch for skill content.
Agents with SkillHub support can install the published pixiv-cli Skill directly from SkillHub. Each Skill version matches the CLI release it teaches; always use pixiv <cmd> --help as the final source of command syntax.
Agents using ClawHub can install the published pixiv-cli Skill with clawhub install pixiv-cli; pin the installed skill to the matching published release version rather than following an unversioned latest tag.
brew install FlanChanXwO/tap/pixiv-cli
Upgrade later with:
brew update
brew upgrade pixiv-cli
Use an exact published tag. A source install requires Go, cgo, a C linker, and the committ