# Python Codebase Analysis RAG System

> Use this tool when you need to analyze and understand the structure and functionality of Python codebases. It solves problems such as code comprehension, navigation, and querying by utilizing Abstract Syntax Tree (AST) analysis and vector database storage, allowing for natural language queries about code elements. It takes Python codebases as input and outputs relevant information about code structure and functionality through natural language queries.

Canonical page: https://skillsregistry.net/skills/shervinemp-codebasemcp  
JSON: https://api.skillsregistry.net/v1/skills/shervinemp-codebasemcp

## Description

An MCP server that analyzes Python codebases using AST, stores code elements in a vector database, and enables natural language queries about code structure and functionality using RAG with Google's Gemini models.

## Trust

- **Trust score (0–1):** 0.12
- **Verification tier:** scanned
- **Last scanned:** 2026-09-28

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** mcp-remote
- **Runtime environment:** api
- **Category:** database
- **Updated:** 2026-09-28

## Source

- **Source listing:** [Glama](https://glama.ai/mcp/servers/ofynd814a9)
- **Repository:** <https://github.com/shervinemp/CodebaseMCP>

## Use it

Resolve this record through the SkillsRegistry MCP server (no auth, read-only):

```
claude mcp add --transport http --scope user skillsregistry https://api.skillsregistry.net/mcp
```

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_skill",
    "arguments": {
      "slug": "shervinemp-codebasemcp"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/shervinemp-codebasemcp` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/shervinemp-codebasemcp/pull`

---
SkillsRegistry indexes agent skills from public registries and GitHub. Skills we have analysed are scanned with Circle-IR and scored on six dimensions; each listing states its scan coverage. More: https://skillsregistry.net/llms.txt
