Valyu MCP server for AI agents and assistants

Securely connect your AI agents and chatbots (Claude, ChatGPT, Cursor, etc) with Valyu MCP or direct API to search specialist sources, run multi-step research, gather citations, and structure findings through natural language.

Valyu logoValyu
Api Key

Valyu is a research API for searching specialist, proprietary, and web sources. It returns multi-step research with cited, structured outputs.

32 Tools

Try Valyu now

Type what you want done — sign in and watch it run live in the Tool Router playground.

TOOL ROUTER PLAYGROUND
Valyu
Try asking
TOOLS

Supported Tools

Every Valyu action and event your agent gets out of the box.

Add DeepResearch Batch Tasks

Add 1-100 paid research tasks to an open or processing DeepResearch batch.

Answer

Generate a cited answer from live search and return the complete answer, sources, warnings, token usage, and authoritative billed cost.

Cancel DeepResearch Batch

WARNING: irreversibly cancel all queued and running tasks in an open or processing DeepResearch batch.

Cancel DeepResearch Task

WARNING: irreversibly cancel a DeepResearch task in queued, running, awaiting_input, or paused status.

Create DeepResearch Batch

Create an empty DeepResearch batch with shared mode, output, search, webhook, and metadata configuration.

Create DeepResearch Task

Start a paid asynchronous DeepResearch task.

Create Workflow

Create a private organization workflow and its first immutable version.

Delete DeepResearch Task

Permanently delete a completed, failed, or cancelled DeepResearch task and all associated outputs, sources, PDFs, and images.

Delete Workflow

Soft-delete an organization-owned workflow.

Extract Contents

Extract content from up to 10 URLs synchronously or queue up to 50 URLs asynchronously.

Get Contents Job

Get an asynchronous content extraction job's status, per-URL results, failures, and final charge.

Get DeepResearch Batch Status

Get a DeepResearch batch's lifecycle status, task counts, shared configuration, timestamps, and aggregate cost.

Get DeepResearch Sharing

List the people and company domains a DeepResearch report is shared with, including its share link, public setting, notification timestamps, and view timestamps.

Get DeepResearch Status

Get a DeepResearch task's status, progress, checkpoint, report, sources, generated files, warnings, and cost.

Get Workflow

Get a workflow's current version, including its template, tools, output formats, deliverables, and variables.

Get Workflow Version

Get a workflow resolved at one specific immutable version, including its template, tools, output formats, deliverables, and variables.

List Datasource Categories

List current datasource category IDs, names, descriptions, and dataset counts.

List Datasources

List searchable datasources and their IDs, capabilities, pricing, plan requirements, schemas, and example queries, optionally by category.

List DeepResearch Batches

List DeepResearch batches with lifecycle status, task counts, and aggregate cost.

List DeepResearch Batch Tasks

Return one cursor-controlled page of a DeepResearch batch's tasks, optionally filtered by status and expanded with outputs, sources, files, errors, and costs.

List DeepResearch Tasks

List up to 100 DeepResearch task summaries for the connected API key.

List Workflows

List visible curated and organization workflows with discovery metadata and optional current-version expansion.

List Workflow Versions

List a workflow's immutable version history newest first, including current-version and changelog metadata.

Preview Workflow

Resolve workflow variables and return the exact DeepResearch configuration and estimated credits without launching or charging for a research task.

Publish Workflow Version

Publish a new immutable version of an organization-owned workflow.

Respond to DeepResearch Checkpoint

Answer an active planning, plan-review, source-review, or outline-review checkpoint so a DeepResearch task in awaiting_input or paused state can continue.

Search

Search web, news, academic, financial, and specialist sources, returning ranked content, source coverage, warnings, and the amount charged.

Search Datasources

Find datasources accessible to the connected key from a natural-language need, returning ranked datasource IDs and full metadata.

Set DeepResearch Public Access

Make a DeepResearch task public or private.

