talira

High-performance, stateless, declarative API Gateway written in Go

open coreApache-2.0self-hostablefree

KrakenD is a stateless API gateway written in Go, built on the Lura framework (a Linux Foundation project): each node reads a declarative configuration file and needs no database or coordination with other nodes, so it scales out by adding instances. Beyond routing and security (JWT, OAuth, CORS, rate limiting, circuit breakers) it aggregates and transforms responses from several backends into one endpoint, which suits backends for frontends, and it can be extended with Lua scripts or CEL. The Community Edition is Apache-2.0; KrakenD Enterprise adds Go plugins, gRPC, WebSockets, SOAP, OpenAPI import and export, API keys, a security policies engine, FIPS 140-2 builds, an AI gateway for LLMs, an MCP server and 24/7 support, licensed per running instance with no traffic-based pricing. Both editions are self-hosted.

Ways to install

Package managers

Problems it solves

  • combine responses from several microservices into one API call for our mobile app
  • an API gateway with no database to run: just a config file we keep in git
  • a backend for frontend layer that filters and reshapes backend responses per client
  • scale our API gateway horizontally without nodes coordinating through a shared store
  • validate the gateway configuration in CI and audit it for security issues before deploying
  • an API gateway whose enterprise licence isn't priced by API calls or number of APIs
  • convert XML backend responses to JSON at the gateway
  • put rate limits and JWT validation in front of our microservices with a small memory footprint
  • route, budget and guard LLM calls from the same gateway that serves our APIs
  • expose our existing API endpoints as MCP tools for AI agents without writing an MCP server
  • an on-prem API gateway with FIPS 140-2 cryptography for a regulated environment
  • generate a gateway configuration visually instead of writing JSON by hand

Features

  • stateless nodes with declarative configuration and no database
  • response aggregation, composition and filtering across backends
  • XML to JSON conversion and response manipulation
  • JWT validation, OAuth 2.0 client credentials, CORS and security headers
  • rate limiting at the router and proxy layers, circuit breaker and load balancing
  • Lua scripting and CEL conditions
  • configuration in JSON, YAML, TOML or HCL, with templates (flexible configuration)
  • configuration syntax check, linting and security audit commands
  • KrakenD Designer, a visual configuration generator
  • telemetry to Datadog, Zipkin, Jaeger, Prometheus, Grafana and OpenTelemetry
View 8 more
  • MCP Gateway for third-party MCP servers (both editions)
  • Enterprise: Go plugins with a plugin builder and checker
  • Enterprise: gRPC server and client, WebSockets, SOAP, Kafka and NATS backends
  • Enterprise: OpenAPI importer and exporter, API keys, Redis-backed stateful rate limits, IP and GeoIP filtering
  • Enterprise: security policies engine (ABAC and RBAC), FIPS 140-2 cryptography, multiple identity providers per endpoint
  • Enterprise: AI gateway with LLM routing, streaming, semantic cache, prompt guard and token budgets
  • Enterprise: built-in MCP server that exposes endpoints as MCP tools
  • packages for Debian, Ubuntu, Red Hat and Fedora, Homebrew, Docker images, AWS and Azure VM images

Ways to run it

KrakenD Community Edition

You run it, Apache-2.0

free234

Not included

  • custom Go plugins, which Community dropped in 3.0
  • gRPC, WebSockets, SOAP and OpenAPI import and export
  • API keys, security policies, stateful Redis rate limits, FIPS 140-2 builds
  • the AI gateway and the built-in MCP server
  • commercial support with SLAs

You arrange

  • your own servers, containers or Kubernetes cluster
  • community support

Self-hosting docs

KrakenD Enterprise

You run it, under a commercial licence

no public prices: licensed per running instance through sales256

Only in this edition

  • Go plugins, gRPC, WebSockets, SOAP and OpenAPI tooling
  • security policies engine, API keys, FIPS 140-2 cryptography
  • AI gateway and MCP server
  • 24/7 support with SLAs and a dedicated success engineer

You arrange

  • a KrakenD licence file
  • your own infrastructure

Self-hosting docs

Capabilities

Has a command line toolplan not known
Takes pluginsplan not known

Alternatives

The same job

These do what KrakenD does.

  1. Kong Gateway The API and AI Gateway
  2. Amazon API Gateway Create, maintain, and secure APIs at any scale
  3. Google Cloud API Gateway Provide secure access to your backend services through a well-defined REST API that is consistent across all of your services
  4. Tyk Open Source API and AI Gateway supporting REST, GraphQL, TCP, gRPC and MCP (Model Context Protocol)
  5. Apache APISIX The Cloud-Native API Gateway and AI Gateway
  6. Apigee Manage APIs with unmatched scale, security, and performance

Compare KrakenD with the top 3