npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@mahito1594/cacoo-mcp

v0.3.0

Published

An unofficial MCP Server for Cacoo <https://cacoo.com>

Readme

@mahito1594/cacoo-mcp

README: 日本語 | English

Cacoo の非公式 Model Context Protocol (MCP) サーバーです。Claude Code や Cursor などの AI コーディングエージェントが Cacoo の図の画像やメタデータを直接参照できるよう、読み取り専用のツールを提供します。

セットアップ

1. Cacoo API キーを取得する

Cacoo のアカウント設定から API キーを生成してください。

2. MCP クライアントを設定する

Claude Code: 次のコマンドを実行してください

claude mcp add --env CACOO_API_KEY=your-api-key-here cacoo-mcp -- npx -y @mahito1594/cacoo-mcp

Claude Desktop (~/Library/Application Support/Claude/claude_desktop_config.json または %APPDATA%\Claude\claude_desktop_config.json):

{
  "mcpServers": {
    "cacoo-mcp": {
      "command": "npx",
      "args": ["-y", "@mahito1594/cacoo-mcp"],
      "env": {
        "CACOO_API_KEY": "your-api-key-here"
      }
    }
  }
}

Cursor (.cursor/mcp.json):

{
  "mcpServers": {
    "cacoo-mcp": {
      "command": "npx",
      "args": ["-y", "@mahito1594/cacoo-mcp"],
      "env": {
        "CACOO_API_KEY": "your-api-key-here"
      }
    }
  }
}

環境変数

| 変数名 | 必須 | 説明 | | ------------------------ | ---- | -------------------------------------------------------------------------------------------- | | CACOO_API_KEY | 必須 | Cacoo API キー | | CACOO_ORGANIZATION_KEY | 任意 | デフォルトの組織キー。省略した場合は先に list_organizations を呼び出して取得してください。 |

ツール

| ツール名 | 説明 | | -------------------- | ---------------------------------------------------------- | | list_organizations | 設定された API キーで利用できる Cacoo 組織の一覧を取得する | | list_diagrams | 図の一覧を取得する(キーワードやフォルダでの絞り込みも可) | | get_diagram_sheets | 図に含まれるシートの一覧(シート ID と名前)を取得する | | get_diagram_image | 図の PNG 画像を Base64 エンコードで取得する |

典型的な使用フロー

list_organizations()                    # CACOO_ORGANIZATION_KEY が未設定の場合
list_diagrams(keyword?)                 # diagramId を特定し sheetCount を確認
  if sheetCount > 3:
    get_diagram_sheets(diagramId)       # sheetId を取得
get_diagram_image(diagramId, sheetId?)  # 画像を取得

sheetId を省略した場合、get_diagram_image はすべてのシートを並列で取得します。

開発

Node.js >= 22 および pnpm >= 10 が必要です。 mise を用いてインストールしてください。

pnpm install
pnpm build       # TypeScript をコンパイル → dist/index.mjs
pnpm test        # テストを実行
pnpm typecheck   # 型チェック(出力なし)
pnpm lint        # oxlint を実行

Agent Skills

このプロジェクトは以下のサードパーティ Agent Skill を使用しています。

以下のコマンドでインストールしてください。

pnpm dlx skills experimental_install

ライセンス

MIT