# Kernal MCP server

> Builds a graph-native knowledge graph by automatically extracting entities and relationships from natural conversations via MCP.

- Repository: https://github.com/pintomatic/kernal
- Page: https://hostedmcp.org/servers/pintomatic/kernal
- Transport: stdio
- Stars: 2
- License: MIT
- Latest version: 0.2.1

## Install

### Claude Code

```sh
claude mcp add kernal -- npx -y kernal-mcp
```

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

```json
{
  "mcpServers": {
    "kernal": {
      "command": "npx",
      "args": [
        "-y",
        "kernal-mcp"
      ]
    }
  }
}
```

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

```json
{
  "servers": {
    "kernal": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "kernal-mcp"
      ]
    }
  }
}
```

### VS Code CLI

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

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

```json
{
  "mcpServers": {
    "kernal": {
      "command": "npx",
      "args": [
        "-y",
        "kernal-mcp"
      ]
    }
  }
}
```

### Codex

```sh
codex mcp add kernal -- npx -y kernal-mcp
```

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

```toml
[mcp_servers.kernal]
command = "npx"
args = ["-y", "kernal-mcp"]
```

### Gemini CLI

```sh
gemini mcp add -s user kernal npx -- -y kernal-mcp
```

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

```json
{
  "mcpServers": {
    "kernal": {
      "command": "npx",
      "args": [
        "-y",
        "kernal-mcp"
      ]
    }
  }
}
```

## Environment variables

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

## Tools (13)

- `kernal_remember`
- `kernal_add_person`
- `kernal_add_org`
- `kernal_add_activity`
- `kernal_add_action`
- `kernal_link`
- `kernal_recall`
- `kernal_people`
- `kernal_orgs`
- `kernal_activities`
- `kernal_actions`
- `kernal_context`
- `kernal_correct`

## FAQ

### How does Kernal store my data?

Kernal uses a local-first SQLite database, ensuring your data never leaves your machine when running the open-source version.

### Can I use Kernal with Claude Desktop?

Yes, you can add the Kernal MCP server to your Claude Desktop configuration to talk naturally about meetings and interactions.

### How does the server prevent duplicate entries?

The server uses entity resolution with fuzzy matching and Levenshtein distance to prevent duplicate entities.

### What kind of entities can be stored?

The system stores people, organizations, topics, activities, actions, and notes in a connected relationship graph.
