Back to Servers

Turso MCP Server

by Turso

The Turso MCP Server connects AI assistants like Claude Code directly to Turso databases, enabling natural language database queries, schema inspection, and data manipulation through the Model Context Protocol. Turso is a distributed SQLite-compatible database built on libSQL that runs at the edge, making it ideal for low-latency applications. With this MCP server, developers can ask Claude to inspect their database schema, run SQL queries, create and modify tables, insert data, and debug query performance — all through conversational prompts. The server handles connection management, query execution, and result formatting automatically. The server supports both local libSQL databases and remote Turso cloud databases. For cloud usage, it authenticates via Turso API tokens and connects to databases across Turso's global edge network. This is particularly useful for developers building serverless applications who need their AI assistant to understand and work with their production data model. Key capabilities include schema introspection (listing tables, columns, indexes), read queries with formatted output, write operations with transaction support, and database creation/management. The server follows the MCP specification for tool definitions, making it compatible with any MCP client including Claude Code, Cursor, and other AI coding assistants.

databasetursosqlitedatabasemcpedge-databaselibsqlclaude-code

Installation

npx mcp-turso-cloud

Key Features

  • Natural language SQL queries through Claude Code
  • Schema inspection and table management
  • Supports both local libSQL and Turso cloud databases
  • Transaction support for safe write operations
  • Compatible with Claude Code, Cursor, and other MCP clients
  • Edge-distributed database access with low latency

Use Cases

  • Querying production databases using natural language
  • Debugging schema issues with AI assistance
  • Generating and testing SQL queries conversationally
  • Managing Turso edge databases from AI coding tools
  • Prototyping database schemas with AI guidance

FAQ

Server Stats

GitHub Stars
Updated
3/26/2026
NPM Package
mcp-turso-cloud

Category

Related Resources

Weekly AI Digest