model-hub-mcp
An MCP (Model Context Protocol) server that fetches AI model information from OpenAI, Anthropic, and Google.
Features
- Multi-provider Support: Supports three providers - OpenAI, Anthropic, and Google AI
- List Models: Retrieve a list of available models from each provider
- Get Model Details: Fetch detailed information about specific models
- Unified Retrieval: Batch fetch model information from all configured providers
Quick Start (npx)
Note: The package will be downloaded from npm on first run.
Installation
Global Installation
Local Installation
Configuration
- Copy
.env.example
to.env
:
- Set API keys for each provider in the
.env
file:
Note: You can leave API keys empty for providers you don't plan to use.
Build
Compile TypeScript code:
Usage
Start as MCP server:
Development mode (run TypeScript directly):
Available Tools
list_models
Retrieve a list of available models from a specific provider.
Parameters:
provider
: "openai" | "anthropic" | "google"
get_model
Fetch detailed information about a specific model.
Parameters:
provider
: "openai" | "anthropic" | "google"model_id
: Model ID (e.g., "gpt-4", "claude-3-opus", "gemini-pro")
list_all_models
Batch fetch model information from all configured providers.
MCP Client Configuration Examples
Using npx
After Global Installation
After Local Installation
License
MIT
This server cannot be installed
An MCP server that retrieves and provides AI model information from OpenAI, Anthropic, and Google through a unified interface.
Related MCP Servers
- -securityAlicense-qualityA Model Context Protocol (MCP) server that lets you seamlessly use OpenAI's models right from Claude.Last updated -12428JavaScriptMIT License
- -securityAlicense-qualityA simple MCP server for interacting with OpenAI assistants. This server allows other tools (like Claude Desktop) to create and interact with OpenAI assistants through the Model Context Protocol.Last updated -31PythonMIT License
- -securityFlicense-qualityAn OpenAI API-based MCP server that provides deep thinking and analysis capabilities, integrating with AI editor models to deliver comprehensive insights and practical solutions.Last updated -
- -security-license-qualityA simple server that acts as a Master Control Program (MCP) for unified interaction with OpenAI and Anthropic (Claude) AI models through a single API endpoint.Last updated -