Skip to main content
Glama
steveday763

Android Code Search MCP Server

by steveday763

Android Code Search MCP Server

npm version npm downloads GitHub stars License: MIT

English | 简体中文

A Model Context Protocol (MCP) server for searching and browsing Android source code via cs.android.com.

Preview

Preview

Related MCP server: Android Development MCP Server

Features

  • Code Search: Search through Android source code with regex support

  • File Content: Retrieve full source file contents

  • Symbol Suggestions: Get autocomplete suggestions for classes, methods, files

  • Multiple Projects: Search across Android, AndroidX, Android Studio, and LLVM projects

Installation

Claude Code

claude mcp add cs-android -- npx -y cs-android-mcp

Cursor

{
  "mcpServers": {
    "cs-android": {
      "command": "npx",
      "args": ["-y", "cs-android-mcp"]
    }
  }
}

Other MCP Clients

Any MCP-compatible client can use the stdio transport:

npx -y cs-android-mcp

Or install globally:

npm install -g cs-android-mcp
cs-android-mcp

Available Tools

search_android_code

Search for code in Android source repositories.

Parameter

Required

Description

query

Yes

Search query (supports regex, file:, class:, function: operators)

project

No

Filter by project: android, androidx, android-studio, android-llvm

pageSize

No

Number of results (default: 10, max: 50)

contextLines

No

Context lines around matches (default: 1)

get_file_content

Get the full content of a source file.

Parameter

Required

Description

project

Yes

Project name

repository

Yes

Repository path

branch

Yes

Branch name

path

Yes

File path

suggest_symbols

Get symbol suggestions for partial queries.

Parameter

Required

Description

query

Yes

Partial query

maxResults

No

Max suggestions (default: 7)

list_projects

List all available Android source projects.

License

MIT

Install Server
A
license - permissive license
B
quality
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

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

  • A
    license
    -
    quality
    D
    maintenance
    Provides Android development assistance following NowInAndroid best practices, including architecture patterns, code generation for feature modules/ViewModels/repositories, and searchable documentation for Jetpack Compose and modularization.
    Last updated
    MIT
  • A
    license
    -
    quality
    D
    maintenance
    Enables fast semantic code search and analysis across 15+ programming languages. Supports searching for functions and classes, tracing code usage, detecting syntax errors, and analyzing code quality and structure.
    Last updated
    120
    32
    GPL 3.0
  • A
    license
    -
    quality
    D
    maintenance
    Enables Android Automotive developers to explore and implement Vehicle Hardware Abstraction Layer (vHAL) properties with intelligent tools for property analysis, source code lookup, implementation guidance, and automated code generation for automotive systems like climate control and seat management.
    Last updated
    1
    MIT

View all related MCP servers

Related MCP Connectors

  • Get up-to-date, version-specific documentation and code examples from official sources directly in…

  • Search public open-source code, documentation, metadata, vulnerabilities, changelogs, and examples.

  • Connect to Atlassian Jira, Confluence, and Compass to search, create, and manage your work.

View all MCP Connectors

Latest Blog Posts

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/steveday763/cs_android_mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server