llm-model-providers MCP Server
@jhsu
mcp server for fetching available llm models
Overview
What is llm-model-providers MCP Server?
An MCP server that retrieves available models from each LLM provider. It is designed for developers using Claude Desktop or other MCP clients who need to see which models are accessible with their API keys.
How to use llm-model-providers MCP Server?
Install dependencies with pnpm install, build the server with pnpm run build, then add the server configuration to the Claude Desktop config file (claude_desktop_config.json). Set the OPENAI_API_KEY and ANTHROPIC_API_KEY environment variables. For development with auto-rebuild, use pnpm run watch.
Key features of llm-model-providers MCP Server
- Lists available models from each LLM provider
- Supports OpenAI and Anthropic API keys
- Integrates with Claude Desktop via MCP config
- Built with TypeScript and pnpm
- Includes debugging via MCP Inspector
Use cases of llm-model-providers MCP Server
- Discover which models are available with your API credentials
- Compare model offerings across providers
- Use in Claude Desktop to select the right model for a task
FAQ from llm-model-providers MCP Server
What API keys are required?
The server requires OPENAI_API_KEY and ANTHROPIC_API_KEY environment variables to be set.
How do I set up the server with Claude Desktop?
Add the server configuration to the Claude Desktop config file located at ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%/Claude/claude_desktop_config.json (Windows).
How can I debug the server?
Use the MCP Inspector by running pnpm run inspector in the project directory. This provides a URL with debugging tools in your browser.
Where is the server built output?
The server is built to build/index.js after running pnpm run build.
What runtime does the server require?
The README does not specify a runtime, but it uses pnpm and builds a JavaScript file, implying Node.js is needed.