Update DeepResearch Sharing

Atomically add or remove people and company domains that can open a private DeepResearch report.

Update DeepResearch Task

Add a follow-up instruction to a running DeepResearch task before its writing phase begins.

Update Workflow

Update metadata on an organization-owned workflow.

SETUP GUIDE

Connect Valyu MCP Tool with your Agent

1

Install Composio

typescript
npm install @composio/core ai @ai-sdk/mcp @ai-sdk/openai
Install the Composio SDK and your agent framework
2

Create a session with MCP enabled

typescript
import { Composio } from "@composio/core";

const composio = new Composio();
const { mcp } = await composio.create("your-user-id", {
  toolkits: ["valyu"],
  mcp: true,
});
Create a session scoped to Valyu and read its MCP URL and headers
3

Connect your agent to the MCP server

typescript
import { createMCPClient } from "@ai-sdk/mcp";
import { openai } from "@ai-sdk/openai";
import { generateText, stepCountIs } from "ai";

const client = await createMCPClient({
  transport: { type: "http", url: mcp.url, headers: mcp.headers },
});

const { text } = await generateText({
  model: openai("gpt-5.6-sol"),
  tools: await client.tools(),
  prompt: "Research the latest battery recycling methods using specialist and web sources, and return a cited comparison.",
  stopWhen: stepCountIs(10),
});

console.log(text);
await client.close();
Pass the session's MCP URL and headers to your agent and run a Valyu request
SETUP GUIDE

Connect Valyu API Tool with your Agent

1

Install Composio

typescript
npm install @composio/core @composio/openai openai
Install the Composio SDK, the OpenAI provider, and the OpenAI SDK
2

Create a Composio session

typescript
import OpenAI from "openai";
import { Composio } from "@composio/core";
import { OpenAIResponsesProvider } from "@composio/openai";

const composio = new Composio({ provider: new OpenAIResponsesProvider() });
const client = new OpenAI();

const session = await composio.create("your-user-id", { toolkits: ["valyu"] });
const tools = await session.tools();
Initialize Composio with the OpenAI Responses provider and create a session scoped to Valyu
3

Run Valyu tools with your agent

typescript
let response = await client.responses.create({
  model: "gpt-5.6-sol",
  tools,
  input: [{ role: "user", content: "Research the latest battery recycling methods using specialist and web sources, and return a cited comparison." }],
});

while (response.output.some((o) => o.type === "function_call")) {
  const outputs = await composio.provider.handleToolCalls(session, response.output);
  response = await client.responses.create({
    model: "gpt-5.6-sol",
    tools,
    previous_response_id: response.id,
    input: outputs,
  });
}

console.log(response.output_text);
Send a request, execute the Valyu tool calls through the session, and print the final answer

Why Use Composio?

AI Native Valyu Integration

  • Supports both Valyu MCP and direct API based integrations
  • Structured, LLM-friendly schemas for reliable research tool execution
  • Search specialist, proprietary, and web sources from one agent workflow

Secure API Key Auth

  • Connect Valyu with your own API key through Composio
  • Central place to store, scope, and revoke Valyu access
  • Per user and per environment credentials instead of hard-coded keys

Agent Optimized Design

  • Tools are tuned using real error and success rates to improve research reliability over time
  • Structured outputs help agents preserve citations and present clear findings
  • Comprehensive execution logs show what ran, when, and on whose behalf

Enterprise Grade Security

  • Fine-grained RBAC so you control which agents and users can access Valyu
  • Scoped, least privilege access to Valyu research capabilities
  • Full audit trail of agent actions to support review and compliance

Rolling this out across your team?

Give your team centralized access control across every framework with Composio’s MCP Gateway.

EXPLORE MCP GATEWAY
FAQ

Frequently asked questions

Start with Valyu.It takes 30 seconds.

Managed auth, hosted MCP servers, and every Valyu tool your agent needs.Free to start.

Start building