Skip to content
Back to search

dads-mcp

Unofficial MCP server for the Digital Agency Design System (DADS) of Japan / デジタル庁デザインシステムの非公式 MCP サーバー

Safety scan

A static text scan, not a guarantee. Select the badge to see what was scanned and every finding.

Checked today
Badge for your README
findsafeskills safety rating

Markdown

[![findsafeskills safety rating](/api/listings/darthrommy--dads-mcp/badge.svg)](/listings/darthrommy--dads-mcp)

HTML

<a href="/listings/darthrommy--dads-mcp"><img src="/api/listings/darthrommy--dads-mcp/badge.svg" alt="findsafeskills safety rating" /></a>

Install

i

What was scanned

The files the safety scan read, as written by the repository's author and shown as plain text. Lines with a finding are marked.

README.md · README · 79 lines
  1. # dads-mcp
  2. An unofficial MCP server for the [Digital Agency Design System (DADS)](https://design.digital.go.jp/dads/) of Japan. It lets AI assistants read DADS guidelines, component code (HTML / React) and design tokens. Not affiliated with the Digital Agency. Guideline text is not bundled in this repository; it is fetched into a local cache on your machine, and every answer includes the source URL.
  3. ---
  4. デジタル庁デザインシステム(DADS)のガイドライン・コンポーネントのコード・デザイントークンを、AI(Claude Code、Claude Desktop など MCP に対応したアプリ)から引けるようにする MCP サーバーです。
  5. 非公式です。デジタル庁とは無関係です。
  6. ## できること
  7. | ツール | 内容 |
  8. | --- | --- |
  9. | `list_components` | コンポーネントの一覧 |
  10. | `get_component` | 1 つのコンポーネントの説明(概要・使い方・アクセシビリティ)と HTML / CSS / React のコード |
  11. | `list_foundations` | 基本ルール(色・文字・余白・レイアウトなど)の項目一覧 |
  12. | `get_foundation` | 基本ルールの本文 |
  13. | `get_tokens` | デザイントークン(色・文字・角丸・影)の CSS 変数か JSON と、読み込み方法 |
  14. | `search` | ガイドライン全体のキーワード検索 |
  15. | `get_page` | 上以外の任意のページの本文 |
  16. ## 使い方
  17. Node.js 22 以上が必要です。
  18. Claude Code:
  19. ```sh
  20. claude mcp add dads -- npx -y github:darthrommy/dads-mcp
  21. ```
  22. Claude Desktop(`claude_desktop_config.json`):
  23. ```json
  24. {
  25. "mcpServers": {
  26. "dads": { "command": "npx", "args": ["-y", "github:darthrommy/dads-mcp"] }
  27. }
  28. }
  29. ```
  30. 初回は、インストール時のビルドと、デジタル庁のサイト・GitHub からのデータ取得に時間がかかります。データは次の場所に保存されます。
  31. - macOS / Linux: `~/.cache/dads-mcp`(`XDG_CACHE_HOME` があればその下)
  32. - Windows: `%LOCALAPPDATA%\dads-mcp`
  33. - 環境変数 `DADS_MCP_CACHE_DIR` で変更できます
  34. ### データの更新と確認
  35. ```sh
  36. npx -y github:darthrommy/dads-mcp update # 最新のデータを取得
  37. npx -y github:darthrommy/dads-mcp status # 保存場所・取得日時・件数を表示
  38. ```
  39. 自動では更新しません。取得から 30 日たつと、ツールの返答に更新を勧める一文が付きます。
  40. ### 頼み方の例
  41. - 「DADS のコンポーネントを使って、ゼミの紹介ページを HTML で作って」
  42. - 「DADS の色と文字のトークンで、発表スライドの配色とフォントを決めて」
  43. - 「DADS のボタンのアクセシビリティの注意点を教えて」
  44. ## ライセンス
  45. このリポジトリのコードは [MIT License](./LICENSE) です。
  46. このツールが取得するデータは次のとおりです。
  47. | データ | 提供元 | ライセンス |
  48. | --- | --- | --- |
  49. | HTML 版コンポーネント | [digital-go-jp/design-system-example-components-html](https://github.com/digital-go-jp/design-system-example-components-html) | MIT |
  50. | React 版コンポーネント | [digital-go-jp/design-system-example-components-react](https://github.com/digital-go-jp/design-system-example-components-react) | MIT |
  51. | デザイントークン | [@digital-go-jp/design-tokens](https://github.com/digital-go-jp/design-tokens) | MIT |
  52. | ガイドライン本文 | [デジタル庁デザインシステムβ版](https://design.digital.go.jp/dads/) | サイト上に明記なし |
  53. - ガイドライン本文はこのリポジトリに含めず、使う人の手元で取得してキャッシュします。
  54. - ツールの返答には毎回、出典(元のページや GitHub のファイルの URL)と取得日が付きます。ガイドライン本文は HTML から抜き出して整形したものです。
  55. - デジタル庁のロゴは使っていません。

Ratings and comments

Sign in to rate this skill.

Sign in

Free to use. If it’s helped, pass it on.