SQLite MCP Server
Provides tools for interacting with SQLite databases, enabling AI agents to create databases, list tables, query data, add records, and explore schemas on local SQLite database files.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@SQLite MCP Serverlist all tables in the database"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
π§ SQLite MCP Server: Zero-Config AI Sidekick
SQLite MCP Serverλ AIκ° λΉμ μ λ‘컬 λ°μ΄ν°μ μ κ·Όνκ³ , λΆμνλ©°, μ§μμ κ΄λ¦¬ν μ μκ² λλ κ°μ₯ λ¨μνκ³ κ°λ ₯ν μΈν°νμ΄μ€μ λλ€.
π νλ‘μ νΈ μ² ν: "Zero-Configuration Sidekick"
Zero-Config: API Keyλ 볡μ‘ν μλ² μ€μ μ΄ νμ μμ΅λλ€. μ€μ§
.dbνμΌ νλλ©΄ μΆ©λΆν©λλ€.Portable Brain: νλ‘μ νΈ ν΄λλ§λ€ λ 립λ SQLite DBλ₯Ό λμ΄ AIκ° ν΄λΉ νλ‘μ νΈμ 'κΈ°μ΅'μ λ‘컬μ μ μ₯νκ³ κΊΌλ΄ μΈ μ μκ² ν©λλ€.
Security First: κ°λ ₯ν μ½κΈ° μ μ© λͺ¨λμ SQL νν°λ§μ ν΅ν΄ μμ ν λ°μ΄ν° κ΄λ¦¬λ₯Ό 보μ₯ν©λλ€.
π μ£Όμ κΈ°λ₯
π Database Discovery: νΉμ κ²½λ‘ λ΄μ λͺ¨λ SQLite νμΌ(
.db,.sqlite,.sqlite3)μ μλμΌλ‘ μ€μΊν©λλ€.πΊ Schema Introspection: DBμ μ 체 ꡬ쑰λ₯Ό νμ νμ¬ AIκ° λ°μ΄ν°μ λ§₯λ½μ μλ²½ν μ΄ν΄νκ² λμ΅λλ€.
β‘ Secure Querying:
SELECTμΏΌλ¦¬λ§ νμ©νλ κ°λ ₯ν 보μ λͺ¨λλ‘ λ°μ΄ν° λΆμμ μνν©λλ€.π Note & Record Support: AIκ° μμ΄λμ΄λ λ©λͺ¨λ₯Ό νΉμ DBμ μ¦μ κΈ°λ‘ν μ μλ μ μ© λꡬλ₯Ό μ 곡ν©λλ€.
π DB Creation: νμν κ²½μ° μλ‘μ΄ SQLite λ°μ΄ν°λ² μ΄μ€ νμΌμ μ¦μ μμ±ν μ μμ΅λλ€.
π¦ μ€μΉ λ° μ€μ
1. μ¬μ μꡬ μ¬ν
uv μ€μΉ κΆμ₯ λλ Python 3.10 μ΄μ.
2. μ¬μ© λ°©λ²
π¦ μ€μΉ λ° μ€ν (μΆμ²)
Windowsμ 보μ μ μ±
(Smart App Control λ±)μΌλ‘ μΈν΄ uvx μ¬μ© μ μ€νμ΄ μ°¨λ¨λ μ μμ΅λλ€. μ΄λ₯Ό λ°©μ§νκΈ° μν΄ ν¨ν€μ§λ₯Ό λ‘컬 λκ΅¬λ‘ μ€μΉνμ¬ μ¬μ©νλ κ²μ κΆμ₯ν©λλ€.
# uv μ¬μ© (κΆμ₯)
uv tool install sqlite-mcp-server
# λλ pip μ¬μ©
pip install sqlite-mcp-serverμ€μΉ νμλ μ΄λμλ λͺ λ Ήμ΄λ‘ μ€νν μ μμ΅λλ€:
sqlite-mcp-serverβ‘ uvx μ¬μ© (μ ν μ¬ν)
μ€μΉ μμ΄ λΉ λ₯΄κ² μ€νν΄λ³΄κ³ μΆμ λ μ¬μ©ν©λλ€ (Windowsμμ os error 4551 λ°μ μ μ μ€μΉ λ°©λ²μ μ¬μ©νμΈμ):
uvx sqlite-mcp-server3. MCP ν΄λΌμ΄μΈνΈ μ°λ
Gemini CLI (μΆμ²)
λ€μ λͺ λ Ήμ΄λ₯Ό μ€ννμ¬ μλ²λ₯Ό μΆκ°ν©λλ€:
gemini mcp add sqlite-mcp uvx sqlite-mcp-serverμ§μ μ€μ νλ €λ©΄ .gemini/settings.json νμΌμ λ€μ μ€μ μ μΆκ°νμΈμ:
{
"mcpServers": {
"sqlite-mcp": {
"command": "uvx",
"args": ["sqlite-mcp-server"]
}
}
}Claude Desktop
Claude Desktop μ€μ νμΌμ λ€μ λ΄μ©μ μΆκ°νμΈμ:
{
"mcpServers": {
"sqlite-mcp": {
"command": "uv",
"args": [
"tool",
"run",
"--from",
"sqlite-mcp-server"
]
}
}
}Claude Code
λ€μ λͺ λ Ήμ΄λ₯Ό μ€ννμ¬ μλ²λ₯Ό μΆκ°ν©λλ€:
claude mcp add sqlite-mcp -- uvx sqlite-mcp-serverπ§ μ 곡 λꡬ (Tools)
create_database(db_path): μλ‘μ΄ SQLite λ°μ΄ν°λ² μ΄μ€ νμΌμ μμ±ν©λλ€.list_databases(path): μ§μ λ κ²½λ‘μ SQLite DB λͺ©λ‘μ λ°νν©λλ€.search_databases(path, query): μ§μ λ κ²½λ‘ λ΄μ λͺ¨λ DBλ₯Ό κ²μνμ¬ νΉμ ν€μλ(ν μ΄λΈλͺ , 컬λΌλͺ )κ° ν¬ν¨λ μμΉλ₯Ό μ°Ύμ΅λλ€.get_schema_summary(db_path): DBμ λͺ¨λ ν μ΄λΈκ³Ό μ»¬λΌ κ΅¬μ‘°λ₯Ό μμ½ν΄μ 보μ¬μ€λλ€.list_tables(db_path): DB λ΄μ λͺ¨λ ν μ΄λΈ λͺ©λ‘μ κ°μ Έμ΅λλ€.describe_table(db_path, table_name): νΉμ ν μ΄λΈμ μ€ν€λ§μ μν λ°μ΄ν°λ₯Ό 보μ¬μ€λλ€.add_record(db_path, table_name, title, content): λ°μ΄ν°λ² μ΄μ€μ μλ‘μ΄ λ μ½λλ₯Ό μΆκ°ν©λλ€ (ν μ΄λΈ μλ μμ± μ§μ).execute_query(db_path, query): SELECT 쿼리λ₯Ό μ€ννμ¬ λ°μ΄ν°λ₯Ό λΆμν©λλ€.
π κ°λ°μ κ°μ΄λ
# μμ‘΄μ± μ€μΉ
uv sync
# μλ² λ‘컬 μ€ν
uv run sqlite-mcpλΌμ΄μ μ€
MIT
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
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/stevefordev/sqlite-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server