Compare

Zephex vs Context7 — docs in the prompt vs your real repo

Context7 puts fresh library docs in the prompt—great for “how does this Next.js API work?” or “what changed in Stripe’s JS SDK docs?”

Zephex reads your project: your files, your installed packages, your folder layout—with tools like read_code, find_code, and check_package.

Most teams use both. This page shows how to split the work.

Context7Zephex
Primary valueFresh third-party library docs in promptTen tools on your actual codebase
Your private repoNot the focusget_project_context, read_code, find_code
Package securityNot corecheck_package, project_memory
Framework hallucinationsReduced for external APIsReduced for internal modules & layout
EditorsMCP-compatible clients19+ documented editor guides
Prompt pattern“use context7” in promptTools invoked automatically via MCP
Installed versionsDocs for published releasesYour lockfile + local tree
Best togetherYes — complementaryYes — complementary

How it works

Context7 pulls fresh third-party documentation into the prompt when you ask. Zephex is a Context7 alternative only for the job “understand my repo”—tool calls hit https://zephex.dev/mcp and return your tree, symbols, and package intelligence.

Developer
    │
    ▼
Cursor / Claude Code / VS Code  (MCP client)
    │
    ▼
npx zephex  (stdio bridge)  OR  HTTPS + Bearer
    │
    ▼
https://zephex.dev/mcp  (hosted MCP server)
    │
    ▼
10 tools: get_project_context, find_code, read_code,
           check_package, project_memory, explain_architecture, …

When Context7 wins

  • You need the latest Stripe, Supabase, or Next.js API docs in the prompt.
  • The task is library-only — no internal services or custom wrappers.
  • You already type “use context7” and it works — keep that habit for external APIs.

When Zephex wins

  • Find every caller of an internal AuthGuard or BillingService.
  • Map how auth flows through your Next.js middleware chain.
  • Verify an npm package name before install — typosquat and CVE signals.
  • Onboard a new teammate to a private monorepo in one agent session.

When to use both

Treat Context7 as your library librarian and Zephex as your repo engineer. External API questions go to Context7. Files, symbols, and supply-chain checks go to Zephex. In one upgrade session, chain both: Context7 for official breaking changes, Zephex for scoped files and lockfile reality.

TaskUse Context7Use Zephex
New Next.js middleware APIYesOptional
Find who calls AuthGuard in our appNoYes — find_code
Upgrade react from 18 → 19 in our monorepoPartialYes — project_memory + check_test
Is this npm package name typosquatted?NoYes — check_package
Supabase RLS policy syntax (official docs)YesOptional — read our wrapper
Diagram our microservice boundariesNoYes — explain_architecture

Real prompt examples

Context7 — library docs

Use context7 for the latest Next.js 15 middleware API.
Show the correct signature for auth() in route handlers.

Zephex — your codebase

Zephex get_project_context on repo root.
find_code for "middleware" and read_code only the auth-related exports.
check_package on "next" with task=upgrade before we bump.

Both — Stripe SDK upgrade

1. Context7: official @stripe/stripe-js migration notes for v4 → v5.
2. Zephex: find_code for "loadStripe" and check_test for files to edit.
3. Zephex: check_package on @stripe/stripe-js before npm install.

Step-by-step: try Zephex in 5 minutes

  1. Keep Context7 if you use it for library docs—no need to uninstall.
  2. Add Zephex via /install or your editor MCP config (add MCP to Cursor: .cursor/mcp.json).
  3. Restart the editor; confirm 10 tools.
  4. Ask for get_project_context on the repo root.
  5. For upgrades, chain project_memory then check_test.

Workflow: dependency upgrade with both tools

  1. Context7 — pull official migration notes for the library.
  2. Zephex project_memory — confirm current pinned version and breaking signals.
  3. Zephex check_test — list files in your monorepo that will change.
  4. Zephex read_code — read only the symbols you will edit.

Full walkthrough: audit dependency upgrades · Stripe SDK audit

Connect Zephex in two minutes

Follow Quickstart or your editor guide, then ask the agent to run get_project_context on the repo root. Keep Context7 in prompts where you today type “use context7” for library-only questions.

Common questions

Should I uninstall Context7 if I use Zephex?

Usually no. Keep Context7 (or similar) for third-party API docs. Use Zephex when the task depends on your file tree, installed versions, or monorepo boundaries.

Which one fixes wrong Stripe API usage?

Context7 helps with official Stripe library docs. Zephex helps with how Stripe is already wired in your repo and whether the package name on npm is legitimate before install.

Which is better for onboarding to a new repo?

Zephex — start with get_project_context and explain_architecture on the checked-out tree. Context7 does not map your internal services.

Can Context7 audit npm typosquats?

Context7 focuses on documentation retrieval, not live registry threat signals. Use Zephex check_package before npm install. See catch malicious npm packages.

Do I need both for a Next.js upgrade?

Often yes. Context7 for the official Next.js migration guide. Zephex for which files in your app import deprecated APIs and whether your pinned React version matches the bump.

Which saves more tokens on internal refactors?

Zephex — find_code and read_code return symbols instead of whole files. Context7 does not know your internal module graph. See token efficiency.
Get started freeQuickstart