Submit

MCP Server ODBC via SQLAlchemy

@OpenLinkSoftware

a year ago
developer-tools
A simple MCP ODBC server using FastAPI, ODBC and SQLAlchemy.
Overview

what is mcp-server-odbc?

The mcp-server-odbc is a simple ODBC server built using FastAPI, ODBC, and SQLAlchemy, designed to work with SQLAlchemy-compatible databases, particularly tested with Virtuoso DBMS.

how to use mcp-server-odbc?

To use mcp-server-odbc, clone the repository from GitHub, set up your ODBC Data Source Name (DSN), and configure it in your application. You can then run the server and execute SQL queries through it.

key features of mcp-server-odbc?

  • Retrieve schema names from the connected database.
  • Get detailed information about tables and their definitions.
  • Execute SQL queries and return results in JSONL or Markdown table format.
  • Filter table names based on a substring.

use cases of mcp-server-odbc?

  1. Connecting to various SQL databases using ODBC.
  2. Executing complex SQL queries and retrieving results programmatically.
  3. Integrating with applications that require database access through a RESTful API.

FAQ from mcp-server-odbc?

  • What databases can mcp-server-odbc connect to?

It can connect to any SQLAlchemy-compatible database, including Virtuoso, PostgreSQL, MySQL, and SQLite.

  • Is there a specific ODBC driver required?

Yes, you need to use the OpenLink Virtuoso ODBC driver or any other compatible driver for your database.

  • How do I install mcp-server-odbc?

You can install it by cloning the repository from GitHub and following the setup instructions provided in the documentation.

© 2025 MCP.so. All rights reserved.

Build with ShipAny.