llm-model-providers MCP Server logo

llm-model-providers MCP Server

by jhsu

This server retrieves available models from various LLM providers. It is designed to be used with applications like Claude Desktop to provide access to a range of language models.

View on GitHub

Last updated: N/A

What is llm-model-providers MCP Server?

This server acts as a Model Context Protocol (MCP) server, providing a standardized way to access and list available language models from different providers like OpenAI and Anthropic. It allows applications to dynamically discover and utilize various LLMs.

How to use llm-model-providers MCP Server?

To use this server, you need to install it and configure your application (e.g., Claude Desktop) to connect to it. This involves specifying the server's command path and setting environment variables for API keys. Refer to the 'Installation' section in the README for detailed instructions.

Key features of llm-model-providers MCP Server

  • Retrieves available models from multiple LLM providers

  • Supports OpenAI and Anthropic (extensible to others)

  • Integrates with Claude Desktop

  • Uses Model Context Protocol (MCP)

  • Provides a standardized interface for model discovery

Use cases of llm-model-providers MCP Server

  • Dynamically selecting LLMs based on availability and capabilities

  • Integrating multiple LLM providers into a single application

  • Providing a consistent interface for accessing different LLMs

  • Debugging and inspecting MCP communication using the MCP Inspector

  • Enabling Claude Desktop to utilize a wider range of LLMs

FAQ from llm-model-providers MCP Server

What is MCP?

Model Context Protocol is a standard for communicating between applications and model providers.

How do I add more LLM providers?

The server is designed to be extensible. You would need to modify the code to support additional providers.

What API keys are required?

Currently, the server requires OpenAI and Anthropic API keys, which should be set as environment variables.

How do I debug the server?

The README recommends using the MCP Inspector for debugging, which can be launched using pnpm run inspector.

Where do I find the claude_desktop_config.json file?

The location depends on your operating system. On MacOS, it's in ~/Library/Application Support/Claude/claude_desktop_config.json, and on Windows, it's in %APPDATA%/Claude/claude_desktop_config.json.