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

model-hub-mcp

v0.1.0

Published

MCP server for fetching AI models from OpenAI, Anthropic, and Google

Readme

model-hub-mcp

OpenAI、Anthropic、GoogleのAIモデル情報を取得できるMCP(Model Context Protocol)サーバーです。

機能

  • マルチプロバイダー対応: OpenAI、Anthropic、Google AIの3つのプロバイダーに対応
  • モデル一覧取得: 各プロバイダーから利用可能なモデルの一覧を取得
  • モデル詳細取得: 特定のモデルの詳細情報を取得
  • 統合取得: すべての設定済みプロバイダーからモデル情報を一括取得

クイックスタート(npx)

# 環境変数を設定して実行
OPENAI_API_KEY=your_key npx model-hub-mcp

注意: 初回実行時はnpmからパッケージをダウンロードします。

インストール

グローバルインストール

npm install -g model-hub-mcp

ローカルインストール

npm install model-hub-mcp

設定

  1. .env.example.envにコピーします:
cp .env.example .env
  1. .envファイルに各プロバイダーのAPIキーを設定します:
OPENAI_API_KEY=your_openai_api_key_here
ANTHROPIC_API_KEY=your_anthropic_api_key_here
GOOGLE_API_KEY=your_google_api_key_here

注意: 使用しないプロバイダーのAPIキーは空のままで構いません。

ビルド

TypeScriptコードをコンパイルします:

npm run build

使用方法

MCPサーバーとして起動:

npm start

開発モード(TypeScriptを直接実行):

npm run dev

利用可能なツール

list_models

特定のプロバイダーから利用可能なモデルの一覧を取得します。

パラメータ:

  • provider: "openai" | "anthropic" | "google"

get_model

特定のモデルの詳細情報を取得します。

パラメータ:

  • provider: "openai" | "anthropic" | "google"
  • model_id: モデルID(例: "gpt-4", "claude-3-opus", "gemini-pro")

list_all_models

設定済みのすべてのプロバイダーからモデル情報を一括取得します。

MCPクライアントでの設定例

npxを使用する場合

{
  "mcpServers": {
    "model-hub": {
      "command": "npx",
      "args": ["model-hub-mcp"],
      "env": {
        "OPENAI_API_KEY": "your_openai_api_key",
        "ANTHROPIC_API_KEY": "your_anthropic_api_key",
        "GOOGLE_API_KEY": "your_google_api_key"
      }
    }
  }
}

グローバルインストール後

{
  "mcpServers": {
    "model-hub": {
      "command": "model-hub-mcp",
      "env": {
        "OPENAI_API_KEY": "your_openai_api_key",
        "ANTHROPIC_API_KEY": "your_anthropic_api_key",
        "GOOGLE_API_KEY": "your_google_api_key"
      }
    }
  }
}

ローカルインストール後

{
  "mcpServers": {
    "model-hub": {
      "command": "node",
      "args": ["node_modules/model-hub-mcp/dist/index.js"],
      "env": {
        "OPENAI_API_KEY": "your_openai_api_key",
        "ANTHROPIC_API_KEY": "your_anthropic_api_key",
        "GOOGLE_API_KEY": "your_google_api_key"
      }
    }
  }
}

ライセンス

MIT