# CogniRepo

> CogniRepo is an open-source MCP server. FAISS, call graph, AST, BM25 — 34 MCP tools for AI agents. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Repository:** https://github.com/ashlesh-t/cognirepo
- **MCP Registry name:** io.github.ashlesh-t/cognirepo
- **Listing updated:** 2026-11-13

## About

FAISS, call graph, AST, BM25 — 34 MCP tools for AI agents. 50-80% token reduction. Offline.

## Install

### Claude Code (Terminal)

```sh
claude mcp add cognirepo -- uvx cognirepo
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "cognirepo": {
      "command": "uvx",
      "args": [
        "cognirepo"
      ]
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "cognirepo": {
      "command": "uvx",
      "args": [
        "cognirepo"
      ]
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "cognirepo": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "cognirepo"
      ]
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "cognirepo": {
      "command": "uvx",
      "args": [
        "cognirepo"
      ]
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "cognirepo": {
      "command": "uvx",
      "args": [
        "cognirepo"
      ]
    }
  }
}
```

## FAQ

### Is CogniRepo free?

Yes. CogniRepo is open source, so you can use and self-host it for free.

### How do I add CogniRepo to Claude Code?

Run this command in your terminal: claude mcp add cognirepo -- uvx cognirepo

## Where this comes from

- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.

---
Source: https://ai-powered.com/mcp/cognirepo
