Lunar.dev
TheLunarCompany/lunar
Gateway de APIs para IA com governança, segurança e otimização de custos
Ver no GitHubGateway MCP nativo para agentes com governança e segurança de APIs de terceiros. Fornece visibilidade em tempo real, aplicação de políticas, limitação de taxa e otimização de custos para consumo de APIs por aplicações e agentes de IA em escala.
Instalação
npx convez-ai TheLunarCompany/lunar1 comando no terminal: detecta o formato do repositório (marketplace ou plugin avulso) e instala via Claude Code. Requer Node 18+ e o Claude Code instalado.
Métricas
Casos de uso
- Monitoramento de tráfego de APIs e chamadas LLM em tempo real
- Governança centralizada de acesso a ferramentas por agentes de IA
- Agregação e consolidação de múltiplos servidores MCP
- Rate limiting, circuit breakers e controle de custos para APIs externas
- Análise de latência, erros e uso de tokens entre aplicações e serviços
Veredito

Solução sólida e open-source para quem precisa de governança e visibilidade em consumo de APIs por agentes de IA. O foco em MCP aggregation e policy enforcement a torna valiosa para ambientes enterprise com múltiplos agentes e integrações.
README
A tradução para o português deste README ainda está na fila.
Welcome to Lunar.dev
Lunar.dev is an open-source platform for managing, governing and optimizing third-party API consumption across applications and AI agent workloads at scale.
Consumption Management for the AI Era
As AI agents and autonomous workflows increasingly rely on external APIs, there's a growing need for a mediation layer that acts as a central aggregation point between applications, agents, and the services they depend on.
Lunar.dev provides that layer—serving as a unified API Gateway for AI, delivering:
- Live API Traffic Visibility: Get real-time metrics on latency, errors, cost, and token usage across all outbound traffic, including LLM and agent calls.
- AI-Aware Policy Enforcement: Control tool access, throttle agent actions, and govern agentic traffic with fine-grained rules.
- Advanced Traffic Shaping: Apply rate limits, retries, priority queues, and circuit breakers to manage load and ensure reliability.
- Cost & Performance Optimization: Identify waste, smooth traffic peaks, and reduce overuse of costly APIs through smart gateway policies.
- Centralized MCP Aggregation: Streamline operations by consolidating multiple MCP servers into a single gateway, enhancing security, observability, and management.
Choose Your Path
Lunar.dev is composed of two major components:
- Lunar Proxy – our core API gateway and control layer
- Lunar MCPX – a zero-code aggregator for multiple MCP servers with unified API access
Explore the one that fits your needs—or use both for a full-stack solution.
Open Source at the Core
This project was born out of the need for a more robust, production-ready approach to managing third-party APIs. It remains open-source at its core and free for non-production/personal use. For production environments, we offer advanced features through guided onboarding and platform tiers; visit our website or reach out directly for more information