Skip to main content
Glama
README.md
```
██╗  ██╗ █████╗  ██████╗██╗  ██╗███╗   ███╗██████╗ 
██║  ██║██╔══██╗██╔════╝██║ ██╔╝████╗ ████║██╔══██╗
███████║███████║██║     █████╔╝ ██╔████╔██║██║  ██║
██╔══██║██╔══██║██║     ██╔═██╗ ██║╚██╔╝██║██║  ██║
██║  ██║██║  ██║╚██████╗██║  ██╗██║ ╚═╝ ██║██████╔╝
╚═╝  ╚═╝╚═╝  ╚═╝ ╚═════╝╚═╝  ╚═╝╚═╝     ╚═╝╚═════╝ 
                                                   
```

# @zyx1121/hackmd-mcp

MCP server for HackMD — list, read, create, update, and delete notes via Claude Code.

## Setup

### 1. Get API Token

1. 登入 [HackMD](https://hackmd.io)
2. 進入 [Settings → API](https://hackmd.io/settings#api)
3. 點 **Create API token**,取一個名稱
4. 複製 token(關掉視窗後就看不到了)

### 2. Configure MCP

```json
{
  "mcpServers": {
    "hackmd": {
      "command": "npx",
      "args": ["-y", "@zyx1121/hackmd-mcp"],
      "env": {
        "HACKMD_API_TOKEN": "your-token-here"
      }
    }
  }
}
```

## Tools

| Tool | Description |
|:-----|:------------|
| `get_me` | Get current user profile |
| `list_notes` | List all notes |
| `get_note` | Get a note (with content) |
| `create_note` | Create a new note |
| `update_note` | Update content or permissions |
| `delete_note` | Delete a note |
| `get_history` | Get reading history |
| `list_teams` | List teams |
| `list_team_notes` | List notes of a team |
| `create_team_note` | Create a note in a team |
| `update_team_note` | Update a team note |
| `delete_team_note` | Delete a team note |

## License

[MIT](LICENSE.md) — Note to self.

TDQS

B3.4/5.0

Scored across 12 tools

Disambiguation5/5

Each tool targets a clear and distinct resource (personal note vs. team note, history, user, team) with well-defined actions, so agents can easily differentiate them.

Naming Consistency5/5

All tool names follow a consistent verb_noun pattern in snake_case (e.g., create_note, list_teams, update_team_note), with no mixing of conventions.

Tool Count5/5

12 tools is an ideal scope for a note-taking server, covering both personal and team workflows without unnecessary bloat or deficiency.

Completeness5/5

The tool set provides full CRUD for personal and team notes, plus listing, history, user profile, and team management, leaving no obvious gaps for core note-taking operations.