MCP server
Lockspec
MCP server giving AI coding agents version-pinned API context from your OpenAPI specs.
Runs locallyStatus and history
- Pricing
- Open source
- Runs
- Locally
- Version
- 1.0.1
- Listing updated
- 5 days ago
About Lockspec
Lockspec is an open-source MCP server. It runs locally on your machine and is started by your AI client.
Install
Run in a terminal
claude mcp add lockspec -- npx -y lockspecAdd to claude_desktop_config.json
{
"mcpServers": {
"lockspec": {
"command": "npx",
"args": [
"-y",
"lockspec"
]
}
}
}Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"lockspec": {
"command": "npx",
"args": [
"-y",
"lockspec"
]
}
}
}Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:
Add to .vscode/mcp.json
{
"servers": {
"lockspec": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"lockspec"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"lockspec": {
"command": "npx",
"args": [
"-y",
"lockspec"
]
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"lockspec": {
"command": "npx",
"args": [
"-y",
"lockspec"
]
}
}
}Using several servers? Build one config file with the MCP config generator.
Pricing
Open source
Lockspec FAQ
Is Lockspec free?
Yes. Lockspec is open source, so you can use and self-host it for free.
How do I add Lockspec to Claude Code?
Run this command in your terminal: claude mcp add lockspec -- npx -y lockspec
Where this comes from
- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.