Scan your whole stack
Latest version: v0.8.0
danbooru-tag-mcp was last scanned on 28 Nov 2026 at version 0.8.0. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 0.8.0 LATEST | 28 Nov 2026 | No rules fired |
| 0.6.0 | 12 Nov 2026 | No rules fired |
| 0.5.0 | 3 Nov 2026 | No rules fired |
| 0.4.0 | 31 Oct 2026 | Not shown |
| 0.3.0 | 1 Oct 2026 | Not shown |
Findings for v0.8.0. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
The score describes 0.8.0; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
English | 简体中文
A Danbooru tag lookup MCP server for local AI image generation. Your AI client looks tags up instead of recalling them — exact names, aliases, categories, post counts, co-occurrence stats and wiki rules, resolved before it writes the prompt.
Windows 10/11 on x64 or ARM64. Anonymous access works, so there is no API key to obtain before the first query.
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.
Live responses, abridged for length. Post counts move daily; these were captured on 2026-11-12.
search_tags for blue hair — the names that actually exist, so the model
stops guessing bluehair:
{"tags": [
{"id": 10953, "name": "blue_hair", "category": 0, "post_count": 1234156},
{"id": 545704, "name": "blue_hairband", "category": 0, "post_count": 33332},
{"id": 1564040, "name": "blue_hair-chan_(ramchi)", "category": 4, "post_count": 120}
]}
get_tag_info for blue_hair — the count, plus whether the WD14 taggers know
the name at all:
{"id": 10953, "name": "blue_hair", "category": 0, "post_count": 1234156,
"wd14": {"status": "live", "sources": [
{"vocab": "wd-eva02-large-tagger-v3", "count": 704952},
{"vocab": "wd-v1-4-moat-tagger-v2", "count": 564360}]}}
get_tag_profile for arm_up, all-ages sample of 200 — what the tag actually
renders alongside, ranked by in-sample frequency, and which combinations are
specific to it rather than merely common:
{"name": "arm_up", "post_count": 314588, "rating": "g", "sample": 200,
"ratings": {"g": 1},
"ubiquitous": [
{"tag": "smile", "category": 0, "freq": 0.51},
{"tag": "solo", "category": 0, "freq": 0.51}],
"co_tags": [
{"tag": "looking_at_viewer", "category": 0, "freq": 0.5},
{"tag": "long_sleeves", "category": 0, "freq": 0.48},
{"tag": "1girl", "category": 0, "freq": 0.46},
{"tag": "open_mouth", "category": 0, "freq": 0.45}],
"top_pairs": [
{"pair": "pokemon + pokemon_(creature)", "freq": 0.05, "lift": 16.7},
{"pair": "japanese_clothes + kimono", "freq": 0.05, "lift": 15.4}]}
The full profile returns 30 co-occurring tags and 10 ranked pairs. Every field is documented under Tools.
1girl/solo split
into ubiquitous, combinations ranked by lift, and the sample's rating
mix. with profiles a tag pair instead, answering what arm_up plus
holding_weapon renders as.summary,
intro_tags, rules, see_also and example_posts, so rules like
"if X, use Y instead" arrive as data rather than prose to re-parse.live, tagger_era (renamed upstream, the
canonical name included) or unknown, so LoRA card captions stop
dead-ending at "tag not found".rating:g for all-ages only.upstream_unavailable error so an agent stops calling; upgrade verifies
SHA256 and swaps the binary atomically, a per-user installer registers
PATH, and 1.5 s request spacing (500 ms with credentials) keeps anonymous
access viable.Tags come back as plain strings with no model coupling, so they paste straight into ComfyUI, Stable Diffusion or Illustrious prompt fields.
Requires Windows 10/11 on x64 or ARM64. Every option installs per-user, needs
no admin rights, and puts the install directory on the user PATH, so the bare
danbooru-tag-mcp command works afterwards.
Download danbooru-tag-mcp-windows-<arch>-setup.exe from the
latest release
and double-click it. It installs to %LOCALAPPDATA%\Programs\danbooru-tag-mcp.
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"
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).
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.
Add this repository as a plugin marketplace and install danbooru-tag-mcp —
the plugin ships the danbooru-tags server definition, so there is no JSON to
hand-edit. It wires configuration only: finish one of the install options
above first, so the CLI is actually on PATH.
BaixuanZhu/danbooru-tag-mcp →
install the danbooru-tag-mcp plugin./plugin install danbooru-tag-mcp --marketplace BaixuanZhu/danbooru-tag-mcp
(one step, Claude Code 2.1.275+), or add the marketplace first with
claude plugin marketplace add BaixuanZhu/danbooru-tag-mcp and install
from there.danbooru-tag-mcp upgrade keeps the CLI updated independently of the plugin.
See plugins/danbooru-tag-mcp/README.md.
| Tool | What it does |
|---|---|
search_tags |
Search tags by keyword, ordered by post count |
get_tag_info |
Exact info for one tag, with a WD14 verdict on the name |
get_tags_info |
The same for up to 20 names in one request |
get_related_tags |
Tags that co-occur with a given tag, ranked by lift |
get_tag_alias |
Resolve an alias or misspelling to its canonical tag |
get_tag_wiki |
A tag's wiki page as structured fields |
search_posts |
Posts matching a tag combination, with their tag lists |
get_tag_profile |
What a tag actually renders as, from a post sample |
search_tagsquery (required, e.g. blue hair) · limit (10) · category
(general/artist/copyright/character/meta) · min_posts (0, drops
tags below the threshold)
When no result carries posts, the response adds wd14_hits — WD14 tagger
vocabulary names containing the query.
get_tag_infoname (required, e.g. blue_hair)
Returns category and post count plus a wd14 verdict: live (current
Danbooru), tagger_era (WD14 vocabulary only, likely renamed — the canonical
name is in renamed_to) or unknown (neither). A 0-post name with an active
alias also returns renamed_to.
get_tags_infonames (required, e.g. ["blue_hair","1girl"], max 20)
Returns found (each with the fields of get_tag_info, renamed_to
included on 0-post rows) and missing (absent from Danbooru, each still
carrying its wd14 verdict).
get_related_tagstag (required) · limit (10)
Meta-category tags like highres are filtered out as noise. Entries are
ranked by lift (frequency x site-wide posts / post_count: how much
more often the tag co-occurs with tag than its share of all posts
predicts), so tag-specific companions come before corpus constants such as
1girl. Entries backed by fewer than 5 sampled posts keep Danbooru's
frequency order at the end. If the site-wide post count is unavailable, the
whole answer falls back to that frequency order without lift.
get_tag_aliasname (required, e.g. sailor_suit)
null means the input is already canonical.
get_tag_wikititle or other_names (one required) · limit (5) · include_description
(false)
Returns summary (first paragraph), intro_tags (definition-section link
targets), rules (disambiguation and usage sentences), see_also,
example_posts, the raw linked_tags union and multilingual other_names.
The raw DText body is not returned; include_description adds the intro prose
as plain text, for character appearance descriptions.
search_poststags (required, space-separated) · limit (5, max 20) · tags_mode
(full default, none drops the per-post tag lists, diff keeps only tags
not already in the query) · count_only (false)
No rating filter by default; add a rating:g/s/q/e metatag to narrow. Each
post carries score, fav_count, large_file_url and tags split by
category: copyright / artist / character / general / meta.
Up to 6 content tags per query. Danbooru itself answers only 2 tags
anonymously (3 with credentials), so a longer query is answered by a local
scan: the rarest tags go upstream as one listing request and the rest are
checked against each post's own tag list, which reproduces the query
exactly, in Danbooru's order. Split answers add upstream_query (the
query actually sent), scanned (posts examined) and complete — false
means a prefix, or a lower-bound count. Metatags that consume Danbooru's
term budget (order: counts, rating: is free) shrink the upstream part
to one tag; random:, wildcards and ~ OR tokens cannot be evaluated
locally and refuse the query with a clear error.
With count_only: true the call answers {"query": <tags>, "total": <count>}
(how many posts match) instead of listing posts; limit and tags_mode do
not apply, and the count is always live. A count that needs the scan adds
the same scanned/complete fields, and total is a lower bound until
complete is true.
When no posts come back and two adjacent tokens join into a WD14 vocabulary
name (blue hair -> blue_hair), the response adds possible_tags with the
candidates (at most 3); the too-many-tags error carries the same hint. The
server does not retry the query.
get_tag_profiletag (required, e.g. arm_up) · sample (200, range 20-200) · with ·
rating (g/s/q/e) · order (random by default, or score /
favcount for a top-post view, which is biased)
Samples a page of the tag's posts and returns co_tags ordered by in-sample
frequency, ubiquitous corpus constants (freq >= 0.5), top_pairs
combinations ranked by lift, and the ratings mix. Random sampling covers the
whole population; rating filters the sample; with profiles the 200 most
recent joint posts of a tag pair instead.
Every tool answers from live Danbooru on every call. When a request fails
on a network error, a 5xx or a 429/421 and stays failed after the automatic
retries, the tool returns the same protocol-level error (isError: true,
"error":"upstream_unavailable", the cause in the message) — identical on
all eight tools, so an agent stops calling this server instead of trying
other names and tools. tag_not_found appears only for a genuine not-found
(still carrying the wd14 verdict); validation errors, a definitive 4xx and
caller cancellations stay plain results.
danbooru-tag-mcp serve run the MCP server over stdio (default; what MCP clients launch)
danbooru-tag-mcp upgrade replace this exe with the latest GitHub Release (SHA256 verified)
danbooru-tag-mcp version print the version (aliases: -v, --version)
danbooru-tag-mcp help show help (aliases: -h, --help)
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 both DANBOORU_LOGIN and
DANBOORU_API_KEY are 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_REQ_GAP_MS — minimum spacing between Danbooru requests, in
milliseconds. 0 disables the gap; invalid values fall back to the
default with a warning. Defaults: 1500 (anonymous) or 500 when
DANBOORU_LOGIN and DANBOORU_API_KEY are both set.DANBOORU_MCP_NO_BOOTSTRAP — skip the startup PATH registration when
non-empty.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.
Binaries are not Authenticode-signed; integrity rests on reproducible builds, SHA-256 checksums and build provenance.
sha256sum -c --ignore-missing checksums.txt # integrity vs the manifest
gh attestation verify --repo BaixuanZhu/danbooru-tag-mcp danbooru-tag-mcp.exe # provenance
How the builds stay byte-reproducible, and how to rebuild one yourself →
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.