GitHub Models Helper MCP Server
LocalAbout GitHub Models Helper MCP Server
GitHub Models Helper MCP Server lets clients inspect and compare language models available through GitHub Models and AzureML. It returns model metadata and comparative responses that applications can present as tables or charts.
Key features
- 01List models with metadata
- 02Compare model responses to one prompt
- 03Filter and sort models
- 04Error handling and fallbacks
- 05Return comparison data for visualization
Use cases
- 01Reviewing available model metadata
- 02Comparing responses to a shared prompt
- 03Preparing model comparison tables or charts
MCP support
The MCP server exposes model listing, filtering, sorting, and response comparison capabilities to MCP clients. Comparison results are returned as JSON for presentation in an application.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
Tools
Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.
Details
From the project READMEGitHub Models Helper MCP Server
This MCP server helps you interact with and compare different language models available via GitHub Models and AzureML, including OpenAI, Microsoft, Meta, Mistral, and more.
Features
- List available language models with metadata
- Compare responses from different models for the same prompt
- Filter and sort models by various criteria
- Comprehensive error handling and fallbacks
- Visualize model comparisons (see below)
Getting Started
- Install dependencies:
npm install - Set up environment variables:
Copy
.env.templateto.envand add your GitHub token:GITHUB_TOKEN=your_github_personal_access_token - Build the project:
npm run build - Run the MCP server in development mode:
npx @modelcontextprotocol/inspector dist/index.js - Add the MCP server to Claude Desktop:
In
claude_desktop_config.json:{ "mcpServers": { "GitHub Models Helper": { "command": "node", "args": [ "/absolute/path/to/gh-models-helper/dist/index.js" ], "env": { "GITHUB_TOKEN": "your_github_personal_access_token" } } } }
Available Phi-3 Models
| Model ID | Display Name | Context Window | Summary |
|---|---|---|---|
| Phi-3-medium-128k-instruct | Phi-3-medium instruct (128k) | 131,072 | Same Phi-3-medium model, but with a larger context size |
| Phi-3-medium-4k-instruct | Phi-3-medium instruct (4k) | 4,096 | 14B parameters, better quality than Phi-3-mini |
Note: There is currently no model named "Phi-4" or "Phi-3-mini-4k-instruct" in the available list. Use the above IDs for comparisons.
Visualizing Model Comparisons
You can compare how different models respond to the same prompt and visualize the results. For example, to compare three models:
Phi-3-medium-128k-instructgpt-4o-miniMistral-small
Example prompt:
Explain the difference between AI and machine learning.
Sample output visualization:
| Model | Response |
|---|---|
| Phi-3-medium-128k-instruct | ... |
| gpt-4o-mini | ... |
| Mistral-small | ... |
You can use your own prompt and models. The server will return a JSON object with the responses, which you can render as a table or chart in your application.
Example Prompts
- "list all available phi-3 models"
- "compare Phi-3-medium-4k-instruct and Mistral-small on this prompt: how many ns in bananasss??"
- "Do a comparison between the Phi-3-medium-128k-instruct, gpt-4o-mini, and Mistral-small models"
For more details, see the code and documentation in project.md.
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.