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

@kakedashi/md-to-article-mcp

v1.0.10

Published

MCP tool to convert Markdown files to rich text and copy to clipboard for X Article editor

Readme

@kakedashi/md-to-article-mcp

Markdown ファイルを X Article エディタにペースト可能なリッチテキストとしてクリップボードにコピーする CLI / MCP ツール。

インストール不要で使える(初回は自動ダウンロード)

npx @kakedashi/md-to-article-mcp /絶対パス/draft.md

Claude Desktop(MCP)として使う

claude_desktop_config.json に追記:

{
  "mcpServers": {
    "md-to-article": {
      "command": "npx",
      "args": ["-y", "@kakedashi/md-to-article-mcp"]
    }
  }
}

config の場所:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json

Claude Desktop を完全終了してから再起動(メニューバーから Quit)後、チャットで話しかける:

/Users/あなたのユーザー名/Downloads/draft.md を X Article 用にクリップボードにコピーして

~ は展開されないため絶対パスで指定してください。 ユーザー名の確認: echo $HOME

使い方

  1. npx でクリップボードにコピー
  2. X の Article エディタを Chrome で開く
  3. 本文エリアで Cmd+V

対応要素

| 要素 | 対応 | | ------------------ | --------------------------------------- | | 見出し h1 / h2 | ✅ | | 太字 / イタリック | ✅ | | 箇条書き / 番号付きリスト | ✅ | | リンク | ✅ | | 引用 | ✅ | | コードブロック | ⚠️ プレーンテキストで挿入・手動で再設定が必要 | | テーブル | ❌ X Article 非対応 | | 画像 | ❌ alt テキストのみ残る |

対応 OS

| OS | 方法 | | ------- | --------------------------- | | macOS | osascript(AppleScript) | | Windows | PowerShell Set-Clipboard | | Linux | xclip |

動作環境

| 環境 | バージョン | | ------- | ---------- | | Node.js | >= 18 | | npm | >= 9 |

Claude Code との連携

プロジェクトの CLAUDE.md に以下を追記すると「x用にコピー」の一言で実行できる:

## X Article へのコピー
「x用にコピー」「article にして」などのプロンプトがあった場合は、
現在作業中の .md ファイルを特定して以下を実行してください:
npx @kakedashi/md-to-article-mcp {絶対パスに解決したファイル名}.md

追記後、Claude Code で以下のように話しかけるだけで動く:

  • 「x用にコピー」
  • 「draft.md を article にして」
  • 「これをX記事用にコピーして」