Affine MCP Server
This package exposes your AFFiNE workspace to Model Context Protocol (MCP) clients via a local MCP server. It lets AI agents search documents, inspect metadata, manage comments, publish/unpublish docs, and query workspace info through typed MCP tools.
context tax
pending
security
pending
cold start
pending
freshness
pending
Our reading of Affine, from the data
Affine is a documentation MCP server.
We haven't measured its tool list yet, so its token cost is unknown.
It runs locally on your machine over stdio.
Install Affine MCP server
Install in Claude Code
claude mcp add affine-mcp -- npx -y affine-mcpInstall in Cursor
{
"mcpServers": {
"affine-mcp": {
"command": "npx",
"args": [
"-y",
"affine-mcp"
]
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"affine-mcp": {
"command": "npx",
"args": [
"-y",
"affine-mcp"
]
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"affine-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"affine-mcp"
]
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"affine-mcp": {
"command": "npx",
"args": [
"-y",
"affine-mcp"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Freshness
Not enough public signals yet to judge maintenance.
Last commit (default branch)
no data · GitHub
Latest release
no data · GitHub
Package published
no data · npm/PyPI
Registry entry updated
no data · official registry
How it compares in Documentation
Against the most-starred documentation servers we index. Token cost is per model turn, measured from each server's live tool list.
| Server | Stars | Tools | Tokens / turn | Freshness | Runs |
|---|---|---|---|---|---|
| Affine (this) | — | — | not measured | — | local |
| Context7 | 63,264 | 2 | 1,188 | Active | local + hosted |
| Context7 | 63,264 | — | not measured | Active | — |
| Docs | 28,892 | — | not measured | Active | local |
| React Spectrum | 15,963 | — | not measured | — | local |
| Docs | 12,599 | — | not measured | — | local |
FAQ
›How do I install the Affine MCP server in Claude Code?
Run: claude mcp add affine-mcp -- npx -y affine-mcp. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Affine require an API key?
No required environment variables are declared in its published metadata.
›Can I use Affine as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is Affine in the official MCP registry?
No. It was indexed from npm.
Sources and method
- Package registry (npm / PyPI)
- listed
- Last checked against all sources
- 2026-10-19
The description, packages and links come from the maintainer's own published metadata. Token cost, security signals, freshness and the reading above are MCPSkillHub's own measurements; see the methodology. Spot an error? Request a correction or claim the listing.
Alternatives to Affine
Other documentation MCP servers.