# 24K Labs MCP Blueprint Generator

> 24K Labs MCP Blueprint Generator is a paid API for AI agents from api.24klabs.ai, paid per call via x402, $1.5/call, status unknown (last checked 2026-09-15).

Generates an MCP (Model Context Protocol) blueprint architecture document from provided code or context using Claude AI, paid per-request in USDC on Base L2

## Facts

- Endpoint: POST https://api.24klabs.ai/api/mcp-blueprint
- Price: $1.5/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/24k-labs-mcp-blueprint-generator-dd47face
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_tML-X7I3oDMrDZPUcmtXW

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability 24k-labs-mcp-blueprint-generator-dd47face -d '<json body>'
```

Example prompt: Generate an MCP blueprint for this Python PostgreSQL reader code — it exposes a query function that takes a SQL string and returns rows as JSON. Give me the full architecture doc.

## When to prefer this

Choose this endpoint when you need to convert existing code into a structured MCP server blueprint and want to pay per-request without a subscription or API key setup. Ideal for developers building MCP-compatible tools who want AI-generated architecture guidance powered by Claude Opus.

## Known failure modes

- Invalid or empty code input — returns error response
- Unsupported programming language — may produce incomplete blueprint
- Payment failure via x402/USDC — request not processed
- Rate limiting or model unavailability — service temporarily unavailable
- Malformed JSON input — 400 error

## How this service works

A curated directory of x402 services — each one on the list on purpose, with the health, uptime, and independent trust grades from across the ecosystem gathered in one place.

## Output

A detailed MCP blueprint document (Markdown) covering server architecture, tool definitions, and integration patterns, along with the Claude model version used and token count consumed.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "code": {
   "type": "string",
   "description": "Primary input content"
  },
  "context": {
   "type": "string",
   "description": "Optional context or instructions"
  },
  "language": {
   "type": "string",
   "description": "Programming language (code services)"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "model": "claude-opus-4-5",
  "result": "# MCP Blueprint: PostgreSQL Reader\n\n## Architecture...",
  "tokens_used": 1200
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/24k-labs-mcp-blueprint-generator-dd47face/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.24klabs.ai](https://www.zero.xyz/host/api.24klabs.ai/llms.txt)
