How to integrate Valyu MCP with Hermes

Connect Hermes to Valyu MCP. Compare recent battery recycling methods with citations, research clinical trial results from specialist sources, and more using natural language, with authentication handled for you.

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

Introduction

Hermes is a 24/7 autonomous agent that lives on your computer or server — it remembers what it learns and evolves as your usage grows.

This guide explains the easiest and most robust way to connect your Valyu account to Hermes. You can do this through either Composio Connect CLI or Composio Connect MCP. For personal use we recommend the CLI, but you won't go wrong with MCP either.

For exact tool slugs and parameter tables, see the tool catalog in the Composio docs.

Also integrate Valyu with

What is Composio Connect?

Composio Connect is a consumer offering that lets anyone plug 1,700+ applications directly into their agent harness — including Hermes. It can:

  • Search and load tools from relevant toolkits on-demand, reducing context usage.
  • Chain multiple tools to accomplish complex workflows via a remote workbench, without excessive back-and-forth with the LLM.
  • Manage app authentication end-to-end with zero manual overhead.

Integrating Valyu with Hermes

Using Composio Connect CLI

1. Install the Composio CLI

Run the install script directly, or paste https://composio.dev/hermes into your Hermes chat box to have it installed for you.

bash
curl -fsSL https://composio.dev/install | bash
Hermes authenticating with Composio

2. Authenticate

Once the CLI is installed, ask Hermes to authenticate with Composio.

3. Connect to Valyu

Ask your agent to connect to Valyu, or simply request any Valyu-related task. Hermes will prompt you to authenticate and authorize access.

4. Done. You're all set with a new Valyu connection.


Using Composio Connect MCP

1. Get your MCP URL and API Key

Go to dashboard.composio.dev and copy your Connect MCP URL and API key.

Copy MCP URL and API key from Composio dashboard

2. Open the Hermes config file

bash
nano ~/.hermes/config.yaml

3. Add the Composio Connect MCP server

bash
mcp_servers:
  composio:
    url: "https://connect.composio.dev/mcp"
    headers:
      x-consumer-api-key: "YOUR_COMPOSIO_API_KEY"
    connect_timeout: 60
    timeout: 180

Save with Ctrl + O, Enter, then exit with Ctrl + X.

4. Restart your Hermes agent

Once restarted, ask your agent to connect to Valyu or request any Valyu-related task. It will prompt you to authenticate and authorize access.

5. Done!

What is the Valyu MCP server, and what's possible with it?

The Valyu MCP server is an implementation of the Model Context Protocol that connects your AI agent and assistants like Claude, Cursor, etc directly to your Valyu account. It provides structured and secure access to Valyu's web, news, academic, financial, specialist, and proprietary search and research tools, so your agent can search sources, generate cited answers, extract web content, run deep research, and manage research workflows on your behalf.

  • Search across specialist and web sources: Have your agent search web, news, academic, financial, and specialist sources, then return ranked results, source coverage, warnings, and costs.
  • Generate cited research answers: Let the agent answer questions using live search and provide complete cited responses with supporting sources and usage details.
  • Extract content from URLs: Direct your agent to extract content from one or more URLs, either immediately or as an asynchronous job for larger sets of links.
  • Run and manage deep research: Instruct your agent to start research tasks, check progress and reports, respond to planning or source review checkpoints, add follow-up instructions, and manage batch research jobs.
  • Build and use research workflows: Have your agent discover datasources, preview workflows and estimated credits, create or update private workflows, manage their versions, and publish workflow updates.

Way Forward

With Valyu connected, Hermes can now act on your behalf whenever it detects a relevant task or you ask it to.

From here, you can extend Hermes further:

  • Connect more apps: Calendar, Slack, Notion, Linear, and hundreds of others are available through the same Composio Connect setup. Each new integration compounds what Hermes can do for you.
  • Build workflows across tools: Once multiple apps are connected, Hermes can chain actions together — turn an email into a calendar invite, a Slack message into a Linear ticket, or a meeting note into a follow-up draft.
  • Let it learn your patterns: The more you use Hermes, the better it gets at anticipating how you'd handle recurring tasks. Give it feedback on drafts and decisions, and it will adapt.

If you run into trouble or want to share what you've built, join the community or check out the Docs for deeper configuration options.

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.

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