Claude Code is Anthropic’s command-line interface for Claude. It runs in your terminal, reads your codebase, and can use MCP servers to connect to external tools and data — including your ContextBolt bookmarks.
This integration is particularly useful for developers who save technical content across Twitter/X, Reddit, and LinkedIn. Instead of context-switching to your browser to look up that article about caching strategies or that Reddit thread about Kubernetes networking, you can ask Claude Code to search your bookmarks directly from the terminal.
Why ContextBolt MCP matters for coding workflows
Developers hoard bookmarks. Tweets about architectural patterns, Reddit discussions about library trade-offs, LinkedIn posts about scaling lessons. The problem is finding them when you actually need them.
With the Claude Code integration, your saved content becomes part of your coding context. You’re debugging a tricky issue, and you remember saving something relevant last month — just ask Claude Code to find it. The search is semantic, so you describe what you’re looking for in plain language rather than trying to remember exact keywords.
This is especially powerful because Claude Code already understands your codebase. It can combine what it knows about your code with what you’ve saved, making your bookmarks genuinely useful during development rather than collecting dust in a browser sidebar.
Claude Code: configuration file alternative
If you prefer editing config files directly, create or edit .mcp.json in your project root:
{
"mcpServers": {
"bookmarks": {
"type": "http",
"url": "https://api.contextbolt.app/mcp/YOUR_TOKEN"
}
}
}
Two things worth flagging from when we set this up internally. First, Claude Code requires "type": "http" for remote servers. Leave it out and the connection fails silently. Second, if you commit .mcp.json to a public repo, swap the token for ${CONTEXTBOLT_MCP_TOKEN} and set the env var locally; Claude Code expands ${VAR} references automatically. The full reference, including OAuth and header auth, lives in the Claude Code MCP docs.
Claude Code MCP tips for developers
Search before you search the web. Before reaching for Google or Stack Overflow, check your bookmarks. You’ve already curated high-quality content — use it first.
Combine with code context. Ask Claude Code something like “I’m refactoring the auth module. Do I have any saved content about OAuth best practices?” Claude can connect your bookmarks to the code it’s looking at.
Use platform filters for technical content. Reddit saves tend to be deep technical discussions. Twitter saves tend to be quick tips and opinions. Filtering by platform helps narrow results when you know where you saved something.
How to connect ContextBolt to Claude Code
-
Get your MCP token from ContextBolt
Open the ContextBolt extension popup in Chrome and click Settings. Under the MCP section, click 'Copy MCP Token'. MCP is a Pro feature ($6/month) and your bookmarks must be syncing to the cloud (toggle in the same settings panel). The token looks like a UUID.
-
Add ContextBolt via the CLI
Open your terminal and run: claude mcp add --transport http --scope user bookmarks https://api.contextbolt.app/mcp/YOUR_TOKEN. Replace YOUR_TOKEN with the token you copied. The --scope user flag makes the server available across every project; drop it for the current project only.
-
Test the connection
Run claude mcp list and you should see bookmarks listed with a connected status. Then start a new Claude Code session and ask 'Search my bookmarks for articles about API design'. Claude will call the ContextBolt tools and return matching bookmarks.
Example prompts for ContextBolt + Claude Code
Once connected, try asking Claude Code:
While working on a migration, pull in articles and threads you previously saved about migration strategies, rollback patterns, or schema versioning.
When building a feature, surface your saved reference material without leaving the terminal. Claude searches semantically, so it finds relevant content even with different wording.
Filter by platform and topic. Useful when you saved a detailed Reddit discussion months ago and want to reference it mid-session.
Use this pattern when you're stuck. Claude searches your bookmarks for anything related to your current problem and brings relevant saves into the conversation.
What you can do with ContextBolt in Claude Code
Search bookmarks by meaning during coding sessions
Filter by platform (Twitter, Reddit, LinkedIn)
Pull saved reference material into terminal conversations
Access bookmarks from any project directory
Combine bookmark search with code analysis in the same session
Works alongside other MCP servers you have configured