Android Sqlite
FreeNot checkedEnables AI agents to directly access and query Android app databases (SQLite/Room) via ADB, supporting schema inspection and live SQL CRUD operations.
About
Enables AI agents to directly access and query Android app databases (SQLite/Room) via ADB, supporting schema inspection and live SQL CRUD operations.
README
A Model Context Protocol (MCP) server to connect AI agents directly to the embedded SQLite/Room databases of your Android applications.
What problem does this solve?
Accessing embedded databases (SQLite, Room, SQLDelight) on Android devices during development has historically been a cumbersome process. It requires running adb shell run-as commands, manually copying files, dealing with .db-wal (Write-Ahead Logging) files to prevent data loss, and then using external SQL clients to read the information.
This MCP server automates the entire process. It allows any AI agent (like Claude, Cursor, or Antigravity) to inspect tables, read schemas, and execute live SQL queries (SELECT, INSERT, UPDATE, DELETE) on your application's database, right from the chat window.
Features
- 📥 Secure Extraction: Uses
adb exec-out run-asto safely extract data without corruption and without requiring root access. - 🗄️ Smart Caching: Stores local copies organized in
~/.android-sqlite-mcp/cache/. - 🔍 Search and Inspection: Tools to search installed packages, list databases, view tables, and retrieve full DDL schemas.
- ⚡ Queries (CRUD): Executes raw SQL queries locally and returns the results in JSON format to the AI.
Technical Prerequisites
- Node.js: Version 18 or higher.
- Android Debug Bridge (ADB): Must be installed and configured in your system's
PATH(verify withadb version). - Device/Emulator: A device or emulator must be connected (
adb devices). - Debuggable App: The Android app must be compiled in debug mode (
android:debuggable="true").
Getting Started (Standard Configuration)
There is no need to manually download or build this repository. You can run the server on the fly using npx.
The standard format to register an MCP server in any client is the following:
{
"mcpServers": {
"android-sqlite": {
"command": "npx",
"args": ["-y", "android-sqlite-mcp"]
}
}
}
AI Client Installation Guides
1. Antigravity
Add the server by editing the
mcp_settings.json file in your global directory (e.g., ~/.gemini/antigravity/mcp_settings.json):{
"mcpServers": {
"android-sqlite": {
"command": "npx",
"args": ["-y", "android-sqlite-mcp"]
}
}
}
2. Claude Code (CLI)
If you are using Anthropic's official terminal tool, you can register the server directly with this command:
claude mcp add android-sqlite npx -y android-sqlite-mcp
3. Cursor IDE
In Cursor, MCPs are configured via the graphical interface:
- Go to Cursor Settings > Features > MCP.
- Click on "+ Add New MCP Server".
- Fill in the details:
- Type:
command - Name:
android-sqlite - Command:
npx -y android-sqlite-mcp
- Type:
- Save and verify that the indicator changes to "Connected" (green).
4. Claude Desktop
Edit your configuration file (located at
~/.config/Claude/claude_desktop_config.json on macOS/Linux or %APPDATA%\Claude\claude_desktop_config.json on Windows) and add the JSON block from the Getting Started section. Remember to restart the application after saving the changes.
Installing Android Sqlite
This server has no published package — it is built from source. Open the repository and follow its README.
▸ github.com/Feliicks/android-sqlite-mcpFAQ
Is Android Sqlite MCP free?
Yes, Android Sqlite MCP is free — one-click install via Unyly at no cost.
Does Android Sqlite need an API key?
No, Android Sqlite runs without API keys or environment variables.
Is Android Sqlite hosted or self-hosted?
Self-hosted: the server runs locally on your machine via the install command above.
How do I install Android Sqlite in Claude Desktop, Claude Code or Cursor?
Open Android Sqlite on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
wenb1n-dev/SmartDB_MCP
A universal database MCP server supporting simultaneous connections to multiple databases. It provides tools for database operations, health analysis, SQL optim
by wenb1n-devPostgres Server
This server enables interaction with PostgreSQL databases through the Model Context Protocol, optimized for the AWS Bedrock AgentCore Runtime. It provides tools
by madhurprashPostgres
Query your database in natural language
by AnthropicPostgreSQL
Read-only database access with schema inspection.
by modelcontextprotocolCompare Android Sqlite with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All data MCPs
