TigerData logo
TigerData logo
  • Product

    Tiger Cloud

    Robust elastic cloud platform for startups and enterprises

    Agentic Postgres

    Postgres for Agents

    TimescaleDB

    Postgres for time-series, real-time analytics and events

  • Docs
  • Pricing

    Pricing

    Enterprise Tier

  • Developer Hub

    Changelog

    Benchmarks

    Blog

    Community

    Customer Stories

    Events

    Support

    Integrations

    Launch Hub

  • Company

    Contact us

    About

    Timescale

    Partners

    Security

    Careers

Log InTry for free
TigerData logo

Products

Time-series and Analytics AI and Vector Enterprise Plan Cloud Status Support Security Cloud Terms of Service

Learn

Documentation Blog Tutorials Changelog Success Stories Time-series Database

Company

Contact Us Careers About Brand Community Code Of Conduct Events

Subscribe to the Tiger Data Newsletter

By submitting, you acknowledge Tiger Data's Privacy Policy

2026 (c) Timescale, Inc., d/b/a Tiger Data. All rights reserved.

Privacy preferences
LegalPrivacySitemap

Copy as HTML

Open in ChatGPT

Open in Claude

Open in v0

Matvey Arye

By Matvey Arye

3 min read

Nov 25, 2025

Announcements & ReleasesAI

Table of contents

01 The Problem: APIs Are Neutral, Good Engineering is Opinionated02 The Solution: The AI Guide03 Moving Intelligence into a Portable MCP Tool04 Build This With Us

Spend more time improving your AI app and less time managing a database.

Start building

The Big Shift in MCP: Why AI Guides Will Replace API Wrappers

The Big Shift in MCP: Why AI Guides Will Replace API Wrappers
Announcements & Releases
Matvey Arye

By Matvey Arye

3 min read

Nov 25, 2025

Table of contents

01 The Problem: APIs Are Neutral, Good Engineering is Opinionated02 The Solution: The AI Guide03 Moving Intelligence into a Portable MCP Tool04 Build This With Us

Copy as HTML

Open in ChatGPT

Open in Claude

Open in v0

Spend more time improving your AI app and less time managing a database.

Start building

TL;DR: The MCP ecosystem is about to change. Wrappers aren’t enough. As models gain power, the risk of letting them make bad engineering decisions grows—and the solution isn’t more access, it’s more judgment.

An MCP client can successfully execute a tool call while simultaneously making a terrible engineering decision. The API interaction works perfectly. The JSON payload is valid. The database accepts the command. Yet the result—a schema with unindexed foreign keys, a timestamp column that should have been timestamptz, or a misconfigured generic flag—is technical debt created at machine speed.

The problem lies in how the ecosystem currently builds MCP servers. Most developers are building wrappers. They take an existing API, dust it in magic MCP particles, and hand it to the model.

These wrappers assume that because the model knows the vocabulary of the API, it has the taste necessary to write good code.

Often, it doesn’t.

The Problem: APIs Are Neutral, Good Engineering is Opinionated

Wrappers expose capability. They faithfully pass commands to the underlying system. But most APIs are designed to be agnostic—they let you run DROP TABLE just as easily as they let you run SELECT. They define what is possible, not what is wise.

This gap is becoming dangerous as agents get faster.

The industry is currently rushing to adopt "Code Execution" (Anthropic) and "Code Mode" (Cloudflare). These are innovations that allow models to write scripts to orchestrate tools, rather than firing off inefficient, chatty JSON-RPC calls. This solves the efficiency problem and allows models to create better APIs.

But it does not solve the judgment problem.

If you give a client a "Code Mode" sandbox and a set of neutral API wrappers, you have simply given it a faster way to write bad code. A wrapper like execute_sql will happily execute a query that triggers a sequential scan on a billion-row table. The API is working exactly as designed. The agent failed because it lacked the experience to know better.

We realized that more access wasn't the answer. We needed a way to expose expertise.

The Solution: The AI Guide

