🧠 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-server
3. 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
Metadata
Release files for sqlite-mcp-server 0.1.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| sqlite_mcp_server-0.1.7.tar.gz | 51.4 kB | With provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| sqlite_mcp_server-0.1.7-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 58.8 kB
Release files / sqlite_mcp_server-0.1.7.tar.gz
| Download URL | sqlite_mcp_server-0.1.7.tar.gz |
|---|---|
| Size | 51.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
006ff0347620db419bf23ef5132e4339b5e0fe97f653ecec1188c308ff358853
|
|
BLAKE2b-256 checksum How to use checksums |
3b45da3aa0cf6b9b2a2b616e5e4e740a61cff7c47aefeeaf2f2db67d5d241b90
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 19, 2026.
Transparency logRelease files / sqlite_mcp_server-0.1.7-py3-none-any.whl
| Download URL | sqlite_mcp_server-0.1.7-py3-none-any.whl |
|---|---|
| Size | 7.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
efab654e7c6da2cb8a90eddd3c290b743e68d9af60b72efe2c51db39854c265c
|
|
BLAKE2b-256 checksum How to use checksums |
fcaf3827af9c8c010d8e89dd7660cec96a1f2188cea631a2bf0941cd2a3448f0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 19, 2026.
Transparency logSecurity for sqlite-mcp-server 0.1.7
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for sqlite_mcp_server-0.1.7.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 19, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.