AI Consultant MCP Server

AI Consultant MCP Server

ai-consultant-openrouter•byfilipkrayem

An MCP server that lets AI assistants consult multiple AI models through OpenRouter, with automatic model selection, conversation history, caching, and error handling.

License: MIT•Runtime: Awaiting documentation review•Category: ai agents-models

WHAT IT DOES

  • •Provides a consult_ai tool to ask questions to AI models, either auto-selecting a model or using a specified one.
  • •Provides a list_models tool to see available models and their capabilities.
  • •Automatically selects the best model for a task and maintains conversation context across multiple questions.
  • •Includes response caching, automatic retries, a circuit breaker, and token tracking per consultation.

BEST FOR

  • •Asking an AI assistant to consult a specific model such as Grok or Codex about a change or code review.
  • •Coding tasks, debugging, and refactoring via a code-focused model.
  • •General-purpose tasks and quick questions through a general-purpose model.

ABOUT AI-CONSULTANT-OPENROUTER

AI Consultant MCP Server is cataloged as an MCP server attributed to filipkrayem. An MCP server that lets AI assistants consult multiple AI models through OpenRouter, with automatic model selection, conversation history, caching, and error handling. It is categorized under ai agents-models. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: MIT. Check the source repository's current license and terms before using, modifying or distributing this software.

Capability inspector

Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.

Tools (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Resources (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Prompts (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for AI Consultant MCP Server are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

Which AI models can the server consult?

The README lists gemini-2.5-pro, gpt-5-codex, and grok-code-fast-1, and states access to GPT, Gemini, Grok, and more through one interface.

What is required to use the server?

It requires an OpenRouter API key.

Upstream README

View this exact version on GitHub

README.md · 75b51c8de0cb · Fetched 2026-11-13 08:22:36 UTC

Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.

Showing the last retrieved documentation snapshot; check the source for current changes.

AI Consultant MCP Server

A Model Context Protocol (MCP) server that enables AI agents to consult with multiple AI models through OpenRouter. Features intelligent model auto-selection, conversation history, caching, and robust error handling.

What is this?

This MCP server allows your AI assistant (like Claude Desktop) to consult with various AI models (GPT, Gemini, Grok, etc.) through a single interface. It automatically selects the best model for your task or lets you choose a specific one.

Quick Start

Installation from npm

npm install -g ai-consultant-mcp

Prerequisites

You'll need an OpenRouter API key. Get one at OpenRouter.

Configuration

Edit your MCP client configuration file:

For Claude Desktop:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "ai-consultant": {
      "command": "npx",
      "args": ["-y", "ai-consultant-mcp"],
      "env": {
        "OPENROUTER_API_KEY": "your-openrouter-api-key"
      }
    }
  }
}

For other MCP clients:

Configure according to your client's documentation, using npx -y ai-consultant-mcp as the command.

Option 2: Running locally (Development)

  1. Clone the repository:
git clone https://github.com/filipkrayem/ai-consultant-mcp.git
cd ai-consultant-mcp
  1. Install dependencies:
npm install
  1. Build the project:
npm run build
  1. Configure your MCP client:
{
  "mcpServers": {
    "ai-consultant": {
      "command": "node",
      "args": ["/absolute/path/to/ai-consultant-mcp/dist/index.js"],
      "env": {
        "OPENROUTER_API_KEY": "your-openrouter-api-key"
      }
    }
  }
}

Environment Variables

  • OPENROUTER_API_KEY (required): Your OpenRouter API key
  • VERBOSE_LOGGING (optional): Set to true or 1 to enable detailed logging. Default: false

Available Models

  • gemini-2.5-pro: Google's Gemini 2.5 Pro - general purpose tasks and quick questions
  • gpt-5-codex: OpenAI's GPT-5 Codex - coding tasks, debugging, and refactoring
  • grok-code-fast-1: xAI's Grok Code Fast 1 - code review, complex reasoning, and analysis

Features

  • 🤖 Multiple AI models - Access GPT, Gemini, Grok, and more through one interface
  • 🎯 Smart model selection - Automatically picks the best model for your task
  • 💬 Conversation history - Maintain context across multiple questions
  • ⚡ Response caching - Reduces API calls and costs
  • 🔄 Automatic retries - Handles transient failures gracefully
  • 🛡️ Circuit breaker - Prevents cascading failures
  • 📊 Token tracking - Monitor usage for each consultation

Usage

Once configured, your AI assistant can use these tools:

  • consult_ai - Ask questions to AI models (auto-selects or specify a model)
  • list_models - See all available models and their capabilities

Simply ask your AI assistant to consult with AI models. For example:

  • "Consult this change with Grok and Codex"
  • "Have Grok review your code first"

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

MIT

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for AI Consultant MCP Server from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/ai-consultant-openrouter)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

Downloads and pulls

Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.

No reviewed package or image identity; download statistics are not listed yet.

Related ai agents-models MCP Servers

Alternative and complementary servers in the same category

View all in ai agents-models →
Knowledge Graph Memory
@modelcontextprotocol/server-memory•Model Context Protocol

Store and retrieve entities, relations and observations in a persistent local knowledge graph.

create_entitiescreate_relationsadd_observations+6 more
92K
AI & Multi-Agent
Sequential Thinking
@modelcontextprotocol/server-sequential-thinking•Model Context Protocol

Organize problem solving into revisable, branching thought steps through an MCP tool.

sequential_thinking
92K
AI & Multi-Agent

Query-aware context compression with an MCP plugin for coding agents, plus Python and HTTP interfaces for reducing the context sent to a language model.

146
AI & Multi-Agent