Server data from the Official MCP Registry
Danbooru MCP server for AI image generation: search, batch lookup, aliases, profiles, wiki, posts
About
Danbooru MCP server for AI image generation: search, batch lookup, aliases, profiles, wiki, posts
Security Report
Valid MCP server (2 strong, 4 medium validity signals). No known CVEs in dependencies. Imported from the Official MCP Registry.
6 files analyzed · No issues found
Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.
Permissions Required
This plugin requests these system permissions. Most are normal for its category.
Documentation
View on GitHubFrom the project's GitHub README.
danbooru-tag-mcp
A Danbooru tag lookup MCP (Model Context Protocol) server for local AI image generation: your AI client resolves real Danbooru tags — exact names, aliases, categories, post counts, co-occurrence statistics, wiki descriptions, and the tag lists of real posts — before composing prompts, which noticeably improves tag accuracy in generated images.
Quick start
Install per-user (Windows 10/11, no admin rights):
iwr -useb "https://raw.githubusercontent.com/BaixuanZhu/danbooru-tag-mcp/main/install.ps1" | iex
Point your MCP client at the command:
{
"mcpServers": {
"danbooru-tags": {
"command": "danbooru-tag-mcp",
"args": []
}
}
}
That's it — the client picks up the eight tools below on its next session.
Features
- 8 MCP tools: tag search, exact tag info, batch tag lookup, related tags, alias resolution, wiki lookup, post search, and tag distribution profiles
- Batch tag lookup:
get_tags_inforesolves up to 20 exact tag names in a single request — one tool call instead of 20, with found/missing split and awd14verdict on every name - Tag distribution profiles:
get_tag_profilesamples a random page of a big tag's posts and answers what it actually renders as — co-occurring tags by in-sample frequency (corpus constants like1girl/solosplit intoubiquitous), plus characteristic combinations ranked by lift, so a 300k-post tag likearm_upcan be checked against what you actually wanted before it pollutes a prompt - Tag lists back from post search:
search_postsreturns each post's full tag list split by category (copyright/artist/character/general/meta), so mining a few posts reveals which tags naturally go together - Tagger-era tag detection:
get_tag_infoclassifies every name against the pinned WD14 tagger vocabularies (wd14field:live/tagger_era— a tagger-era name Danbooru has since renamed, tryget_tag_alias/unknown), so LoRA card captions stop dead-ending at "tag not found";search_tagsaddswd14_hitsfallback hits when no result carries posts - Uncensored by default:
search_postsapplies no rating filter — results reflect a tag's whole population (arm_up is ~95% g/s/q); add arating:g/s/q/emetatag when you want only R-18 or only all-ages - Self-updating:
danbooru-tag-mcp upgradechecks GitHub Releases, verifies SHA256 and replaces the binary atomically - Zero-config install: per-user installer (setup wizard or one-line PowerShell) that registers the install directory into the user PATH automatically
- Polite API usage: requests are throttled to one per 1.5 seconds; anonymous access works, credentials raise the limits (free/anonymous post searches are still capped at 2 content tags per query)
Install
Requires Windows 10/11 on x64 or ARM64.
Option 1: setup wizard (recommended)
Download danbooru-tag-mcp-windows-<arch>-setup.exe from the
latest release
and double-click it. This installs per-user to
%LOCALAPPDATA%\Programs\danbooru-tag-mcp (no admin rights needed) and
registers the user PATH.
Option 2: one-line PowerShell
iwr -useb "https://raw.githubusercontent.com/BaixuanZhu/danbooru-tag-mcp/main/install.ps1" | iex
Custom install directory:
.\install.ps1 -InstallDir "D:\tools\danbooru-tag-mcp"
Option 3: portable zip
Download danbooru-tag-mcp-windows-<arch>.zip from the
release page,
extract danbooru-tag-mcp.exe anywhere, and run it once — the first run
silently adds its own directory to the user PATH (idempotent).
Option 4: ZCode / Claude Code plugin (auto MCP config)
For ZCode and Claude Code users the MCP configuration can come from a plugin
instead of hand-edited JSON: add this repository as a plugin marketplace and
install danbooru-tag-mcp — the plugin ships the danbooru-tags server
definition, so no client-side config is needed.
- ZCode: Plugin Marketplace → Add →
BaixuanZhu/danbooru-tag-mcp→ install thedanbooru-tag-mcpplugin. - Claude Code:
/plugin install danbooru-tag-mcp --marketplace BaixuanZhu/danbooru-tag-mcp(one step, Claude Code 2.1.275+), or add the marketplace first withclaude plugin marketplace add BaixuanZhu/danbooru-tag-mcpand install from there.
The plugin wires the configuration only — the CLI still has to be on PATH
(install it first via Option 1-3 above), and danbooru-tag-mcp upgrade
keeps it updated independently of the plugin. See
plugins/danbooru-tag-mcp/README.md.
Configure your MCP client
Point your MCP client (Claude Desktop, ZCode, etc.) at the command:
{
"mcpServers": {
"danbooru-tags": {
"command": "danbooru-tag-mcp",
"args": []
}
}
}
The bare command name works because the install directory is on the user PATH; alternatively use the full exe path. ZCode and Claude Code users can skip the manual JSON entirely via Option 4.
Tools
| Tool | Description | Parameters |
|---|---|---|
search_tags | Search tags by keyword, ordered by post count; when no result has posts, adds wd14_hits (WD14 tagger vocab names containing the query) | query (required, e.g. blue hair), limit (default 10) |
get_tag_info | Exact info for one tag (category, post count), plus a wd14 verdict: live (current Danbooru), tagger_era (WD14 tagger vocab only, likely renamed — see get_tag_alias), unknown (neither) | name (required, e.g. blue_hair) |
get_tags_info | Batch version of get_tag_info: up to 20 exact names in one request; returns found (each with the same fields as get_tag_info) and missing (names absent from Danbooru, each still carrying its wd14 verdict) | names (required, e.g. ["blue_hair","1girl"], max 20) |
get_related_tags | Tags that co-occur with the given tag (meta-category tags like highres are filtered out as noise) | tag (required), limit (default 10) |
get_tag_alias | Resolve an alias or misspelling to its canonical tag (null = input is already canonical) | name (required, e.g. sailor_suit) |
get_tag_wiki | Wiki page of a tag: description, multilingual names, and the [[tag]] links extracted from the body | title or other_names (one required), limit (default 5) |
search_posts | Search posts by a tag combination, no rating filter by default (add a rating:g/s/q/e metatag to narrow). Each post carries tags split by category: copyright / artist / character / general / meta | tags (required, space-separated), limit (default 5) |
get_tag_profile | Distribution profile of one tag from a random post sample (default 200 posts, whole population — no rating filter): co_tags ordered by in-sample frequency, ubiquitous corpus constants (freq >= 0.5), top_pairs characteristic combinations ranked by lift (co-occurrence above chance). Meta tags and the tag itself excluded | tag (required, e.g. arm_up), sample (default 200, range 20-200) |
CLI
danbooru-tag-mcp run the MCP server (what MCP clients launch)
danbooru-tag-mcp upgrade self-update via GitHub Release (SHA256 verified)
danbooru-tag-mcp version print the version
danbooru-tag-mcp help show help
Environment variables
DANBOORU_LOGIN— your Danbooru account name (the login you use on the site). Optional.DANBOORU_API_KEY— your Danbooru API key, generated from the API key section of your Danbooru profile. Optional. When bothDANBOORU_LOGINandDANBOORU_API_KEYare set, every request is sent authenticated with your account (higher rate limits and content access); otherwise the client is anonymous and Danbooru applies lower limits.DANBOORU_MCP_NO_BOOTSTRAP— skip the startup PATH registration when non-empty.
Building from source
Requires Go 1.26+ and GNU Make (bundled with Git Bash):
make test # unit tests
make integration # online smoke test against the live Danbooru API (~1 min)
make build # dev build -> dist/<arch>/ (bootstrap disabled)
make release # portable zip + checksums.txt
make installer # NSIS setup exe (requires makensis: scoop install nsis)
Releases are automated: pushing a v* tag makes GitHub Actions run the test
suite and publish the setup exes, portable zips, and checksums.txt for both
architectures.
Reproducible builds & verifying downloads
Release binaries are not Authenticode-signed; integrity rests on reproducible builds plus SHA-256, all free and verifiable by anyone:
- The exe and portable zips are byte-reproducible: the exact Go toolchain
is pinned in
go.mod, builds useCGO_ENABLED=0 -trimpath -buildvcs=false, and zips are written byscripts/zipfilewith entry timestamps pinned to the commit time (SOURCE_DATE_EPOCH). Same source + toolchain ⇒ identical bytes on any machine, any timezone. - Every release job runs a verify-repro check: it rebuilds the exe from the tagged source on a Linux runner and compares it byte-for-byte against the published Windows-built asset — a green check on the release proves the artifacts were built from the tag without tampering.
- All artifacts carry SHA-256 checksums (
checksums.txt) and free keyless build-provenance attestations signed by the GitHub workflow.
Verify a download:
sha256sum -c --ignore-missing checksums.txt # integrity vs the manifest
gh attestation verify --repo BaixuanZhu/danbooru-tag-mcp danbooru-tag-mcp.exe # provenance
Reproduce the portable exe yourself and compare:
git checkout v0.4.0
make build-dist VERSION=0.4.0 GOARCH=amd64
sha256sum dist/amd64/danbooru-tag-mcp.exe # must equal the hash inside the published zip
The NSIS setup exe is the one non-reproducible artifact (makensis embeds
build metadata); it is still covered by checksums.txt and the attestations.
Reviews
No reviews yet
Be the first to review this server!
More Developer Tools MCP Servers
Rea
Freeby Morluto · Developer Tools
Reverse engineer anything from your terminal or agent with one CLI and MCP server.
Paperclip
Freeby Paperclipai · Developer Tools
Trending hip-hop artist momentum scores across four cultural dimensions.
Toleno
Freeby Toleno · Developer Tools
Toleno Network MCP Server — Manage your Toleno mining account with Claude AI using natural language.
MCP Marketplace
Freeby mcp-marketplace · Developer Tools
Search and install MCP servers from inside your AI client.
mcp-creator-python
Freeby mcp-marketplace · Developer Tools
Create, build, and publish Python MCP servers to PyPI — conversationally.
by Lharries · Communication
Read, search, and send WhatsApp messages through your AI assistant
