Self-hosted Markdown memory for AI agents: notes you can read and edit, with hybrid search.
registry version 0.2.4
npm
npx -y kybase-mcpnpm
npx -y kybase-mcp@0.2.4
Pick your client — the config below is generated for this server (local stdio). Copy respects the “Pin version” switch above.
claude_desktop_config.json
{
"mcpServers": {
"kybase": {
"command": "npx",
"args": [
"-y",
"kybase-mcp"
],
"env": {
"GOOGLE_API_KEY": "<YOUR_GOOGLE_API_KEY>",
"OPENAI_API_KEY": "<YOUR_OPENAI_API_KEY>",
"DATABASE_URL": "<YOUR_DATABASE_URL>"
}
}
}
}{
"mcpServers": {
"kybase": {
"command": "npx",
"args": [
"-y",
"kybase-mcp@0.2.4"
],
"env": {
"GOOGLE_API_KEY": "<YOUR_GOOGLE_API_KEY>",
"OPENAI_API_KEY": "<YOUR_OPENAI_API_KEY>",
"DATABASE_URL": "<YOUR_DATABASE_URL>"
}
}
}
}Format verified against the official Claude Desktop docs ↗.
terminal
claude mcp add --env GOOGLE_API_KEY=<YOUR_GOOGLE_API_KEY> --env OPENAI_API_KEY=<YOUR_OPENAI_API_KEY> --env DATABASE_URL=<YOUR_DATABASE_URL> kybase -- npx -y kybase-mcp
claude mcp add --env GOOGLE_API_KEY=<YOUR_GOOGLE_API_KEY> --env OPENAI_API_KEY=<YOUR_OPENAI_API_KEY> --env DATABASE_URL=<YOUR_DATABASE_URL> kybase -- npx -y kybase-mcp@0.2.4
Format verified against the official Claude Code docs ↗.
.cursor/mcp.json
{
"mcpServers": {
"kybase": {
"command": "npx",
"args": [
"-y",
"kybase-mcp"
],
"env": {
"GOOGLE_API_KEY": "<YOUR_GOOGLE_API_KEY>",
"OPENAI_API_KEY": "<YOUR_OPENAI_API_KEY>",
"DATABASE_URL": "<YOUR_DATABASE_URL>"
}
}
}
}{
"mcpServers": {
"kybase": {
"command": "npx",
"args": [
"-y",
"kybase-mcp@0.2.4"
],
"env": {
"GOOGLE_API_KEY": "<YOUR_GOOGLE_API_KEY>",
"OPENAI_API_KEY": "<YOUR_OPENAI_API_KEY>",
"DATABASE_URL": "<YOUR_DATABASE_URL>"
}
}
}
}Format verified against the official Cursor docs ↗.
.vscode/mcp.json
{
"servers": {
"kybase": {
"command": "npx",
"args": [
"-y",
"kybase-mcp"
],
"env": {
"GOOGLE_API_KEY": "<YOUR_GOOGLE_API_KEY>",
"OPENAI_API_KEY": "<YOUR_OPENAI_API_KEY>",
"DATABASE_URL": "<YOUR_DATABASE_URL>"
}
}
}
}{
"servers": {
"kybase": {
"command": "npx",
"args": [
"-y",
"kybase-mcp@0.2.4"
],
"env": {
"GOOGLE_API_KEY": "<YOUR_GOOGLE_API_KEY>",
"OPENAI_API_KEY": "<YOUR_OPENAI_API_KEY>",
"DATABASE_URL": "<YOUR_DATABASE_URL>"
}
}
}
}Format verified against the official VS Code docs ↗.
mcp_config.json
{
"mcpServers": {
"kybase": {
"command": "npx",
"args": [
"-y",
"kybase-mcp"
],
"env": {
"GOOGLE_API_KEY": "<YOUR_GOOGLE_API_KEY>",
"OPENAI_API_KEY": "<YOUR_OPENAI_API_KEY>",
"DATABASE_URL": "<YOUR_DATABASE_URL>"
}
}
}
}{
"mcpServers": {
"kybase": {
"command": "npx",
"args": [
"-y",
"kybase-mcp@0.2.4"
],
"env": {
"GOOGLE_API_KEY": "<YOUR_GOOGLE_API_KEY>",
"OPENAI_API_KEY": "<YOUR_OPENAI_API_KEY>",
"DATABASE_URL": "<YOUR_DATABASE_URL>"
}
}
}
}Format verified against the official Windsurf docs ↗.
Defined in the server's official registry manifest. Required secrets are shown as <YOUR_…> placeholders in the configs above.
KYBASE_DATA_DIR — Where the embedded database and instance secret live. Defaults to ~/.kybaseEMBEDDING_PROVIDER — Embedding provider for semantic searchOLLAMA_URL — Ollama endpoint for local embeddings. Without any provider, full-text search still worksOLLAMA_MODEL — Ollama embedding modelGOOGLE_API_KEY secret — Google API key, when EMBEDDING_PROVIDER=google. Sends note text to GoogleOPENAI_API_KEY secret — OpenAI API key, when EMBEDDING_PROVIDER=openai. Sends note text to OpenAIDATABASE_URL secret — Use an existing Kybase Postgres instead of the embedded one (migrations are left to the app)⭐ 5 stars · 最近更新于 48 天前 · AGPL-3.0 license
Distributed as npm, listed under Knowledge & Memory. Review our MCP security guide before granting access to real data.
Run the install command shown above, then paste the config for your client (Claude Desktop, Claude Code, Cursor, VS Code or Windsurf) into its MCP settings and restart the client.
The MCP server itself is free to install. The source is public on https://github.com/Kyrzin/kybase. Any third-party service it calls may require its own API key and account.
Any MCP-compatible client can use it, including Claude Desktop, Claude Code, Cursor, VS Code, Windsurf and custom agents.
Publish this server? Link back with a badge on your README or site — copy either snippet.
Markdown
[](https://mcpnav.net/server/kybase/)
HTML
<a href="https://mcpnav.net/server/kybase/"><img src="https://mcpnav.net/badge/kybase.svg" alt="Listed on MCPNav" height="20"></a>