# cohors

The cohors MCP server for Claude Code reports Git repository status and open tasks. Ask the agent for a cross-project overview or a Git action.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 12 repo stars
- Author: rushirb2001
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/rushirb2001/cohors
- Updated: 2026-11-16
- Security check: automated, 2026-11-17 (text) — warning: a command downloads a script from github.com and runs it right away. Do not run such commands without an explicit yes from the human.
- HTML: https://affpapa.org/en/nevibecode/mcp/cohors

## What it does

cohors gathers information from local Git repositories, including unpushed changes, branches behind their remotes, and open tasks. An agent can request a combined status report to see which repositories need attention.

The server also exposes Git actions that run on request. It needs `git` and a `GITHUB_TOKEN` value passed during setup. Set repository locations with `cohors --root`, or save roots and other settings using `cohors init` in `~/.config/cohors/config.toml`.

## Requirements
- Needs: Python and uv (commands run via uvx)
- Environment variables: `GITHUB_TOKEN` — keys and tokens: ask the human for the values, never commit them or put them in shared files.

## Install

### Claude Code (native platform)

**Platform CLI**
```bash
claude mcp add cohors -e GITHUB_TOKEN=<GITHUB_TOKEN> -- uvx cohors
```
Replace <…> with your own values. uvx runs the command named after the package; if the README names another one, use uvx --from cohors <command>

### Codex

**Platform CLI**
```bash
codex mcp add cohors --env GITHUB_TOKEN=<GITHUB_TOKEN> -- uvx cohors
```
Replace <…> with your own values. uvx runs the command named after the package; if the README names another one, use uvx --from cohors <command>

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "cohors": {
            "command": "uvx",
            "args": [
                "cohors"
            ],
            "env": {
                "GITHUB_TOKEN": "<GITHUB_TOKEN>"
            }
        }
    }
}
```
Replace <…> with your own values. uvx runs the command named after the package; if the README names another one, use uvx --from cohors <command>

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "cohors": {
            "type": "stdio",
            "command": "uvx",
            "args": [
                "cohors"
            ],
            "env": {
                "GITHUB_TOKEN": "<GITHUB_TOKEN>"
            }
        }
    }
}
```
Replace <…> with your own values. uvx runs the command named after the package; if the README names another one, use uvx --from cohors <command>

### Gemini CLI

**Platform CLI**
```bash
gemini mcp add -e GITHUB_TOKEN=<GITHUB_TOKEN> cohors uvx cohors
```
Replace <…> with your own values. uvx runs the command named after the package; if the README names another one, use uvx --from cohors <command>

## When to use it
- find repositories with unpushed changes
- collect open tasks across several projects
- spot repositories that have fallen behind their remotes
- run a requested Git action across selected repositories

## Example prompts
- Summarize the status of my Git repositories.
- Which projects still have unpushed changes?
- List open tasks across my repositories.

## Similar
- [Context7](https://affpapa.org/en/nevibecode/mcp/context7.md) — MCP server · 5563 installs
- [Search Google Flights](https://affpapa.org/en/nevibecode/mcp/search-google-flights.md) — MCP server · 2595 installs
- [Math-MCP](https://affpapa.org/en/nevibecode/mcp/math-mcp.md) — MCP server · 5958 installs
- [pipeworx gateway](https://affpapa.org/en/nevibecode/mcp/pipeworx-gateway.md) — MCP server · 419019 installs
- [SparkForge](https://affpapa.org/en/nevibecode/mcp/sparkforge.md) — MCP server · 219896 installs
- [OpenWebSearch](https://affpapa.org/en/nevibecode/mcp/openwebsearch.md) — MCP server · 494 installs

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
