How to Use the Cohere (Embed & Rerank) MCP in Claude Code
Pipe terminal data directly into Cohere's vector and ranking engines using Claude Code.
Works with every AI agent you already use
…and any MCP-compatible client
Connect Cohere (Embed & Rerank) MCP to Claude Code
Create your Vinkius account to connect Cohere (Embed & Rerank) to Claude Code and route execution through our secure gateway. The platform manages server hosting, runtime updates, and security layers. Configuration requires no manual server provisioning.
CLI-driven semantic search pipelines
Running search operations from the terminal usually means dealing with clunky grep commands. Claude Code changes that by invoking `embed_texts` to generate vector representations of your local logs or documentation right from the shell. After embedding, the CLI agent runs `rerank_documents` to sort the terminal output by semantic relevance. You can pipe raw log files directly into the agent and get the most critical errors surfaced instantly without manual filtering.
Automated classification of shell outputs
This MCP Server allows Claude Code to categorize incoming streams of text on the fly. By using `classify_texts`, the agent groups log lines, error codes, or system alerts into static categories that you define. You can script this behavior into your deployment pipelines. The agent reads the stdout, classifies the messages, and triggers specific scripts based on the resulting categories.
Optimize prompt contexts for Claude Code
Keeping your terminal context clean is essential when working with long log streams. The agent uses `tokenize_text` to check the exact structural segmentation of your text, ensuring you never overflow the CLI's token limits. If you need to debug API availability or swap models mid-session, the agent calls `list_models` to inspect active Cohere endpoints. It keeps your automated shell scripts running with the correct configuration without manual intervention.
Set up Cohere (Embed & Rerank) MCP in Claude Code
Prerequisites
- Claude Code CLI installed (
npm install -g @anthropic-ai/claude-code) - Active Vinkius subscription with a valid endpoint token
- 1
Run the add command
Open your terminal and run the command shown on the right. Replace
[YOUR_TOKEN_HERE]with your endpoint token from cloud.vinkius.com. Use--scope userto make it available across all projects. - 2
Verify the connection
Start a Claude Code session and type
/mcpto list connected servers. You should seecohere-embed-rerank-mcpwith a green status indicator. - 3
Start using tools
Ask Claude Code something like "Check my latest Cohere (Embed & Rerank) transactions." It will automatically discover and invoke the available Cohere (Embed & Rerank) tools.
claude mcp add --transport http cohere-embed-rerank-mcp https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp Why Choose Vinkius
Vinkius connects your tools to AI with real-time monitoring and automatic cost savings — all from one dashboard.
Real-time monitoring
Live
visibility into every interaction
Connect your favorite tools to your AI and see exactly what's happening — every request, every response, in real time.
Built-in savings
60%
lower AI costs
Vinkius compresses data between your apps and your AI automatically. Lower bills every month — no configuration required.
Single dashboard
One
place for every integration
Every tool your AI connects to, managed from a single screen. One account, complete control.
Common questions about Cohere (Embed & Rerank) MCP in Claude Code
Use it with your favorite AI tools
Connect this server to Cursor, Claude, VS Code, and more.
Start using the Cohere (Embed & Rerank) MCP today
We host it, we monitor it, we maintain it. You just paste one token.