json schema
30 articles about json schema in AI news
Port Claude Code Workflows to Codex
gpt-workflow brings Claude Code-style deterministic workflows to Codex CLI with resumable journals and JSON schema validation. Install via Codex plugin and store workflows under .codex/workflows/.
Cut MCP Token Waste 99%: The 50KB CLI That Keeps Schemas Out of Context
mcptoon CLI slashes MCP token overhead by up to 99% by keeping schemas on disk—install with pip and run tools via shell commands.
Build a Bulletproof Claude Code JSONL Parser
Learn 3 battle-tested patterns for parsing Claude Code's JSONL session files under ~/.claude/projects/, including tolerant whitelists, versioned derived data, and toWellFormed() string normalization.
MCP Becomes USB for AI: 3 Primitives, JSON-RPC 2.0, 50+ Servers
Anthropic's MCP standardizes AI tool connections via JSON-RPC 2.0 with three primitives. Over 50 community servers exist, making it the USB for AI.
How Structured JSON Inputs Eliminated Hallucinations in a Fine-Tuned 7B Code Model
A developer fine-tuned a 7B code model on consumer hardware to generate Laravel PHP files. Hallucinations persisted until prompts were replaced with structured JSON specs, which eliminated ambiguous gap-filling errors and reduced debugging time dramatically.
How to Build Interactive Apps with Claude Code Using JSON as a Bridge
A developer built a music maker where Claude generates beats via JSON, showing how to create collaborative AI tools without complex APIs.
How to Build Your First MCP Server
Build your own MCP server this weekend: reshape your existing tool schemas to the MCP spec, expose over HTTP, and let Claude Code drive your infra remotely. The decoupling alone is worth it.
3 MCP Production Failures This Developer Hit Automating Tax Returns (And
MCP's JSON-RPC can't handle binary uploads, 270-tool servers bloat context, and rate limits fail silently. Use CLI scripts for files, allow-list tools, and prompt-based throttling.
CLI vs MCP: Hands-On Experiments Show 250 Tokens vs Over 2,000 for the Same Task
An AI developer ran three experiments comparing CLI and MCP for AI agents. CLI used 250 tokens for file ops and Git; MCP used over 2,000 due to tool schema overhead, but MCP won for web fetching (250 tokens vs 2,000+ for CLI).
Build an MCP-Powered SaaS Discovery Engine with Next.js and PostgreSQL
Build an AI-ready SaaS directory by designing a canonical product entity first, then exposing it via MCP. Use Prisma, Zod, and JSON-LD to serve humans, search engines, and AI agents from one source of truth.
The One Decorator That Makes Your Script Agentic: @mcp.tool() vs. Subprocess
Wrap your Claude Code helper scripts in @mcp.tool() to expose typed, discoverable interfaces agents can reason about—the schema, not the AI call, is what makes it agentic.
Write MCP Servers in Python in 10 Lines with FastMCP
FastMCP from the official Python SDK v1.x turns type-hinted functions into MCP tools. Add @mcp.tool() to any function and Claude Code discovers it via tools/list and tools/call JSON-RPC calls.
Stop Hardcoding Model Lists: Use Discovery-Driven MCP to Cut Token Bloat 40%
Switch from hardcoded MCP tool schemas to discovery-driven tools like nvidia_list_foundation_models. Your agent queries available models dynamically, cutting token bloat and adapting to infrastructure changes in real-time.
MCP Server Versioning: How to Avoid Breaking All Your AI Clients (Like I
Stop breaking AI clients with MCP schema changes. Use query param versioning (?v=2) — it works with every MCP client, requires no code changes, and lets old and new versions coexist seamlessly.
Building a Production-Ready Snowflake MCP Server: A Practical Guide
A technical guide details building a production-ready Snowflake MCP server with OAuth 2.0, schema filtering, and rate limiting for enterprise AI agents.
Build a Zero-Dependency MCP Server
Build a zero-dependency MCP server in 50 lines of Python to give Claude Code direct file access. Register it in claude.json and skip SDK bloat.
Sequential Thinking MCP: Break Down Hard Problems Into Solvable Steps in
Sequential Thinking MCP forces Claude Code into structured multi-step reasoning. Install via npx to decompose architecture decisions, debug distributed systems, and design schemas with iterative analysis.
SSL: Structured Skill Language Boosts Skill Discovery MRR to 0.707
Researchers propose SSL, a three-layer typed JSON representation for AI agent skills, replacing unstructured SKILL.md prose. Using an LLM normalizer, SSL improves Skill Discovery MRR from 0.573 to 0.707 and Risk Assessment macro F1 from 0.744 to 0.787 on a newly released 6,184-skill corpus.
DharmaOCR: New Small Language Models Set State-of-the-Art for Structured
A new arXiv preprint presents DharmaOCR, a pair of small language models (7B & 3B params) fine-tuned for structured OCR. They introduce a new benchmark and use Direct Preference Optimization to drastically reduce 'text degeneration'—a key cause of performance failures—while outputting structured JSON. The models claim superior accuracy and lower cost than proprietary APIs.
DBmaestro's New MCP Server Lets Claude Code Manage Database Deployments
Claude Code users can now manage database deployments directly via a new MCP server from DBmaestro, automating schema changes and rollbacks.
BloClaw: New AI4S 'Operating System' Cuts Agent Tool-Calling Errors to 0.2% with XML-Regex Protocol
Researchers introduced BloClaw, a unified operating system for AI-driven scientific discovery that replaces fragile JSON tool-calling with a dual-track XML-Regex protocol, cutting error rates from 17.6% to 0.2%. The system autonomously captures dynamic visualizations and provides a morphing UI, benchmarked across cheminformatics, protein folding, and molecular docking.
How This Developer Built a Production-Ready RAG System with Claude Code in One Weekend
A developer used Claude Code to create a structured JSON-to-PDF knowledge base with 105 quotes, demonstrating how to build RAG-ready datasets faster than ever.
MCP Proxy Testing Exposes Silent Client-Side Failures
MCP proxy logging reveals silent client-side failures. Claude Code's 45/45 success rate vs Gemini's 42/45 shows reliability differences. Check tool-call gaps and serverInfo metadata to avoid misattributing failures.
MCP 2.0 Just Broke Your Local Server: Pin These Versions Before Your Next Build
MCP 2.0's stateless overhaul breaks local servers via removed `mcp.server.fastmcp`. Pin `mcp<2.0.0` and audit session-tied state before migrating.
MCP Lead Enrichment Server Meters Billing at 0.6 Confidence
A Cloudflare Workers-hosted MCP server gives AI agents metered B2B lead enrichment, billing only when confidenceScore exceeds 0.6. The Zod-validated tools target hallucination and cost control in autonomous SDR swarms.
How to Build a Secure MCP Server for DynamoDB: The RiskAnalyzer Pattern
DynamoDB Sage shows how to secure MCP database access: a Go RiskAnalyzer validates tool calls, Kafka async writes prevent throttling, Prometheus tracks security events — apply this pattern to your Claude Code MCP servers.
Your MCP Cache Key Is an Authorization Hole: 6 Cache Classes to Fix It
MCP cache keys must include auth attributes like tenant and role. Separate six cache classes to prevent cross-scope leaks. Test with negative cross-tenant scenarios.
Give Claude Code Live B2B Lead Enrichment
Add @agent-infra/mcp-server-lead-enrichment to Claude Code for live firmographics, technographics, and intent signals. Pay only when confidenceScore > 0.6—zero cost for low-quality matches.
stryker-mcp-reporter v1.13.0: AI Agents Hit 100% Mutation Score
stryker-mcp-reporter v1.13.0 adds an ESLint hook and lets AI agents run Stryker mutation tests to chase 100% mutation score. The claim lacks reproducible proof.
Token-Saving Tools Overpromise: Real Benchmark Shows 6–32% Savings, Not 60–90%
Token-saving tools deliver 6–32% savings, not 60–90%. In Claude Code, lazy MCP loading means tools often go unused—enable them with hooks and measure full sessions.