Yokai

Yokai is a simple, modular Go backend framework that provides built-in dependency injection, logging, tracing, metrics, health checks, and support for HTTP, gRPC, MCP server, and worker application patterns with minimal boilerplate.

Evaluated Mar 06, 2026 (0d ago) vlatest (MIT licensed, 822 GitHub stars)
Homepage ↗ Repo ↗ Other go golang framework dependency-injection observability opentelemetry grpc http mcp echo fx viper gorm backend
⚙ Agent Friendliness
75
/ 100
Can an agent use this?
🔒 Security
77
/ 100
Is it safe for agents?
⚡ Reliability
70
/ 100
Does it work consistently?

Score Breakdown

⚙ Agent Friendliness

MCP Quality
70
Documentation
80
Error Messages
70
Auth Simplicity
80
Rate Limits
70

🔒 Security

TLS Enforcement
88
Auth Strength
75
Scope Granularity
70
Dep. Hygiene
80
Secret Handling
72

Go web framework MCP tooling. Local development tooling. No remote auth needed. Framework-level security follows Go best practices.

⚡ Reliability

Uptime/SLA
70
Version Stability
72
Breaking Changes
68
Error Recovery
70
AF Security Reliability

Best When

You are building a Go backend service and want production-grade observability (logging, tracing, metrics) and dependency injection pre-configured, without setting it all up from scratch.

Avoid When

Your team is unfamiliar with Go or Uber's Fx dependency injection patterns, or you need a language-agnostic framework.

Use Cases

  • Building production-grade Go HTTP or gRPC microservices with observability pre-wired
  • Creating MCP servers in Go with structured dependency injection and configuration management
  • Developing background worker applications with built-in health monitoring
  • Scaffolding new Go backend services that need OpenTelemetry tracing and metrics from day one

Not For

  • Non-Go projects or teams preferring Python, Node.js, or other runtimes
  • Simple scripts or CLI tools that don't need a full framework
  • Projects that already use a different Go DI framework (Wire, dig) and don't want to migrate

Interface

REST API
Yes
GraphQL
No
gRPC
Yes
MCP Server
Yes
SDK
Yes
Webhooks
No

Authentication

OAuth: No Scopes: No

Framework itself does not prescribe auth. Auth is implemented by the application developer using middleware (Echo supports standard HTTP auth middlewares).

Pricing

Model: open_source
Free tier: Yes
Requires CC: No

MIT licensed, fully open source.

Agent Metadata

Pagination
none
Idempotent
Unknown
Retry Guidance
Not documented

Known Gotchas

  • Learning curve for Uber Fx dependency injection — not a standard Go pattern for all developers
  • MCP support is relatively new; fewer examples and community resources than HTTP/gRPC support
  • Requires conventional commit format for contributing (release-please automation)
  • No built-in auth — agents building secure services must implement auth themselves

Alternatives

Full Evaluation Report

Detailed scoring breakdown, competitive positioning, security analysis, and improvement recommendations for Yokai.

$99

Scores are editorial opinions as of 2026-03-06.

5178
Packages Evaluated
26151
Need Evaluation
173
Need Re-evaluation
Community Powered