# Code Fundi MCP server

> Enables AI agents to search, index, and analyze codebases with dependency mapping and blast-radius impact analysis.

- Repository: https://github.com/Code-Fundi/code-fundi-mcp
- Page: https://hostedmcp.org/servers/code-fundi/code-fundi-mcp
- Transport: stdio
- Stars: 1
- Latest version: 0.1.4

## Install

### Claude Code

```sh
claude mcp add code-fundi-mcp -- npx -y @codefundi/code-fundi-mcp
```

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

```json
{
  "mcpServers": {
    "code-fundi-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@codefundi/code-fundi-mcp"
      ]
    }
  }
}
```

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

```json
{
  "servers": {
    "code-fundi-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@codefundi/code-fundi-mcp"
      ]
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"code-fundi-mcp","type":"stdio","command":"npx","args":["-y","@codefundi/code-fundi-mcp"]}'
```

### Claude Desktop (`claude_desktop_config.json`)

```json
{
  "mcpServers": {
    "code-fundi-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@codefundi/code-fundi-mcp"
      ]
    }
  }
}
```

### Codex

```sh
codex mcp add code-fundi-mcp -- npx -y @codefundi/code-fundi-mcp
```

### Codex config.toml (`~/.codex/config.toml`)

```toml
[mcp_servers.code-fundi-mcp]
command = "npx"
args = ["-y", "@codefundi/code-fundi-mcp"]
```

### Gemini CLI

```sh
gemini mcp add -s user code-fundi-mcp npx -- -y @codefundi/code-fundi-mcp
```

### Gemini settings.json (`~/.gemini/settings.json`)

```json
{
  "mcpServers": {
    "code-fundi-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@codefundi/code-fundi-mcp"
      ]
    }
  }
}
```

## Environment variables

| Name | Required | Secret | Description |
|---|---|---|---|
| `CODEFUNDI_API_KEY` | no | no |  |

## Tools (27)

- `code-fundi-search`
- `code-fundi-research`
- `code-fundi-list-repos`
- `code-fundi-index-repo`
- `code-fundi-repo-status`
- `code-fundi-repo-readme`
- `code-fundi-list-public-repos`
- `code-fundi-repo-map`
- `code-fundi-repo-blueprint`
- `code-fundi-repo-radius`
- `code-fundi-list-files`
- `code-fundi-file-docs`
- `code-fundi-list-history`
- `code-fundi-history-item`
- `code-fundi-conversation`
- `code-fundi-usage-stats`
- `code-fundi-activity-stats`
- `code-fundi-language-stats`
- `code-fundi-auth-authenticate`
- `code-fundi-auth-verify`
- `code-fundi-auth-resend`
- `code-fundi-list-api-keys`
- `code-fundi-regenerate-api-key`
- `code-fundi-disable-api-key`
- `code-fundi-chat`
- `code-fundi-list-models`
- `code-fundi-model-limits`

## FAQ

### How can I use Code Fundi without a pre-configured API key?

You can use the OTP self-auth flow or password sign-in at runtime through the provided authentication tools.

### Does the API key persist after the server restarts?

No, the API key is held in memory for the lifetime of the process and is not persisted across IDE or MCP restarts.
