LAP: 1,500+ API Specs Compiled for LLM Consumption to Reduce Claude Hallucinations

What LAP Does
LAP addresses the problem where AI coding agents like Claude hallucinate API endpoints when given vague instructions like "use the Stripe API to create a charge." Instead of guessing or relying on stale training data, LAP provides compiled API specifications specifically structured for LLM consumption.
The core issue is that standard OpenAPI specs are built for humans, not agents. For example, Stripe's OpenAPI spec contains 1.2 million tokens of what the source describes as "noise." LAP compiles these specs 10x smaller while maintaining verified endpoints, correct parameters, and actual authentication requirements.
Technical Implementation
LAP was built primarily with Claude's assistance:
- Claude Code wrote approximately 99.9% of the Python compiler, the TypeScript port, and the benchmark harness
- The registry pipeline (processing 1,500+ specs) was built iteratively with Claude handling parsing, validation, and edge case handling
- The lean output format was co-designed with Claude, optimized for what actually helps agents make correct API calls
- The compilation process is deterministic with no AI in the compilation loop
Workflow Integration
LAP provides several commands for integration:
lap initsets up LAP skills and hooks into automatic update checkinglap checktells you when installed specs are outdatedlap diffshows exactly what changed in updated specs
In practice, you can tell Claude: "Integrate Discord into the project, use LAP to fetch the spec" → Claude will invoke the LAP skill, install the right API-skill, and start coding with verified endpoints instead of guessing.
Performance Benefits
According to the source, LAP delivers:
- 35% cheaper runs
- 29% faster responses
- The primary benefit: agents stop making up endpoints
Getting Started
LAP is open source with PRs, features, and spec requests welcome:
- Initialize with:
npx @lap-platform/lapsh init - GitHub: https://github.com/Lap-Platform/LAP
- Registry (1,500+ APIs): https://registry.lap.sh
📖 Read the full source: r/ClaudeAI
👀 See Also

RelayCode VS Code Extension Routes Claude Code Through Sovereign RDUs
OpenGPU has released RelayCode, a VS Code extension that acts as a local proxy to route Claude Code or Copilot requests through their decentralized network to open-weight models like DeepSeek-R1 and MiniMax M2.5 running on sovereign reconfigurable dataflow units.

Qure: Desktop App for Generating E2E Tests from Recorded Browser Flows
Qure is a desktop application from JetBrains (currently in closed beta) that generates end-to-end web test code from recordings made in its built-in browser. Instead of describing test flows in text for AI agents, developers record their manual QA scenarios by interacting with their product, and the AI produces working test code that matches their existing codebase.

Applying Claude Code's Architecture to Local 9B Models: Key Findings and Optimizations
A developer extracted architectural patterns from Claude Code's leaked source code and applied 10 optimizations to qwen3.5:9b running locally on an RTX 5070 Ti. The key discovery was that qwen3.5:9b has native structured tool_calls, and the biggest limitation for 9B models is self-discipline in knowing when to stop exploring and start producing output.

MCP Marketplace Launches Security-Scanned Directory of 1,900+ MCP Tool Plugins
MCP Marketplace (mcp-marketplace.io) provides a security-focused directory of 1,900+ MCP servers with multi-layer security analysis, risk scoring, and one-click installation for Claude Desktop, Cursor, ChatGPT, and VS Code.