We believe the future of MCP isn't just about accessing tools, but about embedding judgment. We call this concept an AI Guide.

An AI guide is an MCP server designed to teach a model how to think, not just what it can touch. Unlike a neutral API wrapper, a guide is intentionally opinionated. It encodes the specific patterns, preferences, and hard-earned lessons of experienced engineers.

Instead of simply handing the model a database connection and waiting for a CREATE TABLE command, a guide dictates the workflow. It acts less like a CLI and more like a senior engineer pairing with a junior.

Case Study: How pg-aiguide Works

We built pg-aiguide to test this distinction. It is a reasoning layer for Postgres that sits between the agent and the database.

At its core is a library of curated skills. These are structured workflows that model expert judgment. For example, when an agent attempts to design a schema, the guide does not simply ask “what tables do you want?” It pushes the agent through a deliberate design path:

  • Validate the entities and relationships.
  • Check for missing primary keys and unindexed foreign keys.
  • Evaluate datatype choices against storage costs and desired semantics.
  • Compare the emerging design against known patterns for similar workloads.

Crucially, the guide pairs this reasoning with semantic search over authoritative documentation. When the model needs to understand a specific Postgres configuration, the guide retrieves the exact manual page. This grounds the model’s decisions in current facts, preventing it from hallucinating flags that haven't existed since Postgres 9.6.

Ironically, we are making all this knowledge accessible using an MCP tool, but one that exposes knowledge not capabilities.

Moving Intelligence into a Portable MCP Tool 

Across the industry, everyone is converging on the same pattern: structured, retrieval-grounded reasoning. Claude’s Skills do this. OpenAI’s ReAct-inspired flows do this. Cursor and Windsurf’s reasoning chains do this. Even proprietary coding agents are evolving toward stepwise, verifiable workflows. The pattern is clear, but each implementation lives in a closed garden tied to a specific model provider or coding agent.

We are changing this.

By building Guides using MCP tools, we make them portable. A guide becomes a tool that any model or agent can use.

  • The logic stays the same.
  • The reasoning path stays the same.
  • The quality bar stays the same.

Whether you load Claude, OpenAI, or a local Llama model, using Claude Code, Cursor or Windsurf the guide enforces the same engineering standards.

We are still early. We are currently expanding pg-aiguide to include:

  • Hybrid Search: Blending keyword and semantic search to stop models from guessing syntax.
  • Golden Patterns: Injecting verified code snippets for high-risk operations.
  • Self-Correction: Linting steps that force the agent to validate its own work before execution.

Build This With Us

The pattern of "dumb wrappers" has a ceiling. To build agents that can actually be trusted in production, we need tools that contain expertise.

We are building pg-aiguide in the open. If you are a Postgres expert, or if you are building agents and are tired of cleaning up their messes, come help us define what a "Guide" looks like.


About the author

Matvey Arye

By Matvey Arye

Related posts

TimescaleDB 2.22 & 2.23 – 90x Faster DISTINCT Queries, Postgres 18 Support, Configurable Columnstore Indexes, and UUIDv7 for Event-Driven Analytics

TimescaleDB 2.22 & 2.23 – 90x Faster DISTINCT Queries, Postgres 18 Support, Configurable Columnstore Indexes, and UUIDv7 for Event-Driven Analytics

Announcements & ReleasesTimescaleDB

Nov 26, 2025

TimescaleDB 2.22 & 2.23: 90Ă— faster DISTINCT queries, zero-config hypertables, UUIDv7 partitioning, Postgres 18 support, and configurable columnstore indexes.

Read more

We Taught AI to Write Real Postgres Code (And Open Sourced It)

We Taught AI to Write Real Postgres Code (And Open Sourced It)

Announcements & ReleasesAI

Nov 24, 2025

pg-aiguide teaches AI to write production-ready Postgres code with curated skills, semantic search, and version-aware docs. Open source and free to use.

Read more

Stay updated with new posts and releases.

Receive the latest technical articles and release notes in your inbox.

Share

Get Started Free with Tiger CLI