LPM.dev Registry MCP server
The LPM.dev Registry MCP servers give coding agents current package, publisher, quality, access, and documentation data through the Model Context Protocol (MCP).
There are two servers:
- The hosted server at
https://lpm.dev/mcpreads LPM.dev Registry data and documentation. You do not install it. - The local server is
lpm mcp servein the LPM CLI. It runs on your machine. It has the hosted server's tools, which it reads through your LPM CLI login, and three tools that run the LPM CLI in your projects.
Hosted server
The hosted server uses Streamable HTTP. It serves MCP clients of protocol revision 2026-07-28, and of the earlier revisions 2024-10-07 through 2025-11-25. Its seven tools only read data.
Connect to the hosted server
To add the server to Claude Code, run this command:
claude mcp add --transport http lpm-registry https://lpm.dev/mcp
For Cursor, add this entry to ~/.cursor/mcp.json:
{
"mcpServers": {
"lpm-registry": {
"url": "https://lpm.dev/mcp"
}
}
}
For VS Code, add this entry to its mcp.json:
{
"servers": {
"lpm-registry": {
"type": "http",
"url": "https://lpm.dev/mcp"
}
}
}
Other clients that connect to a remote MCP server by URL use the same address.
Sign in
Without signing in, the hosted server reads Free packages and the documentation. For Pool and Marketplace packages, it reads the API, usage guide, quality report, and Agent Skills. Their overview, README, and source need an account that can read them. Private packages and lpm_account also need an account.
If a tool needs your account, your MCP client asks you to sign in to LPM.dev. MCP clients that support OAuth with client ID metadata documents, such as Claude and Claude Code, do this. The client opens lpm.dev in your browser. There, you complete an identity check and connect the app. Then the client calls the tool again.
A connected app reads what your account can read. It cannot publish, change your account, or buy licenses. Its tokens work only with the hosted MCP server. The connection ends after 90 days, or when you disconnect the app. If the app does not use the connection for 30 days, the connection also ends.
To see or disconnect your apps, go to Dashboard Settings > Security. The "Sign out from all devices" button on the same page also disconnects every app.
Tokens
An MCP client that cannot sign in can send a Registry token. Add an Authorization: Bearer <token> header to the server entry. In Claude Code, add the header with --header "Authorization: Bearer <token>". Do not put a token in a project configuration file that you commit. The server reads what the token can read.
Limits
Each tool call costs units from a budget. Most calls cost 1 unit. A search with a query and no filters costs 2 units. lpm_browse_source costs 5 units. lpm_package costs 1 unit for each part of the package that it reads. The overview and Marketplace sections share one read.
| Caller | Units per minute | Units per day |
|---|---|---|
| Without signing in, for each network | 30 | 500 |
| Signed in or with a token, for each account | 120 | 5,000 |
A network is one IPv4 address or one IPv6 /64 prefix. Requests have a limit too, including requests that only list the tools: 240 a minute for each network without signing in, and 240 a minute for each account. If a network runs out of units or requests without signing in, your MCP client asks you to sign in. The Registry API limits also apply to each call, for example the limit on source browsing.
Local server
Configure a client
You can configure the local server with LPM CLI or by hand.
Configure with LPM CLI
Enable MCP in your editor first, so that its configuration file exists. Then run this command:
lpm mcp setup
The command adds an lpm-registry entry to the configuration file of each supported editor:
- Claude Code, Cursor, and Windsurf on every platform
- VS Code on macOS and Linux
- Claude Desktop on macOS
It skips an editor whose configuration file does not exist. The entry runs lpm mcp serve from the absolute path of your LPM CLI. After the setup, restart the editor.
The LPM CLI MCP reference lists the configuration files for each platform and the other lpm mcp subcommands.
Configure by hand
For an MCP client that uses an mcpServers map, add this entry:
{
"mcpServers": {
"lpm-registry": {
"command": "/absolute/path/to/lpm",
"args": ["mcp", "serve"]
}
}
}
Use the absolute path of the lpm executable, which lpm mcp setup --json reports. A bare lpm is looked up through PATH, where a project could put an executable of its own. VS Code uses the same command and arguments under its servers map. After you change the configuration, restart the client or start a new agent session.
Authentication
The local server uses the login of the LPM CLI. Without a login, its tools read public packages and the documentation. To read private packages, account data, and Pool earnings, run lpm login. When a tool needs an account, its result asks you to sign in, and the agent can call the tool again after you run lpm login. You do not need to restart the editor.
The server also accepts a Registry token in LPM_TOKEN, in the editor environment or in the env of the entry. Do not commit a token in a project MCP configuration. Anyone who can read the repository can then use the token.
Create and manage Registry tokens in Dashboard Settings > Tokens.
Available tools
Hosted server tools
| Tool | Purpose |
|---|---|
lpm_search | Search packages by intent or structured filters |
lpm_package | Read the sections of a package that you ask for: overview and README, API, usage guide, quality report, and Marketplace access |
lpm_package_skills | Read author-published Agent Skills for a package version |
lpm_browse_source | Browse package source before installing it |
lpm_owner | List the public packages of one publisher, or search users and organizations |
lpm_docs | Search or read lpm.dev documentation |
lpm_account | Read the signed-in account, organizations, plan, limits, and current-period Pool estimate. The Pool estimate needs a connected app or the token of an lpm login session |
The hosted server cannot read your project. To use a package version from your package.json, give the version in the request. For a Marketplace package, the server returns the package page, where you can see the price and buy a license.
Local server tools
The local server has the hosted server's tools, and three tools that run the LPM CLI in a project on your machine:
| Tool | Purpose |
|---|---|
lpm_install | Install an LPM.dev package as a dependency, with lpm install |
lpm_add | Copy an LPM.dev package's source into the project to customize it, with lpm add |
lpm_audit | Check the project's installed dependencies, with lpm audit |
Each of these tools takes the absolute path of the project, because the agent's working directory is not always your project. lpm_add and lpm_install change files in the project. Before you approve one of these calls, make sure that the call and its project are correct.
Example requests
- "Find a small TypeScript validation package in the Pool."
- "Show the API and common patterns for
@lpm.dev/acme.form-kit." - "Does this Marketplace package require a purchase for my account?"
- "Install this package as a dependency."
- "Audit the dependencies of this project."
The local server is part of the LPM CLI. Its reference is at cli.lpm.dev.