llm-model-providers MCP Server
mcp server for fetching available llm models
Overview
The llm-model-providers MCP Server is a server designed to fetch available models from various LLM (Large Language Model) providers, facilitating easy access to different models for developers.
To use the MCP Server, install the necessary dependencies, build the server, and configure it with your LLM provider's API keys. You can also set it up for use with Claude Desktop by adding the server configuration to the appropriate JSON file.
- Fetches available models from multiple LLM providers. - Supports configuration for different environments (MacOS and Windows). - Includes debugging tools via MCP Inspector for easier troubleshooting.
- Integrating various LLM models into applications.
- Simplifying the process of switching between different LLM providers.
- Debugging and monitoring LLM model interactions during development.
Add to your AI client
Use these steps to connect llm-model-providers MCP Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"llm-model-providers-mcp-jhsu": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-llm-model-providers-mcp-jhsu"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"llm-model-providers-mcp-jhsu": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-llm-model-providers-mcp-jhsu"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"llm-model-providers-mcp-jhsu": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-llm-model-providers-mcp-jhsu"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"llm-model-providers-mcp-jhsu": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-llm-model-providers-mcp-jhsu"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"llm-model-providers-mcp-jhsu": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-llm-model-providers-mcp-jhsu"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"llm-model-providers-mcp-jhsu": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-llm-model-providers-mcp-jhsu"
]
}
}
}FAQ
What programming language is the MCP Server built with?
The MCP Server is built using JavaScript.
How do I install the MCP Server?
You can install it by running `pnpm install` after cloning the repository.
Is there a way to debug the MCP Server?
Yes! You can use the MCP Inspector for debugging, which provides a URL to access debugging tools in your browser.