android-docs-mcp
Provides tools for searching and retrieving Android documentation, API references, package lists, and release notes from developer.android.com.
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., "@android-docs-mcpsearch for Jetpack Compose layout"
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.
Android Docs MCP Server
An MCP (Model Context Protocol) server that gives AI agents direct access to developer.android.com — search docs, look up API references, browse packages, and check release notes.
Quick Start
No installation needed — run directly with npx or bunx:
npx android-docs-mcpbunx android-docs-mcpRelated MCP server: OmniDocs MCP
Usage
VS Code
Add to your .vscode/mcp.json (or use the included one if cloning the repo):
{
"servers": {
"android-docs": {
"type": "stdio",
"command": "npx",
"args": ["-y", "android-docs-mcp"]
}
}
}Claude Desktop / Cursor / other MCP clients
Add to your MCP config:
{
"mcpServers": {
"android-docs": {
"command": "npx",
"args": ["-y", "android-docs-mcp"]
}
}
}From source
git clone https://github.com/ankit-verma-209171/android-docs-mcp.git
cd android-docs-mcp
bun install
bun run devTools
search_android_docs
Search across all Android documentation.
Parameter | Type | Default | Description |
| string | (required) | Search query |
| number | 10 | Max results (1–30) |
get_android_doc_page
Fetch and parse any developer.android.com page into Markdown.
Parameter | Type | Description |
| string | Full URL to a developer.android.com page |
get_api_reference
Look up API reference for a specific class by fully-qualified name.
Parameter | Type | Default | Description |
| string | (required) | FQCN (e.g., |
|
| auto | Defaults to kotlin for AndroidX, java for platform |
list_android_packages
List available packages from the official package index.
Parameter | Type | Default | Description |
|
|
| Package set |
|
|
| Doc language |
| string | — | Substring filter (e.g., |
get_release_notes
Fetch Jetpack library release notes.
Parameter | Type | Default | Description |
| string | (required) | Library name (e.g., |
| string | — | Filter to a specific version |
| number | 5 | Max entries (1–50) |
Configuration
Environment Variable | Default | Description |
|
| Cache time-to-live in milliseconds |
Architecture
src/
├── index.ts # MCP server entrypoint
├── lib/
│ ├── cache.ts # In-memory LRU cache (500 entries, 24h TTL)
│ ├── fetcher.ts # HTTP fetch with retry + cache integration
│ ├── parser.ts # HTML → Markdown (cheerio + turndown)
│ └── url-resolver.ts # FQCN → URL mapping
└── tools/
├── search.ts # search_android_docs
├── get-doc.ts # get_android_doc_page
├── get-api-reference.ts # get_api_reference
├── list-packages.ts # list_android_packages
└── get-release-notes.ts # get_release_notesDisclaimer
This tool fetches content from developer.android.com on demand at runtime. The documentation content is owned by Google and licensed under the Creative Commons Attribution 2.5 License, and code samples are licensed under the Apache 2.0 License. This project is not affiliated with or endorsed by Google.
License
Apache 2.0 — see LICENSE for details.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityDmaintenanceAn MCP server that provides version-pinned, deterministic documentation sourced from DevDocs.io to AI assistants (Claude, RooCode, Cline, Copilot etc.) and also via offline mode. Not via Scraping! But using the supported downloading option from devdocs.Last updated4712MIT
- Flicense-qualityDmaintenanceAn intelligent MCP server that enables AI agents to crawl, index, and semantically search official framework documentation using local RAG. It prevents hallucinations by providing precise, up-to-date documentation excerpts directly into the AI's context window.Last updated1
- Flicense-qualityDmaintenanceAn offline-first MCP server for querying Google ADK documentation using vector search, enabling AI models to access and understand ADK docs.Last updated3
- Alicense-qualityDmaintenanceMCP server that gives LLMs access to up-to-date mobile SDK documentation, package registry info, and GitHub issues.Last updated15MIT
Related MCP Connectors
An MCP server that gives your AI access to the source code and docs of all public github repos
Driflyte MCP server which lets AI assistants query topic-specific knowledge from web and GitHub.
Augments MCP Server - A comprehensive framework documentation provider for Claude Code
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/ankit-verma-209171/android-docs-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server