ADK MCP Server
An offline-first MCP server for querying Google ADK documentation using vector search, enabling AI models to access and understand ADK docs.
README
ADK MCP Server
An offline-first Model Context Protocol (MCP) server for querying Google ADK (Accessory Development Kit) documentation. This server uses LanceDB for vector search and FastMCP for the MCP interface, allowing AI models to access and understand ADK documentation.
Features
- Offline-first: All documentation and vector indices are stored locally.
- Fast Search: Uses LanceDB and FastEmbed for efficient vector search.
- MCP Integration: Compatible with any MCP-enabled client (like Claude Desktop).
- Easy Deployment: Can be installed as a local tool using
uv.
Prerequisites
- Python 3.13 or higher
- uv for dependency management and running.
Installation
-
Clone the repository:
git clone <repository-url> cd adk-mcp-docs -
Install dependencies:
make install # or uv sync
Usage
1. Build the Index
Before running the server, you need to build the vector index from the documentation.
make build-index
# or
uv run src/adk_mcp/builder.py
2. Run the Server (Development)
To run the server in development mode with hot-reloading:
make run
# or
uv run fastmcp run src/adk_mcp/server.py
3. Local Deployment
To install the server as a local tool accessible via uvx:
make deploy-local
# or
uv tool install . --force
After installation, you can run the server using:
uvx adk-mcp
Configuration for MCP Clients
VS Code / Antigravity
For VS Code (with compatible MCP extensions) or Antigravity, create a file at .vscode/mcp-servers.json with the following content:
{
"mcpServers": {
"adk-mcp": {
"command": "uvx",
"args": ["adk-mcp"]
}
}
}
Cursor
- Open Cursor Settings.
- Go to Features > MCP.
- Click + Add Bot.
- Set Name to
adk-mcp. - Set Type to
command. - Set Command to
uvx adk-mcp.
Claude Desktop
Add the following to your claude_desktop_config.json:
{
"mcpServers": {
"adk-mcp": {
"command": "uvx",
"args": ["adk-mcp"]
}
}
}
Project Structure
src/adk_mcp/: Source code for the MCP server.builder.py: Script to build the LanceDB index.server.py: FastMCP server implementation.data/: Directory for storing the LanceDB index (generated).
data/: (Optional) Source documentation files (if not embedded in the package).Makefile: Convenient shortcuts for common tasks.pyproject.toml: Project metadata and dependencies.
Chunking Strategy
The documentation is indexed using a context-aware chunking strategy to ensure high-quality search results:
- Header-based Splitting: Files are split by H1, H2, and H3 headers.
- Contextual Headers: Each chunk is prefixed with its hierarchical context (e.g.,
Context: Getting Started > Installation > Python). - Language Tab Handling: Special handling for documentation with language tabs (e.g.,
=== "Python",=== "Go"). Content within these tabs is indexed separately and tagged with the respective language. - Embeddings: Uses the
BAAI/bge-small-en-v1.5model for generating vector embeddings.
Available Tools
search_adk
Search the Google ADK documentation for relevant information.
Arguments:
query(string): The search query.language(string): The programming language to filter by. Supported values:"python","go","java", or"all".
Returns:
- A formatted string containing the top 5 relevant chunks, including their source URLs and content.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.