Skip to main content
Yanked

This release has been yanked by its maintainers, and will be ignored by installers, except when explicitly specified.
Reason given by maintainers: Consider an alternative such as the context7 MCP server

Git Repo Research MCP Server

⚠️ DEPRECATION NOTICE: This server is deprecated and will no longer receive updates. For library documentation and code research, we recommend Context7 which provides up-to-date docs without requiring AWS credentials. See the migration guide for details.

Model Context Protocol (MCP) server for researching Git repositories using semantic search

This MCP server enables developers to research external Git repositories and influence their code generation without having to clone repositories to local projects. It provides tools to index, search, and explore Git repositories using semantic search powered by Amazon Bedrock and FAISS.

Features

  • Repository Indexing: Create searchable FAISS indexes from local or remote Git repositories
  • Semantic Search: Query repository content using natural language and retrieve relevant code snippets
  • Repository Summary: Get directory structures and identify key files like READMEs
  • GitHub Repository Search: Find repositories in AWS-related organizations filtered by licenses and keywords
  • File Access: Access repository files and directories with support for both text and binary content

Prerequisites

Installation Requirements

  1. Install uv from Astral or the GitHub README
  2. Install Python 3.12 or newer using uv python install 3.12
    • uv - Fast Python package installer and resolver
  3. AWS credentials configured with Bedrock access
  4. Node.js (for UVX installation support)

AWS Requirements

  1. AWS CLI Configuration: You must have the AWS CLI configured with credentials that have access to Amazon Bedrock
  2. Amazon Bedrock Access: Ensure your AWS account has access to embedding models like Titan Embeddings
  3. Environment Variables: The server uses AWS_REGION and AWS_PROFILE environment variables

Optional Requirements

  1. GitHub Token: Set GITHUB_TOKEN environment variable for higher rate limits when searching GitHub repositories

Installation

Kiro Cursor VS Code
Add to Kiro Install MCP Server Install on VS Code

To add this MCP server to Kiro or Claude, add the following to your MCP config file:

{
  "mcpServers": {
    "awslabs.git-repo-research-mcp-server": {
      "command": "uvx",
      "args": ["awslabs.git-repo-research-mcp-server@latest"],
      "env": {
        "AWS_PROFILE": "your-profile-name",
        "AWS_REGION": "us-west-2",
        "FASTMCP_LOG_LEVEL": "ERROR",
        "GITHUB_TOKEN": "your-github-token"
      },
      "disabled": false,
      "autoApprove": []
    }
  }
}

Windows Installation

For Windows users, the MCP server configuration format is slightly different:

{
  "mcpServers": {
    "awslabs.git-repo-research-mcp-server": {
      "disabled": false,
      "timeout": 60,
      "type": "stdio",
      "command": "uv",
      "args": [
        "tool",
        "run",
        "--from",
        "awslabs.git-repo-research-mcp-server@latest",
        "awslabs.git-repo-research-mcp-server.exe"
      ],
      "env": {
        "FASTMCP_LOG_LEVEL": "ERROR",
        "AWS_PROFILE": "your-aws-profile",
        "AWS_REGION": "us-east-1"
      }
    }
  }
}

Tools

create_research_repository

Indexes a Git repository (local or remote) using FAISS and Amazon Bedrock embeddings.

create_research_repository(
    repository_path: str,
    output_path: Optional[str] = None,
    embedding_model: str = "amazon.titan-embed-text-v2:0",
    include_patterns: Optional[List[str]] = None,
    exclude_patterns: Optional[List[str]] = None,
    chunk_size: int = 1000,
    chunk_overlap: int = 200
) -> Dict

search_research_repository

Performs semantic search within an indexed repository.

search_research_repository(
    index_path: str,
    query: str,
    limit: int = 10,
    threshold: float = 0.0
) -> Dict

search_repos_on_github

Searches for GitHub repositories based on keywords, scoped to AWS organizations.

search_repos_on_github(
    keywords: List[str],
    num_results: int = 5
) -> Dict

access_file

Accesses file or directory contents within repositories or on the filesystem.

access_file(
    filepath: str
) -> Dict | ImageContent

delete_research_repository

Deletes an indexed repository.

delete_research_repository(
    repository_name_or_path: str,
    index_directory: Optional[str] = None
) -> Dict

Resources

repositories://repository_name/summary

Get a summary of an indexed repository including structure and helpful files.

repositories://awslabs_mcp/summary

repositories://

List all indexed repositories with detailed information.

repositories://

repositories://index_directory

List all indexed repositories from a specific index directory.

repositories:///path/to/custom/index/directory

Considerations

  • Repository indexing requires Amazon Bedrock access and sufficient permissions
  • Large repositories may take significant time to index
  • Binary files (except images) are not supported for content viewing
  • GitHub repository search is by default limited to AWS organizations: aws-samples, aws-solutions-library-samples, and awslabs (but can be configured to include other organizations)

Release files for awslabs.git-repo-research-mcp-server 1.0.15

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for awslabs.git-repo-research-mcp-server 1.0.15
File Size Uploaded
awslabs_git_repo_research_mcp_server-1.0.15.tar.gz 227.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for awslabs.git-repo-research-mcp-server 1.0.15
File Interpreter ABI Platform
awslabs_git_repo_research_mcp_server-1.0.15-py3-none-any.whl Python 3 none any Details

Total release size:275.5 kB

Release files / awslabs_git_repo_research_mcp_server-1.0.15.tar.gz

Download URL awslabs_git_repo_research_mcp_server-1.0.15.tar.gz
Size 227.7 kB
Tags Source
SHA-256 checksum
How to use checksums
c3852752b10c385115ce7849358375be2cf19f8a685fa7693dc5062537e454d2
BLAKE2b-256 checksum
How to use checksums
1820e4f1aae23544be17373b96116895b5fdeb7aefbdadf84c88f6b60f0458fd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Mar 24, 2026.

Transparency log

Release files / awslabs_git_repo_research_mcp_server-1.0.15-py3-none-any.whl

Download URL awslabs_git_repo_research_mcp_server-1.0.15-py3-none-any.whl
Size 47.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1d551a4b10348b9f1401ad6f0afb0bbc8d1f8419d9bb9e31048510badd852f49
BLAKE2b-256 checksum
How to use checksums
b412fc0b21f92bdee33bd2229864026a4ad37fce72649e5a3d4cb7937848dfcf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Mar 24, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

1.0.15 This release

2 release files

1.0.12

2 release files

1.0.10

2 release files

1.0.9

2 release files

1.0.8

2 release files

1.0.6

2 release files

1.0.5

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page