Skip to content
123wwwaPublic

About

An MCP server that cuts coding-agent token usage by retrieving only the relevant JS/TS code using the TypeScript compiler and Jev.

Topics

Resources

Stars

4 stars

Watchers

0 watching

Forks

Repository files navigation

JevTrace — compiler-guided context for TypeScript/JavaScript JevTrace vs jevgrep on 19 JS/TS tasks: 98.2% vs 70.6% of required code delivered, 5.9× lower Jev cost, 3.0× faster search, 53% fewer tokens handed to the agent

JevTrace

Retrieval benchmark on 19 JS/TS tasks with labels written by the JevTrace authors — see the method, per-task results and limitations.

▶ See how it works in 30 seconds

Give it a coding task; it returns the JS/TS code that task needs, within a token budget. It uses the TypeScript compiler to follow calls, types, callers and tests, and uses the Jev decision model (through OpenRouter, TypeSafe, Vercel AI Gateway, OpenCode Zen or your own endpoint) to judge relevance.

Quick start

npx -y jevtrace setup                                    # choose a provider and enter its API key, once
claude mcp add jevtrace --scope user -- npx -y jevtrace  # Claude Code: searches whichever project you open

Codex and Cursor take one config block each: see Claude Code, Codex and Cursor. To try it without an agent:

npx -y jevtrace query --root /path/to/your/project --task "Fix refresh token validation"

Ask about one behaviour or area of an existing TS/JS codebase ("where is X decided, what else touches it"). Project-wide requests such as "find bugs" or "review everything" get per-area subtasks to call it with instead of code. Supports .ts/.tsx/.js/.jsx/.mjs/.cjs and Vue components, ES modules and CommonJS, with or without a tsconfig/jsconfig, up to 20,000 source files; not Svelte/Astro — see supported projects.

Docs

Requires Node.js 20+. MIT license.

About

An MCP server that cuts coding-agent token usage by retrieving only the relevant JS/TS code using the TypeScript compiler and Jev.

Topics

Resources

Stars

4 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages