npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@i18n-bakery/tray

v1.0.9

Published

The Silver Tray. Delivers i18n-bakery capabilities directly to AI agents via the Model Context Protocol (MCP), making translation workflows effortlessly accessible.

Readme

@i18n-bakery/tray 🍽️

The Silver Tray — delivers the i18n-bakery kitchen directly to AI agents via the Model Context Protocol (MCP).

tray makes translation workflows accessible to any MCP-compatible AI agent (Claude, Cursor, Copilot, etc.), enabling fully automated i18n pipelines without human intervention.


What it does

Instead of a human running CLI commands, an AI agent can:

  1. Detect missing translations across all locales
  2. Extract new keys after UI changes
  3. Write translated strings directly to locale files
  4. Compile production bundles with hashing and minification

Tools

| Tool | Description | |---|---| | fry_batter | Scans source files for t() calls and writes keys to locale files | | bake_bundle | Compiles locale files into optimized production bundles | | check_pantry | Status report: completion %, missing keys per locale | | update_recipe | Writes/updates a single translation key in a locale file |

Typical AI Agent Workflow

1. check_pantry   → "es-MX is 60% complete, missing 12 keys"
2. fry_batter     → "Found 3 new keys after the latest component changes"
3. update_recipe  → write each translated key
4. bake_bundle    → compile for production

Installation

pnpm add @i18n-bakery/tray

Usage

As an MCP Server (stdio)

# Start the MCP server via stdio
npx i18n-bakery-tray

Claude Desktop Configuration

{
  "mcpServers": {
    "i18n-bakery": {
      "command": "npx",
      "args": ["i18n-bakery-tray"],
      "cwd": "/path/to/your/project"
    }
  }
}

Programmatic Usage

import { createTrayServer } from '@i18n-bakery/tray';
import { StdioServerTransport } from '@modelcontextprotocol/sdk/server/stdio.js';

const server = createTrayServer();
const transport = new StdioServerTransport();
await server.connect(transport);

Architecture

Follows Clean Architecture with SOLID principles:

src/
  domain/         Pure types — no runtime dependencies
  use-cases/      Orchestration: BatterUseCase, BakeUseCase, PantryUseCase, RecipeUseCase
  adapters/       Infrastructure: SilentLogger
  tools/          Atomic MCP tool registrations (one file per tool)
  shared/         DRY utilities: flatten/unflatten, deep key access, path validation
  index.ts        Server assembly — pure DI, no business logic

Security

  • All user-provided path segments are validated against directory traversal
  • Prototype pollution is prevented at every object merge
  • Encryption key is required when encryption is enabled (validated at tool level)