# nexus

> Self-hosted AI router unifying MCP servers and LLM providers (OpenAI, Anthropic, Google, Bedrock) with OAuth2, rate limiting, and OpenTelemetry.

- **Category:** AI
- **Licence:** MPL-2.0
- **Latest version:** 0.6.0
- **Open source:** oss
- **Languages:** Rust
- **Platforms:** Docker, Docker Compose, Linux
- **Tags:** API, Proxy, Mcp, Gateway, LLMOps, LLM, Anthropic, Google, Openai, Router, Telemetry, Rate Limiting, AI, Bedrock, Model Context Protocol, Tool calling, Large language models, Llms, Oauth2, Open Telemetry

## Description

Nexus is a self-hosted AI router that serves as a single gateway for Model Context Protocol servers and large language model providers. It combines tools from local STDIO processes, SSE endpoints, and HTTP-based MCP servers into one endpoint so AI assistants can discover and run tools across all connected servers. For language models, it exposes an OpenAI-compatible API that forwards requests to OpenAI, Anthropic, Google Gemini, and AWS Bedrock with full function-calling support. The software includes OAuth2/JWT authentication, multi-level request and token-based rate limiting with optional Redis storage, fine-grained access control for MCP servers and tools, header rewriting for upstream requests, and OpenTelemetry metrics, traces, and logs. It runs as a single binary or Docker container and is configured through a TOML file with environment-variable substitution.

## Links

- [Homepage](https://github.com/grafbase/nexus)
- [Website](https://nexusrouter.com)
- [Docker](ghcr.io/grafbase/nexus)
- [GitHub Repository](https://github.com/grafbase/nexus)
- [Documentation](https://nexusrouter.com/docs)
- [Discord Community](https://discord.gg/grafbase)
- [Blog](https://nexusrouter.com/blog)
- [Contact](https://nexusrouter.com/contact)

---
Source: https://selfhost.directory/project/nexus