
Connects Claude to Tiger Cloud's database platform with full service lifecycle management and query execution. You get tools for creating, forking, resizing, and monitoring PostgreSQL services, plus direct SQL execution with parameterized queries. Runs in two modes: standard stdio transport or HTTP streaming for remote setups. Notably proxies a documentation MCP server that lets Claude search PostgreSQL and TimescaleDB docs semantically, which means your assistant can pull API details and best practices on demand. Authentication flows through the Tiger CLI, so once you're logged in locally the MCP server inherits your credentials. Ships with a read-only mode if you want to restrict destructive operations.
Public tool metadata for what this MCP can expose to an agent.
market.statusGet current market status (open/closed/pre-market/after-hours) for specified markets.Get current market status (open/closed/pre-market/after-hours) for specified markets.
No parameter schema in public metadata yet.
quotes.realtimeGet real-time quotes (price, volume, bid/ask) for a list of stock symbols.Get real-time quotes (price, volume, bid/ask) for a list of stock symbols.
No parameter schema in public metadata yet.
quotes.klineGet historical OHLC candlestick data for a symbol. Supports day, week, month, 1min-60min periods.Get historical OHLC candlestick data for a symbol. Supports day, week, month, 1min-60min periods.
No parameter schema in public metadata yet.
quotes.depthGet order book (bid/ask depth) for symbols.Get order book (bid/ask depth) for symbols.
No parameter schema in public metadata yet.
stock.symbolsList all available stock symbols for a market.List all available stock symbols for a market.
No parameter schema in public metadata yet.
stock.detailsGet comprehensive details for stocks: name, exchange, industry, market cap, 52-week range.Get comprehensive details for stocks: name, exchange, industry, market cap, 52-week range.
No parameter schema in public metadata yet.
stock.fundamentalsGet fundamental financial data for a stock (P/E, EPS, revenue, etc.).Get fundamental financial data for a stock (P/E, EPS, revenue, etc.).
No parameter schema in public metadata yet.
market.scannerScan the market for stocks matching criteria (top gainers, volume leaders, etc.).Scan the market for stocks matching criteria (top gainers, volume leaders, etc.).
No parameter schema in public metadata yet.
options.expirationsGet available option expiration dates for an underlying symbol.Get available option expiration dates for an underlying symbol.
No parameter schema in public metadata yet.
options.chainGet the full option chain for a symbol and expiration date.Get the full option chain for a symbol and expiration date.
No parameter schema in public metadata yet.
futures.exchangesList available futures exchanges.List available futures exchanges.
No parameter schema in public metadata yet.
futures.contractsGet tradable futures contracts for an exchange.Get tradable futures contracts for an exchange.
No parameter schema in public metadata yet.
account.assetsGet account assets: net liquidation value, cash, buying power, P&L.Get account assets: net liquidation value, cash, buying power, P&L.
No parameter schema in public metadata yet.
account.positionsGet portfolio positions: symbol, quantity, avg cost, market value, P&L.Get portfolio positions: symbol, quantity, avg cost, market value, P&L.
No parameter schema in public metadata yet.
orders.listList orders with optional filters by status, symbol, or time range.List orders with optional filters by status, symbol, or time range.
No parameter schema in public metadata yet.
orders.activeGet currently active (pending) orders.Get currently active (pending) orders.
No parameter schema in public metadata yet.
orders.filledGet filled (executed) orders.Get filled (executed) orders.
No parameter schema in public metadata yet.
orders.previewPreview an order before placement: shows estimated commission, margin impact, and buying power effect.Preview an order before placement: shows estimated commission, margin impact, and buying power effect.
No parameter schema in public metadata yet.
orders.placePlace a trade order. Use orders.preview first to check impact.Place a trade order. Use orders.preview first to check impact.
No parameter schema in public metadata yet.
orders.modifyModify an existing pending order.Modify an existing pending order.
No parameter schema in public metadata yet.
orders.cancelCancel a pending order by ID.Cancel a pending order by ID.
No parameter schema in public metadata yet.
contracts.getLook up contract details for a symbol (exchange, lot size, currency, etc.).Look up contract details for a symbol (exchange, lot size, currency, etc.).
No parameter schema in public metadata yet.
Tiger CLI is the command-line interface for Tiger Cloud. It provides commands for managing and querying database services, as well as an integrated Model Context Protocol (MCP) server for use with AI assistants.
Multiple installation methods are provided. Choose your preferred method from the options below. If you aren't sure, use the first one!
curl -fsSL https://cli.tigerdata.com | sh
irm https://cli.tigerdata.com/install.ps1 | iex
brew install --cask timescale/tap/tiger-cli
# Add repository
curl -s https://packagecloud.io/install/repositories/timescale/tiger-cli/script.deb.sh | sudo os=any dist=any bash
# Install tiger-cli
sudo apt-get install tiger-cli
For manual repository installation instructions, see here.
# Add repository
curl -s https://packagecloud.io/install/repositories/timescale/tiger-cli/script.rpm.sh | sudo os=rpm_any dist=rpm_any bash
# Install tiger-cli
sudo yum install tiger-cli
For manual repository installation instructions, see here.
go install github.com/timescale/tiger-cli/cmd/tiger@latest
To upgrade an existing installation to the latest release:
tiger upgrade
This downloads the latest published binary, verifies its checksum, and replaces the currently running binary in place. If Tiger CLI was installed via a package manager (Homebrew, apt, yum/dnf), tiger upgrade will instead point you at the matching package-manager command.
After installing Tiger CLI, authenticate with your Tiger Cloud account:
# Login to your Tiger account
tiger auth login
# View available commands
tiger --help
# List your database services
tiger service list
# Create a new database service
tiger service create --name my-database
# Get connection string
tiger db uri
# Connect to your database
tiger db psql
# Run a query without psql
tiger db query -c "SELECT now()"
# Install the MCP server
tiger mcp install
Tiger CLI provides the following commands:
tiger auth - Authentication management
login - Log in to your Tiger account (use --headless to authorize with a short code in a browser on any machine)logout - Log out from your Tiger accountstatus - Show current authentication status and project ID (alias: whoami)tiger project - Project management
list - List all projects you have access to, marking the active one (alias: ls)use - Switch the active project (requires an OAuth login; clears the default service_id, since it belonged to the previous project) (alias: switch)tiger service - Service lifecycle management (aliases: services, svc)
list - List all services (alias: ls)create - Create a new serviceget - Show detailed service information (aliases: describe, show)fork - Fork an existing servicestart - Start a stopped service (alias: resume)stop - Stop a running service (alias: pause)rename - Rename a serviceresize - Resize service CPU and memory allocationdelete - Delete a service (alias: rm)update-password - Update service master passwordlogs - View service logs (alias: log)tiger db - Database operations
psql - Connect to a database with psql (in an interactive terminal, if the service has read replicas, offers to connect to one of them; use --no-replica-prompt to skip) (alias: connect)query - Execute a SQL query against a database and display the results, without needing psql (alias: sql)uri - Get connection URI for a service (alias: connection-string)ping - Test database connectivity (aliases: test, test-connection)schema - Display database schema information (tables, views, indexes, functions, TimescaleDB hypertables, and more)save-password - Save a database password to configured password storage (keyring, pgpass, or none)create role - Create a new database role, with optional read-only enforcement, inherited grants (--from), and statement timeout (alias: create user)tiger config - Configuration management (alias: cfg)
list - List current configuration (aliases: ls, show)set - Set configuration valueunset - Remove configuration value (aliases: rm, delete)reset - Reset configuration to defaults (alias: clear)tiger mcp - MCP server setup and management
install - Install and configure MCP server for an AI assistant (alias: add)start - Start the MCP serverlist - List available MCP tools, prompts, and resources (alias: ls)get - Get detailed information about a specific MCP capability (aliases: describe, show)tiger feedback - Submit feedback or a bug report to the Tiger Data team (pass the message as an argument or on stdin)tiger version - Show version informationtiger upgrade - Upgrade the Tiger CLI to the latest version (alias: update)Use tiger <command> --help for detailed information about each command, or browse the generated CLI reference.
Anywhere a command takes a service as an argument, it takes either its ID (or a read replica set ID) or its name:
tiger db psql my-api-db
tiger service stop my-api-db
Names are matched exactly. A name that matches more than one service is refused; run tiger service list to find the ID you want. A default service (tiger config set service_id, --service-id, or TIGER_SERVICE_ID) must be an ID, and destructive commands still ask you to type the ID to confirm. The MCP tools take IDs only.
Tiger CLI includes a Model Context Protocol (MCP) server that enables AI assistants like Claude Code to interact with your Tiger Cloud infrastructure. The MCP server provides programmatic access to database services and operations.
Configure the MCP server for your AI assistant:
# Interactive installation (prompts for client selection)
tiger mcp install
# Or specify your client directly
tiger mcp install claude-code # Claude Code
tiger mcp install codex # Codex
tiger mcp install copilot # GitHub Copilot CLI
tiger mcp install cursor # Cursor IDE
tiger mcp install devin # Devin
tiger mcp install gemini # Gemini CLI
tiger mcp install vscode # VS Code
After installation, restart your AI assistant to activate the Tiger MCP server.
If your MCP client is not supported by tiger mcp install, follow the client's
instructions for installing MCP servers. Use tiger mcp start as the command to
start the MCP server. For example, many clients use a JSON file like the
following:
{
"mcpServers": {
"tiger": {
"command": "tiger",
"args": [
"mcp",
"start"
]
}
}
}
The above instructions install the MCP server using the stdio transport. If you
need to use the Streamable HTTP transport instead, you can start the server with
tiger mcp start http --port 8080 and install it into your client using
http://localhost:8080 as the URL.
The MCP server exposes the following tools to AI assistants:
Service Management:
service_list - List all database services in your projectservice_get - Get detailed information about a specific serviceservice_create - Create new database services with configurable resourcesservice_fork - Fork an existing database service to create an independent copyservice_start - Start a stopped database serviceservice_stop - Stop a running database serviceservice_rename - Rename a database serviceservice_resize - Resize a database service by changing CPU and memory allocationservice_delete - Permanently delete a database service (asks you to confirm first if the service is tagged PROD)service_update_password - Set a new, randomly generated master password for a service (asks you to confirm first if the service is tagged PROD)service_logs - View logs for a database serviceDatabase Operations:
db_query - Execute SQL queries against a database service, passed inline or as a path to a SQL file, with support for parameterized queries, custom timeouts, and connection poolingdb_schema - Display a service's database schema (tables, views, materialized views, enums, functions, procedures, indexes, triggers, and TimescaleDB hypertable/continuous aggregate metadata) as readable text for an agent's contextFeedback:
feedback - Submit feedback or a bug report to the Tiger Data teamThe MCP server automatically uses your CLI authentication and configuration, so no additional setup is required beyond tiger auth login.
In addition to the service management tools listed above, the Tiger MCP server also proxies tools from a remote documentation MCP server. This feature provides AI assistants with semantic search capabilities for PostgreSQL, TimescaleDB, and Tiger Cloud documentation, as well as prompts/guides for various Tiger Cloud features.
The proxied documentation server (pg-aiguide) currently provides the following tools:
view_skill - Retrieve comprehensive guides for Postgres and TimescaleDB features and best practicessearch_docs - Search PostgreSQL and TimescaleDB documentation using natural language queriesThis proxy connection is enabled by default and requires no additional configuration.
To disable the documentation proxy:
tiger config set docs_mcp false
The CLI stores configuration in ~/.config/tiger/config.yaml by default, and supports hierarchical configuration through environment variables and command-line flags.
# List current configuration
tiger config list
# Set configuration values
tiger config set output json
# Remove configuration value
tiger config unset output
# Reset to defaults
tiger config reset
All configuration options can be set via tiger config set <key> <value>:
analytics - Enable/disable analytics (default: true)
color - Enable/disable colored output (default: true)
docs_mcp - Enable/disable docs MCP proxy (default: true)
mcp_max_rows - Maximum number of rows the db_query MCP tool returns per result set before truncating, to limit how much data lands in an AI agent's context. Only applies to the MCP tool, not CLI commands. Default: 100
output - Output format: json, yaml, or table (default: table)
password_storage - Password storage method: keyring, pgpass, or none (default: keyring)
read_only - Which services this CLI may change: all, prod, or off (default: off, which protects nothing). An interactive tiger auth login offers a menu of the three modes, and records your choice either way, so it only asks until you answer once. true and on are accepted as aliases for all, and false for off, so existing config files and TIGER_READ_ONLY=true behave as before.
Changing a protected service is refused, and so is creating one: tiger service create/fork/start/stop/rename/resize/update-password/delete and tiger db create role return an error. Connection strings for it open the session in Tiger Cloud's immutable read-only mode, so the server rejects writes and DDL — that covers tiger db psql, tiger db query, tiger db uri, the db_query MCP tool, and the connection strings embedded in tiger service output and the equivalent MCP tools.
all protects every service, and the MCP write tools aren't registered at all, so they don't appear in tools/list and can't be called.prod protects only services tagged PROD, leaving DEV services writable. tiger service create/fork and the service_create/service_fork MCP tools are gated on the environment they request, so creating a DEV service is allowed and a PROD one is not — otherwise you could create a service this same mode then refuses to delete. Forking a PROD service into a DEV fork is allowed, since that reads production without changing it. The MCP write tools stay registered — they still work on DEV services — and refuse per call instead. These commands read the tag off the service they resolve, so the tag costs no extra API call, and the operation is refused if that lookup fails. The MCP write tools, which take IDs, fetch the service to read its tag. A read replica is judged on its own tag, so a replica of a PROD primary is protected only if that replica set is itself tagged PROD.service_id - Default service ID. Cleared automatically when the active project changes: by tiger project, and by tiger auth login unless it lands on the same project as the previous login. A service belongs to the project it was created in
version_check - When true, the CLI checks for a newer version on each invocation (in an interactive terminal) and prints a notice if one is available. Set to false to disable. Default: true.
Environment variables override configuration file values. All variables use the TIGER_ prefix:
TIGER_ANALYTICS - Enable/disable analyticsTIGER_COLOR - Enable/disable colored outputTIGER_CONFIG_DIR - Path to configuration directory (default: ~/.config/tiger)TIGER_DOCS_MCP - Enable/disable docs MCP proxyTIGER_OUTPUT - Output format: json, yaml, or tableTIGER_PASSWORD_STORAGE - Password storage method: keyring, pgpass, or noneTIGER_READ_ONLY - Which services this CLI may change: all, prod, or off (same aliases as read_only)TIGER_PUBLIC_KEY - Public key to use for authentication (takes priority over stored credentials)TIGER_SECRET_KEY - Secret key to use for authentication (takes priority over stored credentials)TIGER_SERVICE_ID - Default service ID (a name is refused; see Naming a Service)TIGER_VERSION_CHECK - When true, the CLI checks for a newer version on each invocation (in an interactive terminal) and prints a notice if one is available; false to disableThese flags are available on all commands and take precedence over both environment variables and configuration file values:
--analytics - Enable/disable analytics--color - Enable/disable colored output--config-dir <path> - Path to configuration directory (default: ~/.config/tiger)--password-storage <method> - Password storage method: keyring, pgpass, or none--service-id <id> - Service ID (a name is refused; pass one as an argument instead)--version-check - Enable/disable checking for updates on startup-h, --help - Show help informationWe welcome contributions! Here's how to get started:
go test ./...)For detailed development information, see docs/development.md.
This project is licensed under the Apache License 2.0 - see the LICENSE file for details.
TIGER_PUBLIC_KEY*Tiger Cloud API public key for authentication
TIGER_SECRET_KEY*secretTiger Cloud API secret key for authentication