MCP Web LLM Aggregator
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@MCP Web LLM Aggregator Ask all models to compare Vue and React and return consolidated JSON."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
MCP Web LLM Aggregator
English | 中文
A Zero-Cost, Non-API MCP Server that aggregates web versions of ChatGPT, Claude, Gemini, DeepSeek, Grok, and Qwen.
Query multiple top-tier models in parallel directly from your AI IDE (Trae, Cursor, etc.) using your local browser sessions. No API keys or tokens required.
Features
Multi-Model Aggregation: The
ask_alltool queries all supported models simultaneously and returns a consolidated JSON response.File/Image Upload: Supports local file paths and inline base64 images, then uploads them to supported model web UIs through Playwright.
Supported Models:
ChatGPT (chatgpt.com)
Claude (claude.ai)
Gemini (gemini.google.com)
DeepSeek (chat.deepseek.com)
Grok (grok.com)
Qwen (chat.qwen.ai)
No API Tokens: Leverages the free web interfaces of these models.
Browser Automation: Uses Playwright and CDP to connect to your existing Chrome instance, reusing your login state.
Cost Saving: Perfect for developers who want high-quality model outputs without the API costs.
No Long-Term Memory Feature: The previous experimental memory/session feature has been rolled back. The project currently only keeps a simple local chat history.
Related MCP server: agent-chrome
Demo
Tools
ask_chatgpt(query: str, file_paths?: list[str], images_base64?: list[str]) -> strask_claude(query: str, file_paths?: list[str], images_base64?: list[str]) -> strask_gemini(query: str, file_paths?: list[str], images_base64?: list[str]) -> strask_deepseek(query: str, file_paths?: list[str], images_base64?: list[str]) -> strask_grok(query: str, file_paths?: list[str], images_base64?: list[str]) -> strask_qwen(query: str, file_paths?: list[str], images_base64?: list[str]) -> strask_all(query: str, file_paths?: list[str], images_base64?: list[str]) -> strreturns a JSON string with keys:chatgpt/claude/gemini/deepseek/grok/qwen
File Input Notes
file_paths: absolute local file paths, suitable for files already saved on disk.images_base64: inline image payloads from IDE attachments or clipboard screenshots; the server writes them to a temporary local file before upload.If your IDE cannot pass structured file arguments, you can also place an absolute local path directly inside
query, and the server will try to auto-extract it.
Usage
0. Install (Recommended)
Install as a CLI so you don't need to clone the repo:
uv tool install git+https://github.com/HGD-coder/mcp-web-llm.gitWindows Users Note: If you encounter permission errors during installation (e.g.,
os error -2147024891), please use the--link-mode=copyflag:uv tool install git+https://github.com/HGD-coder/mcp-web-llm.git --link-mode=copy
1. Prerequisites
This project uses uv for dependency management. Run in the project root:
uv sync2. Prepare Chrome Browser
You need a dedicated Chrome window for AI conversations. We use "Connect over CDP" mode to avoid bans and CAPTCHAs.
Windows: Run in PowerShell (change path if needed):
& "C:\Program Files\Google\Chrome\Application\chrome.exe" --remote-debugging-port=9222 --user-data-dir="C:\chrome_debug_profile" --disable-blink-features=AutomationControlledmacOS:
/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --remote-debugging-port=9222 --user-data-dir="$HOME/chrome_debug_profile" --disable-blink-features=AutomationControlledAfter running:
A new Chrome window will pop up.
Open and log in to these sites in tabs:
ChatGPT: https://chatgpt.com
Claude: https://claude.ai
Gemini: https://gemini.google.com
DeepSeek: https://chat.deepseek.com
Grok: https://grok.com
Qwen: https://chat.qwen.ai
Do not close this window! Keep it running in the background.
3. Configure IDE (Trae/Cursor)
Add to your mcp-servers.json:
{
"mcpServers": {
"web-llm-agent": {
"command": "mcp-web-llm",
"args": [],
"env": {
"PYTHONIOENCODING": "utf-8"
}
}
}
}If you run from source instead:
{
"mcpServers": {
"web-llm-agent": {
"command": "uv",
"args": ["run", "server.py"],
"cwd": "/path/to/mcp-web-llm",
"env": { "PYTHONIOENCODING": "utf-8" }
}
}
}4. Start Using
In your IDE chat, use natural language:
"Use
ask_allto compare Vue vs React.""Ask Claude to write a Python script."
Architecture
graph TD
A[AI IDE <br> Trae / Cursor] -->|MCP Protocol| B(mcp-web-llm Server)
B -->|CDP / Playwright| C[Local Chrome Browser <br> Port 9222]
C -->|Web Automation| D1(ChatGPT)
C -->|Web Automation| D2(Claude)
C -->|Web Automation| D3(Gemini)
C -->|Web Automation| D4(DeepSeek)
C -->|Web Automation| D5(Grok)
C -->|Web Automation| D6(Qwen)Contributing
Contributions are welcome! If you'd like to add support for a new model or improve the existing automation scripts:
Fork the repository.
Create a new branch for your feature or bug fix.
Submit a pull request with a detailed description of your changes. Please make sure to test your changes locally using
uv run server.py.
Troubleshooting
CDP (9222) not running: run
mcp-web-llm doctorto see status; on Windows the server can auto-launch a dedicated Chrome window.Timeouts/no output: usually login required, CAPTCHA/rate limit, or site UI changes; try keeping the dedicated Chrome window open and logged in.
Security & Privacy
Uses your local Chrome session via CDP; it can access pages you have logged into in that dedicated Chrome profile.
This project does not require API keys or tokens, but website terms and anti-bot systems may apply; use at your own risk.
License
MIT. See LICENSE.
Available Tools
7 toolsask_allA
Ask the same question to ALL supported models (ChatGPT, Claude, Gemini, DeepSeek, Grok, Qwen) in parallel. Returns a JSON string containing answers from all models.
Inputs: query (required), file_paths, images_base64. Returns: result
ask_chatgptC
Ask a question to ChatGPT web interface.
Inputs: query (required), file_paths, images_base64. Returns: result
ask_claudeC
Ask a question to Claude web interface.
Inputs: query (required), file_paths, images_base64. Returns: result
ask_deepseekC
Ask a question to DeepSeek web interface.
Inputs: query (required), file_paths, images_base64. Returns: result
ask_geminiC
Ask a question to Gemini web interface.
Inputs: query (required), file_paths, images_base64. Returns: result
ask_grokC
Ask a question to Grok web interface.
Inputs: query (required), file_paths, images_base64. Returns: result
ask_qwenC
Ask a question to Qwen web interface.
Inputs: query (required), file_paths, images_base64. Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 7 tools
Each ask_<model> tool targets a distinct provider, so per-model selection is unambiguous; ask_all is the only overlap, but its description clearly marks it as a parallel aggregate of the others. An agent could occasionally pick ask_all when a single answer was wanted, but the boundary is stated.
Every tool follows the exact same ask_<target> pattern, with ask_all fitting the same schema as a target. No mixed conventions or stray verbs.
Seven tools is well-scoped: six provider-specific queries plus one parallel aggregator, each earning its place. Nothing redundant beyond the intentional ask_all convenience.
The core capability (query one or all supported models) is fully covered, and the provider list is enumerated in ask_all's description. Minor gaps exist: no way to list/detect available models dynamically, no conversation continuity or follow-up, and no per-call options (timeout, model variant).
Maintenance
Related MCP Connectors
Give AI agents a real cloud Chrome: open sessions, navigate, read pages, click, type and screenshot.
Cloud browser, web extraction, screenshots, and remote CDP tools for AI agents.
Shared memory and context across ChatGPT, Claude, Claude Code, Codex, Cursor and 20+ AI tools
Use your Mac, Windows or Linux computer from ChatGPT, Claude or Codex: files, commands, documents.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceEnables token-efficient browser automation for AI chats like ChatGPT, Gemini, and Claude, allowing reading responses, sending messages, waiting for streaming replies, and bridging conversations between tabs via Chrome DevTools Protocol.5MIT
- AlicenseNot gradedqualityCmaintenanceLets local AI agents drive the Chrome browser a user already has open, including signed-in sessions, by listing tabs, reading page text and actionable elements, then clicking, filling, selecting, scrolling, navigating, and capturing viewport screenshots without exporting cookies. Runs as a dependency-free local stdio process over Native Messaging, with per-tab leases, automatic reconnection, and pause/write-action controls.MIT
- AlicenseNot gradedqualityCmaintenanceEnables MCP-compatible AI agents and IDEs to send prompts to an active ChatGPT web session and retrieve the completed response without needing an API key.1MIT
- AlicenseNot gradedqualityCmaintenanceEnables Claude Code to send prompts to signed-in ChatGPT and Gemini browser tabs and retrieve streamed replies as MCP tools without API keys. It also supports listing tabs, reading the latest response, scraping conversations, and checking connection health.MIT