You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have verified that this discussion would not be more appropriate as an issue in a specific repository
I have searched existing discussions to avoid duplicates
Discussion Topic
I would like to share my personal step-by-step experience to connect Claude Desktop with SQLite. As I spent two days, trying to figure out how to connect my sqlite database to Claude desktop. After searching the mcp official website as well as the discussions here, I am not able to find a solution thus I throw this question to Claude and try to figure out a solution.
Setup Python Virtual Environment:
mkdir claude-mcp-project
cd claude-mcp-project
python -m venv venv
source venv/bin/activate
Configure claude Desktop and modified calude_desktop_config.json with:
"sqlite": {
"command": "~/venv/bin/mcp-server-sqlite", ## this should be the directory where mcp-server-sqlite package is installed
"args": [
"--db-path",
"~/test.db" ## this should be the directory where database is saved
]
}
Restarted Claude Desktop to apply the configuration.
Please note that the example that provided here showed two different approaches, which I have trouble understanding due to my limited experiences and thus figured out a different way. Hope it would help!
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Pre-submission Checklist
Discussion Topic
I would like to share my personal step-by-step experience to connect Claude Desktop with SQLite. As I spent two days, trying to figure out how to connect my sqlite database to Claude desktop. After searching the mcp official website as well as the discussions here, I am not able to find a solution thus I throw this question to Claude and try to figure out a solution.
Install required package:
pip install mcp-server-sqlite
Configure claude Desktop and modified calude_desktop_config.json with:
Please note that the example that provided here showed two different approaches, which I have trouble understanding due to my limited experiences and thus figured out a different way. Hope it would help!
Beta Was this translation helpful? Give feedback.
All reactions