LAP

v1.0.0APIsstable

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.

agent-experienceaiai-agentsapiapi-compression
Share:
321
Stars
0
Downloads
0
Weekly
0/5

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

Agent-native API spec format
1500+ ready-to-use API skills
OpenAPI and GraphQL compression
Lap-Platform

Maintainer

LicenseApache-2.0
Languagepython
Versionv1.0.0
UpdatedMay 22, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx lap

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

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)
1

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 lapsh
2

Initialize 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 cursor
3

Search 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 stripe
4

Install 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 stripe
5

Compile 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|smithy

LAP 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.

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.

Quick Config Preview

{ "mcpServers": { "lap": { "command": "npx", "args": ["-y", "lap"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

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.

33,000+ ServersFree & Open SourceStep-by-Step Guides