Skip to main content
Glama
Baronco

SQL-Transpiler MCP Tool

by Baronco

🚀 SQL-Transpiler MCP Tool

SQL-Transpiler is a MCP tool designed to transpile SQL queries between different dialects using the sqlglot library. This tool helps you convert SQL code from one dialect (e.g., MySQL) to another (e.g., PostgreSQL) with ease, ensuring compatibility across various database systems.


🛠️ Features

  • Dialect Support: Lists all SQL dialects supported by sqlglot.

  • SQL Transpilation: Converts SQL queries from one dialect to another.

  • Error Handling: Informs you if a dialect is unsupported or if there are syntax errors.


Related MCP server: Python MSSQL MCP Server

📦 Library Used

  • sqlglot
    Version: Check your pyproject.toml or uv.lock for the exact version used in this project.


⚙️ Prerequisites

  • Python 3.13+ (if running locally)

  • UV package manager (for dependency management)

  • Docker (if running via container)


🚀 Installation

Option 1: Using UV (Locally)

  1. Clone the repository

    git clone https://github.com/Baronco/SQL-Transpiler-MCP-Tool.git
    cd sql-transpiler
  2. Install UV

    pip install uv
  3. Sync dependencies (using uv.lock)

    uv sync --frozen
  4. Run the server

    uv run server.py

Option 2: Using Docker

  1. Clone the repository

    git clone https://github.com/your-username/sql-transpiler.git
    cd sql-transpiler
  2. Build the Docker image

    docker build -t sql-transpiler .

📄 Usage

  • Use the Dialects tool to list all supported SQL dialects.

  • Use the Transpiler tool to convert SQL queries from one dialect to another.

For more details, see the instructions in src/instructions.md.

🖥️ Integration with Claude Desktop

To add the SQL-Transpiler MCP tool to your Claude Desktop configuration using the Docker image, update your claude_desktop_config.json as follows:

{
  "mcpServers": {
    "sql-transpiler": 
    {
      "command": "docker",
      "args": ["run", "-i", "--rm", "--init", "-e", "DOCKER_CONTAINER=true", "sql-transpiler"]
    }
  }
}

If you want to use your local environment with UV instead of Docker, configure your claude_desktop_config.json like this (adjust the path as needed):

{
  "mcpServers": {
    "sql-transpiler": 
    {
      "command": "uv",
      "args": [
        "--directory",
        "path/to/sql-transpiler",
        "run",
        "server.py"
      ]
    }
  }
}

📝 License

MIT License

Install Server
F
license - not found
A
quality
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    A
    quality
    C
    maintenance
    Enables interaction with Microsoft SQL Server databases through a Model Context Protocol interface, supporting database connections, switching between databases, and executing secure SELECT queries.
    Last updated
    8
    18
    MIT
  • F
    license
    -
    quality
    D
    maintenance
    Enables Language Models to interact with Microsoft SQL Server databases by inspecting table schemas, executing SQL queries, and reading table data through a standardized Model Context Protocol interface.
    Last updated
    27
  • A
    license
    -
    quality
    D
    maintenance
    Translates natural language to SQL/GraphQL queries and executes them, enabling AI agents to interact with databases through the Model Context Protocol.
    Last updated
    1
    Apache 2.0
  • F
    license
    -
    quality
    B
    maintenance
    Enables natural-language querying of structured data via Model Context Protocol, allowing AI agents to answer questions without SQL or API knowledge.
    Last updated

View all related MCP servers

Related MCP Connectors

  • The grounded data layer for any LLM: governed SQL, metrics, lineage and catalog over your data.

  • A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…

  • A Model Context Protocol server for Wix AI tools

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Baronco/SQL-Transpiler-MCP-Tool'

If you have feedback or need assistance with the MCP directory API, please join our Discord server