ai-workers-mcp
Click on "Install 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., "@ai-workers-mcptranslate 'Hello, how are you?' to French"
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.
ai-workers-mcp
MCP server that routes commodity NLP tasks (summarize, translate, rewrite, proofread, โฆ) to free-tier LLMs, saving Claude tokens for work that actually needs them. Multi-provider, multi-account, with round-robin and automatic fallback.
Tools
All exposed as ai_* MCP tools and as /<verb>-ai slash commands.
Tool | Input | What it does |
|
| Summarize a page or pasted prose |
|
| Translate to a target language |
|
| Generate text from a prompt |
|
| Rewrite in a given tone/style |
|
| Correct and list fixes |
|
| Turn prose into a bullet list |
|
| Build a hierarchical outline |
|
| Classify into one label |
|
| Extract fields as JSON |
|
| Answer a question about content |
|
| Compare two texts |
|
| Draft an email from notes |
Every response carries a banner showing which provider/model answered: ๐ท **gemini ยท gemini-2.5-flash** โโโโ.
Related MCP server: AI MCP Gateway
Slash commands
Each tool has three slash-command variants (36 total, in .claude/commands/):
/<verb>-aiโ result shown in chat (with banner)/<verb>-ai-replaceโ replaces the editor selection (banner stripped)/<verb>-ai-appendโ inserts the result after the selection (banner stripped)
Verbs: generate, summarize, translate, rewrite, proofread, list, outline, classify, extract, ask, compare, draft.
Input priority: argument โบ editor selection โบ clipboard โบ interactive prompt.
Setup
1. Configure providers & keys
Copy the example and add your key(s):
cp ai-workers.example.json ~/.config/ai-workers.json
chmod 600 ~/.config/ai-workers.json
# edit ~/.config/ai-workers.jsonGet a free Gemini key at aistudio.google.com. Use gemini-2.5-flash (the free tier; gemini-2.0-flash is paid-only). Add more keys to multiply your free quota, or add another provider block (Groq, Mistral, OpenRouter โ any OpenAI-compatible endpoint) to order for cross-provider fallback.
2. Install (cross-platform)
macOS / Linux / inside WSL:
./setup.shWindows (Claude Code on Windows, server in WSL):
.\setup.ps1The installer builds the server, deploys the 36 slash commands to your user scope, and registers the MCP server in your Claude Code config (node launch on Unix, wsl.exe launch on Windows).
3. Reload Claude Code
Run /mcp to confirm ai-workers is connected.
Portability
The core (src/**) is plain Node โ runs identically on macOS, Linux, WSL, and Windows. The only platform-specific glue is the per-machine MCP registration, handled by the two setup scripts. Secrets live solely in ~/.config/ai-workers.json (resolved via homedir()), never in the Claude config.
Privacy
A rules-based filter runs before any text leaves your machine. It blocks file paths, code patterns, and credential patterns (sends nothing, returns an error), and warns on emails/phone numbers (prepends a notice, still sends). Keep inputs plain prose.
Configuration reference
~/.config/ai-workers.json (read once at server start โ reload Claude Code after edits):
{
"order": ["gemini"],
"providers": {
"gemini": {
"baseURL": "https://generativelanguage.googleapis.com/v1beta/openai/",
"model": "gemini-2.5-flash",
"keys": ["KEY_1", "KEY_2"]
}
}
}Round-robin rotates across a provider's keys; 429 triggers escalating cooldown (60s โ 1h), 401/403 a long cooldown, then it falls through to the next provider in order. Falls back to the GEMINI_API_KEY env var if no config file exists.
Rebuilding after changes
npm run build # in WSL on WindowsThen reload Claude Code.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/basttran/ai-workers-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server