LINQ to DB
LINQ to DB is an MCP server that adds database tools to AI assistants such as Claude Desktop, Claude Code and Cursor. Inspect database schemas and execute SQL queries across multiple database providers with LINQ to DB. It has 3,334 GitHub stars, is released under the MIT license and runs locally with dnx linq2db.cli --yes.
github.com/linq2db/linq2db (opens in a new tab)
Data as of from the GitHub API and the official MCP registry; description from the project's repository. Report an error
Install LINQ to DB
Generated from the server's MCP registry entry. Replace your-value with your own values.
Claude Desktop
{
"mcpServers": {
"linq-to-db": {
"command": "dnx",
"args": [
"linq2db.cli",
"--yes"
]
}
}
}Settings > Developer > Edit Config. macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\. Restart Claude Desktop afterwards.
Claude Code
claude mcp add --transport stdio linq-to-db -- dnx linq2db.cli --yesCursor
{
"mcpServers": {
"linq-to-db": {
"type": "stdio",
"command": "dnx",
"args": [
"linq2db.cli",
"--yes"
]
}
}
}Project file; use ~/.cursor/mcp.json to enable it in every project.
VS Code
{
"servers": {
"linq-to-db": {
"type": "stdio",
"command": "dnx",
"args": [
"linq2db.cli",
"--yes"
]
}
}
}Config formats checked against the official docs on Oct 7, 2026: modelcontextprotocol.io (opens in a new tab), code.claude.com (opens in a new tab), cursor.com (opens in a new tab), code.visualstudio.com (opens in a new tab).
About LINQ to DB
* NOTE: This is not a library you could reference from your project, but command line utility, installed using dotnet tool command (see installation notes). *
- linq
- database
- orm
- sql
- access
- db2
- firebird
- informix
- mysql
- postgresql
Similar MCP servers
More databases MCP servers
DBHub
bytebase/dbhub
Token-efficient database MCP server for PostgreSQL, MySQL, MariaDB, SQL Server, Oracle, SQLite.
Active · last commit Nov 16, 2026
DatabasesTypeScriptButterbase AI MCP Server
butterbase-ai/butterbase
Butterbase MCP server — manage your backend: schemas, auth, functions, storage, RAG, deploys.
Maintained · last commit Nov 8, 2026
DatabasesTypeScriptBla
qybaihe/bla
🛡️ BLA (bla-agents / Blind LLM Agents) — Open-source Blue Defense MCP server & CLI protecting JS/TS, Electron ASAR, WASM, Python, Native Binaries, SQLite, GGUF/Safetensors & Android DEX against AI…
Too new to judge · created Oct 25, 2026
DatabasesTypeScriptSupabase
supabase/mcp
MCP server for interacting with the Supabase platform.
Active · last commit Nov 13, 2026
OfficialDatabasesTypeScriptFinance Database
JerBouma/FinanceDatabase
Equities, ETFs, indices, currencies and cryptos, categorised.
Active · last commit Nov 15, 2026
DatabasesPythonMindwtr
dongdongbh/Mindwtr
Task automation via SQLite, desktop Local API, or Mindwtr Cloud; read-only by default.
Active · last commit Nov 16, 2026
DatabasesTypeScript
How do I install the LINQ to DB MCP server?
Add the command dnx linq2db.cli --yes to your MCP client: put it in claude_desktop_config.json for Claude Desktop, run claude mcp add for Claude Code, or add it to .cursor/mcp.json (Cursor) or .vscode/mcp.json (VS Code). The snippets on this page are ready to paste.
Is LINQ to DB free?
The server is open source under the MIT license, so running it is free. It does not declare any required API key.
Is LINQ to DB actively maintained?
The most recent commit was on Nov 16, 2026. The latest release is v6.5.1, published Oct 23, 2026. appsgit only lists MCP servers with a commit in the last six months.