Skip to main content

MCP server for consulting large context window models to analyze extensive file collections

Project description

Consult7 MCP Server

Consult7 is a Model Context Protocol (MCP) server that enables AI agents to consult large context window models for analyzing extensive file collections - entire codebases, document repositories, or mixed content that exceed the current agent's context limits. Supports providers Openrouter, OpenAI, and Google.

Why Consult7?

When working with AI agents that have limited context windows (like Claude with 200K tokens), Consult7 allows them to leverage models with massive context windows to analyze large codebases or document collections that would otherwise be impossible to process in a single query.

"For Claude Code users, Consult7 is a game changer."

Example Use Cases

Summarize an entire codebase

  • Query: "Summarize the architecture and main components of this Python project"
  • Pattern: ".*\.py$" (all Python files)
  • Path: /Users/john/my-python-project

Find specific method definitions

  • Query: "Find the implementation of the authenticate_user method and explain how it handles password verification"
  • Pattern: ".*\.(py|js|ts)$" (Python, JavaScript, TypeScript files)
  • Path: /Users/john/backend

Analyze test coverage

  • Query: "List all the test files and identify which components lack test coverage"
  • Pattern: ".*test.*\.py$|.*_test\.py$" (test files)
  • Path: /Users/john/project

Installation

Add to your Claude Desktop configuration file:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json

For Claude Code, add to your settings (⌘+, on Mac) under "claude-code.mcpServers" instead.

No installation required - uvx automatically downloads and runs consult7 in an isolated environment.

{
  "mcpServers": {
    "consult7": {
      "command": "uvx",
      "args": [
        "consult7",
        "--api-key", "your-api-key",
        "--provider", "openrouter",
        "--model", "qwen/qwen-turbo",
        "--context", "1M"
      ]
    }
  }
}

Command Line Options

uvx consult7 --api-key KEY [--provider PROVIDER] [--model MODEL] [--context TOKENS] [--test]
  • --api-key: Required. Your API key for the chosen provider
  • --provider: Optional. Choose from openrouter (default), google, or openai
  • --model: Optional. Specific model to use (defaults to provider's default)
  • --context: Optional. Model context window size (default: 1M). Accepts formats like '2M', '128K', or '1000000'
  • --test: Optional. Test the API connection

Testing

# Test OpenRouter (default)
uvx consult7 --api-key "sk-or-v1-..." --test

# Test Google AI
uvx consult7 --api-key "AIza..." --provider google --test

# Test OpenAI
uvx consult7 --api-key "sk-proj-..." --provider openai --test

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

consult7-1.0.1.tar.gz (9.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

consult7-1.0.1-py3-none-any.whl (10.3 kB view details)

Uploaded Python 3

File details

Details for the file consult7-1.0.1.tar.gz.

File metadata

  • Download URL: consult7-1.0.1.tar.gz
  • Upload date:
  • Size: 9.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.2

File hashes

Hashes for consult7-1.0.1.tar.gz
Algorithm Hash digest
SHA256 1831b026610510b2fa730b11f80d9b0c839c86223e170b7ca48a7bbb66b894e5
MD5 64cbfe7eb82ca8aae2c5d53b72c954f1
BLAKE2b-256 97e5e6cf9329f3a22ec2594263a39174b08d8ffc61e54d45b0d3f97c8f627d64

See more details on using hashes here.

File details

Details for the file consult7-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: consult7-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 10.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.2

File hashes

Hashes for consult7-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1ced363acf3f572f4fc6d5402e4cda7a03882b92d9ac44f127a0aa02eb27cb38
MD5 577a2882b72cf7c64821f230a5f9b0c1
BLAKE2b-256 b794b020ac635d4b27fe594ce1cec6b2b08127ef7f4ef8917033e8765fcc3473

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page