LAP
Your agents are guessing at APIs. Give them the actual Agent-Native spec. 1500+ API's Ready To-Use skills, Compile any API spec into a lean, agent-native format. 10× smaller. OpenAPI, GraphQL, AsyncAPI, Protobuf, Postman.
What is LAP?
LAP is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to your agents are guessing at apis. give them the actual agent-native spec. 1500+ api's ready to-use skills, compile any api spec into a lean, agent-native format. 10× smaller. openapi, graphql, asyncap...
Your agents are guessing at APIs. Give them the actual Agent-Native spec. 1500+ API's Ready To-Use skills, Compile any API spec into a lean, agent-native format. 10× smaller. OpenAPI, GraphQL, AsyncAPI, Protobuf, Postman.
This server falls under the APIs category on MCPgee, the world's largest MCP server directory with 33,000+ servers.
Features
- Your agents are guessing at APIs. Give them the actual Agent
Use Cases
Maintainer
Works with
Installation
Manual Installation
npx lapConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
How to Set Up and Use LAP
LAP (Lean API Platform) is a developer tool that compiles verbose API specifications — OpenAPI, GraphQL, AsyncAPI, Protobuf, Postman, and AWS Smithy — into compact, agent-native LAP format that is up to 10x smaller, eliminating hallucination caused by incomplete or misunderstood specs. With a registry of 1500+ pre-compiled API skills at lap.sh, agents can install and use real, typed API contracts rather than guessing at endpoints. The MCP integration lets AI coding assistants search, install, and use API skills directly from natural language within Claude, Cursor, or Codex.
Prerequisites
- Node.js 18 or 20 (for npx usage), or Python 3.11 or 3.12 (for pip usage)
- npm or pip package manager available on your PATH
- An MCP-compatible AI client: Claude Code, Cursor, or Codex
- API keys for any third-party APIs you intend to use (obtained from the respective provider)
Install the lapsh CLI
Install the LAP CLI globally via npm or pip. This gives you the 'lapsh' command used to search specs, download skills, and configure MCP clients.
# npm
npm install -g @lap-platform/lapsh
# pip
pip install lapshInitialize LAP for your AI client
Run the init command targeting your AI client. This writes the MCP server configuration automatically. Supported targets: claude-code (default), cursor, codex.
# For Claude Code
npx @lap-platform/lapsh init
# For Cursor
npx @lap-platform/lapsh init --target cursorSearch the LAP registry for an API
Search the registry of 1500+ pre-compiled API skills by keyword. The results show available specs you can install.
npx @lap-platform/lapsh search stripeInstall an API skill
Install a named API skill into your project. The skill is downloaded in the compact LAP format and made available to your AI agent.
npx @lap-platform/lapsh skill-install stripeCompile your own API spec
If you have a private API, compile its spec into the lean LAP format. LAP auto-detects the input format or you can specify it explicitly.
npx @lap-platform/lapsh compile api.yaml --lean
# Or specify format: --format openapi|graphql|asyncapi|protobuf|postman|smithyLAP Examples
Client configuration
MCP configuration generated by 'lapsh init' for Claude Code. The lapsh server exposes registry search and skill tools to your AI client.
{
"mcpServers": {
"lap": {
"command": "npx",
"args": ["-y", "@lap-platform/lapsh", "serve"]
}
}
}Prompts to try
With LAP connected, your AI agent can discover and use API specs through these prompts.
- "Search the LAP registry for a Stripe payments API skill and install it"
- "Use the installed Stripe skill to create a payment intent for $50"
- "Compile my local openapi.yaml into LAP format so the agent can use it without hallucinating endpoints"
- "List all the API skills currently installed in this project"
- "Convert the Stripe LAP spec back to OpenAPI format for documentation purposes"Troubleshooting LAP
'lapsh' command not found after npm install -g
Global npm packages may not be on your PATH. Run 'npm config get prefix' to find the global bin directory and add it to your PATH, or use 'npx @lap-platform/lapsh' instead of 'lapsh' directly.
Compiled LAP spec is missing endpoints or operations
LAP applies compression heuristics to reduce spec size. If critical endpoints are dropped, try compiling without '--lean' first to see the full output, then selectively include the paths you need using the LAP config options.
AI agent still hallucinates API parameters after installing a skill
Ensure the skill was installed into the correct project directory and that the MCP server is running. Ask the agent explicitly to 'use the LAP skill for X' to force it to reference the typed contract rather than its training data.
Frequently Asked Questions about LAP
What is LAP?
LAP is a Model Context Protocol (MCP) server that your agents are guessing at apis. give them the actual agent-native spec. 1500+ api's ready to-use skills, compile any api spec into a lean, agent-native format. 10× smaller. openapi, graphql, asyncapi, protobuf, postman. It connects AI assistants to external tools and data sources through a standardized interface.
How do I install LAP?
Follow the installation instructions on the LAP GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.
Which AI clients work with LAP?
LAP works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.
Is LAP free to use?
Yes, LAP is open source and available under the Apache-2.0 license. You can use it freely in both personal and commercial projects.
LAP Alternatives — Similar APIs Servers
Looking for alternatives to LAP? Here are other popular apis servers you can use with Claude, Cursor, and VS Code.
Kong
★ 43.4k🦍 The API and AI Gateway
API Mega List
★ 5.4kThis GitHub repo is a powerhouse collection of APIs you can start using immediately to build everything from simple automations to full-scale applications. One of the most valuable API lists on GitHub—period. 💪
Fetch
★ 5.4kFetch web content and convert to markdown for AI consumption
Fusio
★ 2.1kSelf-Hosted API Management for Builders
Korean Law
★ 1.8k국가법령정보MCP v4.0 | 법제처 41개 API → 17개 MCP 도구. 법령·판례·조례 검색 + LLM 환각 방지 인용검증 + 조문 영향 그래프(impact_map) + 시점 비교 자동 diff(time_travel) + 시민 5단계 실행 가이드(action_plan) | 41 Korean legal APIs → 17 MCP tools
RuleGo
★ 1.5k⛓️RuleGo is a lightweight, high-performance, embedded, next-generation component orchestration rule engine framework for Go.
Browse More APIs MCP Servers
Explore all apis servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.
Set Up LAP in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
Ready to use LAP?
Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.