An AWS Labs Model Context Protocol (MCP) server for researching git repositories
Reason this release was yanked:
Consider an alternative such as the context7 MCP server
Project description
Git Repo Research MCP Server
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
- Install
uvfrom Astral or the GitHub README - Install Python 3.12 or newer using
uv python install 3.12 -
- uv - Fast Python package installer and resolver
- AWS credentials configured with Bedrock access
- Node.js (for UVX installation support)
AWS Requirements
- AWS CLI Configuration: You must have the AWS CLI configured with credentials that have access to Amazon Bedrock
- Amazon Bedrock Access: Ensure your AWS account has access to embedding models like Titan Embeddings
- Environment Variables: The server uses
AWS_REGIONandAWS_PROFILEenvironment variables
Optional Requirements
- GitHub Token: Set
GITHUB_TOKENenvironment variable for higher rate limits when searching GitHub repositories
Installation
| Kiro | Cursor | 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)
Project details
Release history Release notifications | RSS feed
1.0.9 yanked
Reason this release was yanked:
Consider an alternative such as the context7 MCP server
1.0.8 yanked
Reason this release was yanked:
Consider an alternative such as the context7 MCP server
1.0.6 yanked
Reason this release was yanked:
Consider an alternative such as the context7 MCP server
1.0.5 yanked
Reason this release was yanked:
Consider an alternative such as the context7 MCP server
1.0.4 yanked
Reason this release was yanked:
Consider an alternative such as the context7 MCP server
1.0.3 yanked
Reason this release was yanked:
Consider an alternative such as the context7 MCP server
1.0.2 yanked
Reason this release was yanked:
Consider an alternative such as the context7 MCP server
1.0.1 yanked
Reason this release was yanked:
Consider an alternative such as the context7 MCP server
1.0.0 yanked
Reason this release was yanked:
Consider an alternative such as the context7 MCP server
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file awslabs_git_repo_research_mcp_server-1.0.13.tar.gz.
File metadata
- Download URL: awslabs_git_repo_research_mcp_server-1.0.13.tar.gz
- Upload date:
- Size: 226.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b114b73918e461b1c084aa35216d37a65ff5aa75786df2b852b12459cd776f1d
|
|
| MD5 |
974f9aa9247b7756b437b033dc8fa5b6
|
|
| BLAKE2b-256 |
54f260c04878e8196c6a983d6daf67ffecdf045c8d176c39db0d576c2146535c
|
Provenance
The following attestation bundles were made for awslabs_git_repo_research_mcp_server-1.0.13.tar.gz:
Publisher:
release.yml on awslabs/mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
awslabs_git_repo_research_mcp_server-1.0.13.tar.gz -
Subject digest:
b114b73918e461b1c084aa35216d37a65ff5aa75786df2b852b12459cd776f1d - Sigstore transparency entry: 916890299
- Sigstore integration time:
-
Permalink:
awslabs/mcp@cd57218bfca749cb85eab44832fa2f9dff9e654d -
Branch / Tag:
refs/tags/2026.02.20260204163019 - Owner: https://github.com/awslabs
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@cd57218bfca749cb85eab44832fa2f9dff9e654d -
Trigger Event:
push
-
Statement type:
File details
Details for the file awslabs_git_repo_research_mcp_server-1.0.13-py3-none-any.whl.
File metadata
- Download URL: awslabs_git_repo_research_mcp_server-1.0.13-py3-none-any.whl
- Upload date:
- Size: 46.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9e806f97be5ab44c512f12e32f39277746ad967d847d306da0007bd63cf294f0
|
|
| MD5 |
a7edec678f54c352ff4f7cf405e7325c
|
|
| BLAKE2b-256 |
810b2030dbef75ccaf4721cba6ca0919c7308e6e06053eb75723eb6bb8a7737e
|
Provenance
The following attestation bundles were made for awslabs_git_repo_research_mcp_server-1.0.13-py3-none-any.whl:
Publisher:
release.yml on awslabs/mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
awslabs_git_repo_research_mcp_server-1.0.13-py3-none-any.whl -
Subject digest:
9e806f97be5ab44c512f12e32f39277746ad967d847d306da0007bd63cf294f0 - Sigstore transparency entry: 916890351
- Sigstore integration time:
-
Permalink:
awslabs/mcp@cd57218bfca749cb85eab44832fa2f9dff9e654d -
Branch / Tag:
refs/tags/2026.02.20260204163019 - Owner: https://github.com/awslabs
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@cd57218bfca749cb85eab44832fa2f9dff9e654d -
Trigger Event:
push
-
Statement type: