Top AI Repos — open-source AI, indexed and scored
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
Minimal MCP Server for Aider
| Date | Stars |
|---|---|
| 2026-07-31 | 304 |
| 2026-08-06 | 305 |
Today
+1 stars today
This week
— stars this week
This month
— stars this month
Momentum
0.0
growth rate 0.00%/day
# Aider MCP Server - Experimental
> Model context protocol server for offloading AI coding work to Aider, enhancing development efficiency and flexibility.
## Overview
This server allows Claude Code to offload AI coding tasks to Aider, the best open source AI coding assistant. By delegating certain coding tasks to Aider, we can reduce costs, gain control over our coding model and operate Claude Code in a more orchestrative way to review and revise code.
## Setup
0. Clone the repository:
```bash
git clone https://github.com/disler/aider-mcp-server.git
```
1. Install dependencies:
```bash
uv sync
```
2. Create your environment file:
```bash
cp .env.sample .env
```
3. Configure your API keys in the `.env` file (or use the mcpServers "env" section) to have the api key needed for the model you want to use in aider:
```
GEMINI_API_KEY=your_gemini_api_key_here
OPENAI_API_KEY=your_openai_api_key_here
ANTHROPIC_API_KEY=your_anthropic_api_key_here
...see .env.sample for more
```
4. Copy and fill out the the `.mcp.json` into the root of your project and update the `--directory` to point to this project's root directory and the `--current-working-dir` to point to the root of your project.
```json
{
"mcpServers": {
"aider-mcp-server": {
"type": "stdio",
"command": "uv",
"args": [
"--directory",
"<path to this project>",
"run",
"aider-mcp-server",
"--editor-model",
"gpt-4o",
"--current-working-dir",
"<path to your project>"
],
"env": {
"GEMINI_API_KEY": "<your gemini api key>",
"OPENAI_API_KEY": "<your openai api key>",
"ANTHROPIC_API_KEY": "<your anthropic api key>",
...see .env.sample for more
}
}
}
}
```
## Testing
> Tests run with gemini-2.5-pro-exp-03-25
To run all tests:
```bash
uv run pytest
```
To run specific tests:
```bash
# Test listing models
uv run pytest src/aider_mcp_server/tests/atoms/tools/test_aider_list_models.py
# Test AI coding
uv run pytest src/aider_mcp_server/tests/atoms/tools/test_aider_ai_code.py
```
Note: The AI coding tests require a valid API key for the Gemini model. Make sure to set it in your `.env` file before running the tests.
## Add this MCP server to Claude Code
### Add with `gemini-2.5-pro-exp-03-25`
```bash
claude mcp add aider-mcp-server -s local \
-- \
uv --directory "<path to the aider mcp server project>" \
run aider-mcp-server \
--editor-model "gemini/gemini-2.5-pro-exp-03-25" \
--current-working-dir "<path to your project>"
```
### Add with `gemini-2.5-pro-preview-03-25`
```bash
claude mcp add aider-mcp-server -s local \
-- \
uv --directory "<path to the aider mcp server project>" \
run aider-mcp-server \
--editor-model "gemini/gemini-2.5-pro-preview-03-25" \
--current-working-dir "<path to your project>"
```
### Add with `quasar-alpha`
```bash
claude mcp add aider-mcp-server -s local \
-- \
uv --directory "<path to the aider mcp server project>" \
run aider-mcp-server \
--editor-model "openrouter/openrouter/quasar-alpha" \
--current-working-dir "<path to your project>"
```
### Add with `llama4-maverick-instruct-basic`
```bash
claude mcp add aider-mcp-server -s local \
-- \
uv --directory "<path to the aider mcp server project>" \
run aider-mcp-server \
--editor-model "fireworks_ai/accounts/fireworks/models/llama4-maverick-instruct-basic" \
--current-working-dir "<path to your project>"
```
## Usage
This MCP server provides the following functionalities:
1. **Offload AI coding tasks to Aider**:
- Takes a prompt and file paths
- Uses Aider to implement the requested changes
- Returns success or failure
2. **List available models**:
- Provides a list of models matching a substring
- Useful for discovering supported models
## Available Tools
This MCP server exposes the following tools:
### 1. `aider_ai_code`
This tool allows you to run Aider to perform AI coding taskExcerpt of 9,767 characters
Read on GitHubWould you bet a product on this? Bounded 0–100 and slow moving.
matched fp:2a37abc1be6fa11a, name:mcp server, desc:mcp server