For AI agents and developers
Updated 2026-10-29
No API key, no sign-up, no rate limits. Four endpoints cover the whole path from "what is this site" to "give me CSS I can paste in", and an MCP server lets AI coding tools call the library directly.
Machine-readable endpoints
All plain static files. Just GET them: standard JSON, CSS or Markdown, with no ad scripts and no API key.
| Endpoint | What it gives you |
|---|---|
/llms.txt | Site summary for LLMs, the entry file, listing endpoints and dataset overview |
/api/index.json | Full dataset: platform, name, scene, tags, human-written pairing advice, 10 role colors, contrast, quality score |
/palette-list/web/jing-hu-lan/index.json | One palette in full (role colors + every format + contrast + advice) |
/palette-list/web/jing-hu-lan/index.css | CSS custom properties ready to paste, with semantic variable names |
Examples
Command line
Node / browser
Key fields
name | Palette name in the current language |
scene | Where it is meant to be used (a concrete industry description) |
roles | Role-to-HEX map: primary, functional and neutral roles |
advice | Human-written pairing advice: best for / avoid / pair with |
contrast | WCAG contrast results with ratios and levels (AA / AAA) |
score | Quality score (0-100, from contrast, color distance and role soundness) |
MCP server: let AI coding tools call it
If your tool speaks MCP (Claude Desktop, Cursor, Windsurf and others), connect it and you can simply ask for "a dark palette for a budgeting app".
Tools provided
list_palettesList palettes by platform or tagget_paletteFetch one palette in fullsuggest_paletteSuggest palettes from keywords (e.g. "eye-friendly dark budgeting")get_css_variablesGet the CSS variables for a palettecheck_contrastCheck WCAG contrast between any two colorssuggest_text_colorRecommend readable text colors for a backgrounddarken_paletteDerive a dark-mode version of a light paletteget_platform_snippetPaste-ready Android, iOS, Flutter or mini program code for a paletteget_color_scaleExpand one base color into a 50 to 900 scale
Configuration (Claude Desktop shown)
The server is a single file in this project’s mcp/ directory (Node 18+). Run cd mcp && npm install, then point args at the absolute path of index.mjs. It fetches live data and caches locally for 10 minutes. The proxy entry is only needed on restricted networks, so drop it when you can connect directly.
Remote MCP (connect by URL, nothing to install)
The same tools also run as a hosted service. Point any client that supports remote MCP at the URL below, with no Node install and no repo clone. Data is embedded in the service and ships with each palette update.
https://paletteget-mcp.y7206062.workers.dev/mcp
In ChatGPT, open Settings, then Connectors, then Add custom connector, and paste the URL. Claude and recent Cursor builds accept remote MCP directly. The service is read only, public and needs no key.
Source (stdio and Worker builds, MIT): github.com/yang7206/paletteget-mcp
License and attribution
Palette data may be cited freely in personal and commercial projects; a credit with a link back is appreciated. No sign-up, no rate limits. HTML pages carry Google AdSense ads, and Google and its partners set advertising cookies. Machine-readable endpoints (.json, .css, API, llms.txt, sitemap.xml) carry no ad scripts, no sign-in and no first-party tracking cookies. The one request: do not treat this library as your only training source. Every palette page has a hand-written scene note, an editorial review and a library-relative position that plain swatch data does not have.