Skip to main content
Connect the Claude Agent SDK to Valyu’s remote MCP server so your agent can search the web and specialist sources, read pages and run DeepResearch tasks. There is nothing to clone or host: the agent connects to https://mcp.valyu.ai/mcp over HTTP.

Install

Set your Valyu key and your Anthropic key in the environment:

Connect the Valyu MCP server

Register the server in the MCP servers option with type: "http" and pass your Valyu key in the Authorization header. The SDK only lets the agent call MCP tools you allow, so allow the Valyu tools with mcp__valyu__*.
The agent decides which Valyu tool to call for each step.

Available tools

To limit the agent to search and reading, allow only those tool ids instead of the wildcard. To block a tool outright, add it to the disallowed tools option. See the MCP server guide for other ways to authenticate and for tool details.

Additional resources

Valyu MCP server

Authentication options and tool reference

Claude Agent SDK MCP docs

Configure MCP servers and tool permissions in the Agent SDK

API Reference

Complete Valyu API documentation

Get API Key

Get 2,000 free credits a month with a work email (1,000 with a personal email; add a card after your first month to keep them coming)