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

@timakin/basemachina-mcp-docs-server

v0.1.1

Published

MCP server for BaseMachina documentation and showcase

Readme

BaseMachina MCP Docs Server

BaseMachina MCP Docs Serverは、BaseMachinaのドキュメント、ショーケース、コンポーネント情報にアクセスするためのModel Context Protocol (MCP) サーバーです。AIアシスタントが簡単にBaseMachinaの情報にアクセスできるようになります。

機能

  • ドキュメント: BaseMachinaのドキュメントにアクセスし、特定のページや章を参照できます
  • ショーケース: ビュー実装の例を参照し、実際のコード例を確認できます
  • コンポーネント: 組み込み関数やコンポーネントの使用方法の詳細情報を取得できます
  • 検索: ドキュメントとショーケース全体を検索し、関連情報を素早く見つけられます

インストール

Cursor

Cursorでこのサーバーを使用するには、プロジェクトのルートに .cursor/mcp.json ファイルを作成または更新します:

{
  "mcpServers": {
    "basemachina": {
      "command": "npx",
      "args": ["-y", "basemachina-mcp-docs-server@latest"]
    }
  }
}

Claude デスクトップ

Claude デスクトップで使用するには、次の設定ファイルを編集します:

macOS/Linux:

// ~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "basemachina": {
      "command": "npx",
      "args": ["-y", "basemachina-mcp-docs-server@latest"]
    }
  }
}

Windows:

// %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "basemachina": {
      "command": "cmd",
      "args": ["/c", "npx", "-y", "basemachina-mcp-docs-server@latest"]
    }
  }
}

使用方法

サーバーが接続されると、次のツールを使用できるようになります:

ドキュメントツール (basemachinaDocs)

特定のドキュメントパスのコンテンツを取得します:

パラメータ:
- path: 取得するドキュメントパス(例:"view/basic", "action/data")

例:

  • basemachinaDocs() - ナビゲーション構造を返します
  • basemachinaDocs({ path: "view/basic" }) - Basic Viewのドキュメントを返します

ショーケースツール (basemachinaShowcase)

ビュー実装の例を表示します:

パラメータ:
- category: 例のカテゴリ(例:"form", "table", "chart")
- example: 特定の例の名前

例:

  • basemachinaShowcase() - 利用可能なカテゴリ一覧を返します
  • basemachinaShowcase({ category: "form" }) - フォームの例一覧を返します
  • basemachinaShowcase({ category: "form", example: "basic-form" }) - 基本的なフォームの例を返します

コンポーネントツール (basemachinaComponent)

組み込み関数やコンポーネントに関する情報を提供します:

パラメータ:
- name: コンポーネントまたは関数の名前

例:

  • basemachinaComponent() - 利用可能なコンポーネント一覧を返します
  • basemachinaComponent({ name: "TextInput" }) - TextInputコンポーネントの情報を返します

検索ツール (basemachinaSearch)

ドキュメンテーションとショーケース全体を検索します:

パラメータ:
- query: 検索クエリ
- limit: 返す結果の最大数(デフォルト: 5)

例:

  • basemachinaSearch({ query: "フォーム検証" }) - フォーム検証に関する情報を検索します
  • basemachinaSearch({ query: "テーブル", limit: 10 }) - テーブルに関する情報を10件まで検索します

開発

このリポジトリをクローンした後:

# 依存関係をインストール
npm install

# 開発モードで実行
npm run dev

# ビルド
npm run build

# 実行
npm start

ライセンス

ISC