# SaturnSQL Context

> A context layer that teaches AI tools like Claude, ChatGPT and Cursor what your database columns, tables and business terms mean via an MCP server.

SaturnSQL Context is a feature of SaturnSQL, made by Panda Capital Oy Ab, that gives AI tools the meaning of a database rather than just its schema. Teams write context files, definitions, descriptions and synonyms, and MCP clients such as Claude, ChatGPT, Cursor, Claude Code and Windsurf read them through SaturnSQL's MCP server. It is included with the Pro plan together with Guard.

## What It Is

A context layer holds what an AI needs beyond the schema: which units a column uses, which of two tables is current, and how the business defines terms like an active customer. When an AI tool asks a question, SaturnSQL returns the matching instructions, definitions, and table and column descriptions so the AI can write the SQL itself. Existing table and column comments are read from PostgreSQL, Redshift, MySQL, SQL Server, Oracle, BigQuery and ClickHouse, and descriptions written by the team take precedence without changing the database.

## Correcting and maintaining context

AI tools can save corrections for everyone through MCP tools such as set_description, set_descriptions, write_context_file, upsert_definition, delete_definition and import_ossie. Writing requires owning the connection or being an admin, a plan with Context, and an API key or sign-in with write scope. Each change is recorded with the person's name. The same changes are available over the REST API at /api/context.

## Context layer versus semantic layer

The vendor positions Context as different from a semantic layer: definitions guide the AI but do not guarantee identical numbers, and Context is not a metrics engine. It does not crawl lineage, does not describe table relationships yet, and does not cover Snowflake or Databricks.

## Open format and governance

Context can be exported on every plan as Apache Ossie YAML or dbt schema.yml, and Ossie models can be imported on Pro with a preview of changes. Under Guard, hidden tables and masked columns stay hidden in context, and turning AI off for a database also turns off its context.

## Features
- Context files, definitions, descriptions and synonyms
- Reads existing database table and column comments
- MCP server access for AI tools
- AI tools can save corrections to context
- Change attribution for every edit
- Apache Ossie YAML and dbt YAML export
- Apache Ossie import with preview (Pro)
- REST API at /api/context
- Guard rules apply to context (hidden tables, masked columns)

## Integrations
Claude, ChatGPT, Cursor, Claude Code, Windsurf, MCP clients, PostgreSQL, Redshift, MySQL, SQL Server, Oracle, BigQuery, ClickHouse, dbt, Apache Ossie

## Platforms
MACOS, LINUX, WEB, API

## Pricing
Freemium — Free tier available with paid upgrades

## Links
- Website: https://saturnsql.com/context-layer
- Documentation: https://saturnsql.com/docs/api
- EveryDev.ai: https://www.everydev.ai/tools/saturnsql-context
