LOCAL-FIRST DOCUMENTATION

Docs for the version you installed.

Your agent shouldn’t guess which API exists. Lockdocs reads your lockfile and answers from the exact version installed in your project.

PyPI
npx -y @sylphx/lockdocs setupuvx lockdocs setuppip install lockdocs

VERSION INSPECTOR

SAMPLE PROJECT
Inspect the Next.js upgrade
package-lock.jsonnext@14.2.3
    "node_modules/next": {
      "version": "14.2.3"
    },

UPGRADE DIFF app/account/page.tsx:8

−const token = cookies().get("session")next@14.2.3 dist/client/components/headers.d.ts:13
+const token = (await cookies()).get("session")next@15.0.0 dist/server/request/cookies.d.ts:24
01 / BENCHMARKRead the methodology

With Lockdocs

96/105+19
Correct answers · after prefetch

Baseline (without Lockdocs)

77/105Correct answers · Context7 anonymous API

Lockdocs query time

58msMedian after prefetch
02 / HOW IT WORKS

From lockfile to cited answer.

One Rust binary. Three MCP tools. No account needed for the open-source core.

Resolve the pin

Identify the dependency from your project’s lockfile, not a search for the newest release.

Read its docs

Look up guides, signatures and symbols in versioned package files. Every answer points back to its source.

Keep it local

Query your local index from your CLI or coding agent. Fetch upstream docs when you want them.

LOCKDOCS PRO

See what breaks before you upgrade.

Get the full upgrade report for your call sites and exact-version docs for private packages.

Explore Pro

Frequently asked questions

Is Lockdocs free?

Yes. Exact-version docs and the local MCP server are free and don’t require an account. Lockdocs Pro adds Upgrade Reports and Private Package Docs.

Can I use Lockdocs offline?

Yes. Lockdocs can query packages and docs that are already installed or cached. If you want to fetch additional upstream docs, that step needs a network connection.