mcp-translate
Allows translation between Portuguese and English using a local LibreTranslate instance, reducing token usage by sending English to Claude and translating responses back to Portuguese.
Allows generating progress summaries of Claude's actions using a local Ollama model, providing user-visible progress without consuming Claude tokens.
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-translatetraduza 'Olá, mundo!' para o inglês"
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-translate
Dois componentes para sessões de Claude Code em português com menor custo de tokens.
Dependência única: Ollama com Gemma 3 2B. Um modelo local, zero custo, atende os dois componentes.
curl -fsSL https://ollama.com/install.sh | sh
ollama pull gemma3:2b1. MCP de Tradução PT/EN
Traduz as mensagens do usuário de português para inglês antes de chegar ao Claude, e as respostas de inglês para português antes de chegar ao usuário. O Claude Opus processa só inglês, que usa cerca de 9% menos tokens que português.
Setup
npm install
npm run buildO .claude/settings.json já registra o servidor. Variáveis de ambiente opcionais:
OLLAMA_URL=http://localhost:11434 # padrão
OLLAMA_MODEL=gemma3:2b # padrãoRelated MCP server: Polyglot
2. Hook de Resumo de Progresso
Um hook PostToolUse que observa cada ação do Claude (edição de arquivo, comando rodado, leitura) e usa o mesmo Ollama para gerar um resuminho em português visível ao usuário. O texto nunca entra no contexto do Claude, então custa zero tokens.
O hook já está em .claude/hooks/progress-summary.sh e registrado no .claude/settings.json. Requer jq:
apt install jqComo funciona
Claude edita arquivo
↓
Hook captura o evento (tool name + resultado)
↓
Gemma 3 2B gera resuminho em português
↓
Texto aparece no terminal para o usuário
↓
Claude nunca escreve esse texto → zero tokens gastosArquitetura
Usuário (PT)
↓ translate_pt_to_en (MCP → Ollama)
Claude Opus processa em inglês
↓ translate_en_to_pt (MCP → Ollama)
Usuário lê em português
A cada ação do Claude:
PostToolUse hook → Ollama → resuminho no terminalThis server cannot be deployed
Maintenance
Related MCP Connectors
Hosted MCP server connecting claude.ai, ChatGPT and other AI apps to your own computer
MCP server unifying ERPs, CRMs, APIs and knowledge base for Claude, ChatGPT and Gemini.
Augments MCP Server - A comprehensive framework documentation provider for Claude Code
Cloudflare Workers MCP server: ai-cost-optimizer
Related MCP Servers
- FlicenseNot gradedqualityFmaintenanceAn MCP server that enables Claude to generate and execute AWS CLI commands, allowing users to manage AWS resources through natural language conversations.2-
- AlicenseNot gradedqualityCmaintenanceAn MCP server that provides standardized translation services across six languages (Arabic, Chinese, English, French, Russian, Spanish) using Claude Sonnet 3.5, with support for different domains and formality levels.3MIT
- FlicenseAqualityDmaintenanceA Model Context Protocol (MCP) server that connects Claude to local Ollama models, enabling offloading of simpler tasks to save Claude tokens.716-
- AlicenseAqualityCmaintenanceAn MCP server that enables any AI agent to call Claude using your existing Max/Pro subscription via OAuth, avoiding additional API billing.11MIT