Swylink
Integration

Give Claude Code the full picture

Swylink gives Claude Code persistent, intelligent context. Every decision, tag, and file change from other tools is searchable — Claude never starts from zero.

Quick Setup

Connect Claude Code in 4 steps

  1. 01Installnpx swylink@latest init
  2. 02Authenticatenpx swylink auth
  3. 03Connectnpx swylink connect
  4. 04CodeOpen Claude Code & go
MCP Config Location

Where Swylink writes the Claude Code config

.mcp.json

Running npx swylink connect automatically detects Claude Code and writes the MCP bridge configuration to this path. No manual editing required.

Why Swylink

Why Claude Code needs persistent cross-session memory

Claude Code is Anthropic's terminal-native AI coding assistant, and it is exceptionally capable at deep reasoning, complex refactoring, and autonomous multi-step tasks. It reads CLAUDE.md for project-level instructions, which helps establish conventions. But CLAUDE.md is static — it does not capture the evolving decisions made across sessions. Every time you start a new Claude Code session, the AI has no memory of what happened yesterday: which debugging approaches failed, what architectural trade-offs you settled on, or which dependency versions caused issues.

Swylink adds the missing persistence layer. With MCP native support built into Claude Code, Swylink integrates seamlessly — Claude Code can save and search context without any additional configuration beyond the initial setup. When Claude Code runs in autonomous mode and makes a series of decisions about how to restructure a module, those decisions are captured automatically. The next session picks up exactly where the last one left off.

This is particularly powerful with Claude Code's hooks system. You can configure hooks to trigger context saves after specific events, creating an automatic knowledge base of your project's evolution. Combined with Swylink's semantic search, any AI tool in your stack can query this accumulated knowledge by meaning, not just keywords.

Context Flow

Context that flows from Claude Code to your other tools

Claude Code sessions generate rich context that Swylink persists: debugging sessions with root cause analysis and what was tried before the fix, code review decisions explaining why certain patterns were preferred, architectural choices made during autonomous coding runs, dependency evaluation notes with version compatibility findings, refactoring rationale including before/after design reasoning, and test strategy decisions. When you switch to Cursor for rapid editing or Copilot for inline completions, all of this context is searchable — your other tools understand the full history.

FAQ

Frequently asked questions about Swylink and Claude Code

Does Swylink work with Claude Code's autonomous mode?

Yes. When Claude Code runs autonomously and makes decisions about implementation, architecture, or debugging, Swylink captures those decisions via MCP tool calls. The AI proactively saves context during autonomous runs, so even unattended sessions contribute to your persistent memory.

How does Swylink relate to CLAUDE.md?

CLAUDE.md provides static project instructions that Claude Code reads at the start of each session. Swylink complements this by adding dynamic, searchable memory that grows over time. Think of CLAUDE.md as the project constitution and Swylink as the living journal of every decision made along the way.

Does Swylink require any special Claude Code configuration?

No. Claude Code has native MCP support, so Swylink works by adding a server block to your .mcp.json file. Running npx swylink connect handles this automatically. No hooks, no plugins, no manual wiring — just run the connect command and Claude Code gains persistent memory.

Also works with

Connect your entire AI stack