lunar.dev: Agent native MCP Gateway for governance and security
Details
Author
TheLunarCompany
GitHub stars
466
Downloads
491
Categories
Other, API
Jump to
- Live API traffic visibility with real-time metrics
- AI-aware policy enforcement and tool access control
- Advanced traffic shaping (rate limits, retries, priority queues)
- Cost and performance optimization for third-party APIs
- Centralized MCP server aggregation via a single gateway
Welcome to Lunar.dev consists of two major components: Lunar Proxy (the core API gateway and control layer) and Lunar MCPX (a zero-code aggregator for multiple MCP servers). Users can choose the component that fits their needs or combine both for a full-stack solution.
<div align="center">
<img src="readme-files/logo-light.png#gh-light-mode-only" width="50%" height="50%" />
<img src="readme-files/logo-dark.png#gh-dark-mode-only" width="50%" height="50%" />
<a href="https://opensource.org/licenses/MIT"></a>
<a href="https://docs.lunar.dev/"></a>
<a href="https://lunar.dev/"></a>
</div>
# 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.
<div align="center">
<img src="readme-files/lunar-flow-light.svg#gh-light-mode-only" >
<img src="readme-files/lunar-flow-dark.svg#gh-dark-mode-only" >
</div>
## 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**](https://github.com/TheLunarCompany/lunar/tree/main/proxy#readme) – our core API gateway and control layer
- [**Lunar MCPX**](https://github.com/TheLunarCompany/lunar/tree/main/mcpx#readme) – 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](https://lunar.dev) or reach out directly for more information
No reviews yet — be the first
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
Social sign-in isn’t configured yet. You can still create an account with email below, or ask an admin to add Google/GitHub/Discord OAuth credentials.
Sequential Thinking is an MCP server that provides a tool for dynamic and reflective problem-solving through a structured, step-by-step thinking process. It is…
Filesystem is a Node.js server that implements the Model Context Protocol (MCP) for filesystem operations. It enables AI assistants to read, write, and manage…
A one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!