Skip to main content

Assistants

Two ways to use Westlake Drawer with your own model. Neither needs an account here, and neither sends your data anywhere: the site only supplies the resource list and the rules.

Copy a prompt​

Pick a direction and a goal, copy the prompt, and paste it into the assistant you already use. The prompt carries the resource list, an ordering task, and the limits: no explaining the material, no resources outside the list.
7 resources · paste it into the assistant you already use

Connect an agent over MCP​

The server now lives in its own repository and installs as a package: Westlake Knowledge MCP (westlake-drawer/mcp, npm westlake-drawer-mcp). It gives your agent the index and the curated paths, and answers where to look, not what the material says. No API key, no account, no telemetry; data is cached locally and a bundled snapshot keeps it working offline.
ToolReturns
search_resourcesNotes and tools matching a query: title, URL, subject, course, repository. English and Chinese queries both work
get_learning_pathA curated path: ordered steps with a one-line reason
get_resourceOne resource by site path or title
list_majorsMajors and subjects in the index, with counts
refresh_cacheRe-fetch the catalog data right now

Install​

Three routes, easiest first. Full walkthroughs (config file locations, Windows notes, troubleshooting): docs/installation.md · 中文.

Method 1 — Claude Desktop: double-click (no Node.js needed)

Download westlake-knowledge-mcp-0.2.1.mcpb from Releases, double-click it, click Install. The bundle carries its own runtime and a data snapshot.

Method 2 — one command auto-registers everything

npx -y westlake-drawer-mcp setup
Detects Claude Desktop, Claude Code, Codex and OpenCode, writes each config (backing up every file it touches), and prints a per-client report. --dry-run previews; --force overwrites. Needs Node.js 18.17+.

Method 3 — manual paste (any MCP client)

Pick your client:

Claude Code. One command, works in every project.

claude mcp add --scope user westlake-drawer -- npx -y westlake-drawer-mcp

npx downloads the package on first run - no clone, no install step. If your client is not listed, it almost certainly accepts the JSON form above. Windows: if your client cannot spawn npx, wrap the command with cmd /c.

Keep the data current​

Automatic. The server fetches the two public catalog files from this site's mirror, caches them locally (6 h TTL with ETag revalidation) and refreshes in the background; the refresh_cache tool forces a refresh. When the network is unreachable, a bundled snapshot keeps it working.

Credit​

MCP server and prompt design: JiamingShi-JsPhys.

Privacy​

It reads only the two public catalog files (search-index.json, paths.json), caches them in your user cache directory, and sends nothing anywhere else — no API key, no telemetry, no conversation logs. setup writes only the client config files it registers, each with a backup.