Valyu MCP Server

Valyu MCP Server

valyu-mcp•byvalyu-network

A self-hostable Model Context Protocol server for Valyu that offers web and specialised index search, page reading, and DeepResearch tools to any MCP client.

License: MIT•Runtime: Awaiting documentation review•Category: search web

WHAT IT DOES

  • •Searches the web and specialised indexes in one call, or scoped to a dataset, domain or preset.
  • •Lists the live dataset catalogue in plain language and returns ids that scope a search.
  • •Reads one or more URLs as clean markdown or summarises them.
  • •Starts asynchronous DeepResearch tasks that write cited reports, with status and control tools.

BEST FOR

  • •Knowledge work requiring search across academic, financial, legal, patent and other specialised indexes.
  • •Producing cited long-form research reports from external sources.
  • •Converting web pages into clean markdown for downstream reading or summarisation.

ABOUT VALYU-MCP

Valyu MCP Server is cataloged as an MCP server attributed to valyu-network. A self-hostable Model Context Protocol server for Valyu that offers web and specialised index search, page reading, and DeepResearch tools to any MCP client. It is categorized under search web. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: MIT. Check the source repository's current license and terms before using, modifying or distributing this software.

Capability inspector

Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.

Tools (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Resources (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Prompts (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for Valyu MCP Server are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

Can the server be self-hosted as a local stdio process?

Yes; a local stdio server is provided for clients that launch a local process, reading the API key from the environment.

Does the server offer an HTTP transport?

Yes; a Next.js app serves stateless Streamable HTTP at the /mcp endpoint.

Upstream README

View this exact version on GitHub

README.md · c6ae9aa6852f · Fetched 2026-11-13 11:48:50 UTC

Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.

Showing the last retrieved documentation snapshot; check the source for current changes.

Valyu MCP Server

A Model Context Protocol server for Valyu: search the web and specialised indexes built for knowledge work, read pages as clean markdown, and run DeepResearch, from Claude, ChatGPT, Cursor, Codex or any MCP client.

This repository is the self-hostable server. It exposes the same six tools, with the same schemas, as the hosted endpoint.

Hosted or self-hosted

Most people should use the hosted endpoint. Nothing to run, sign-in included:

https://mcp.valyu.ai/mcp
claude mcp add --transport http valyu https://mcp.valyu.ai/mcp

Docs: docs.valyu.ai/integrations/mcp-server.

Self-host when you want a local stdio process, your own deployment, or to read and change the code. A self-hosted server authenticates with a Valyu API key only. Keys are created at platform.valyu.ai, and usage is billed to the key's organisation.

Tools

ToolWhat it does
valyu_searchSearch the web and specialised indexes in one call, or scope to a dataset, domain or preset
valyu_datasourcesThe live dataset catalogue, searchable in plain language; returns the ids that scope a search
valyu_contentsRead one or more URLs as clean markdown, or summarise them
valyu_deepresearchStart a long-running DeepResearch task that writes a cited report
valyu_deepresearch_statusCheck a task, collect the finished report, or list recent tasks
valyu_deepresearch_controlSteer, answer a checkpoint, share, cancel or delete a task

Indexes include academic publications, SEC filings, financial and market data, clinical trials, biomedical databases, economic indicators, patents and legal sources. valyu_datasources lists what is available to your key. DeepResearch tasks are charged per task; the price of each mode is stated in the tool description and echoed when a task starts.

Run it

Requires Node.js 22.18 or later (26 LTS recommended) and pnpm 12. Install pnpm with npm install --global pnpm@12.17.0, or through corepack 0.36 or later; the corepack bundled with Node 22 cannot launch pnpm 12.

git clone https://github.com/valyuAI/valyu-mcp.git
cd valyu-mcp
pnpm install

Local stdio server

For clients that launch a local process. The key is read from the environment.

VALYU_API_KEY=your-key pnpm stdio

Claude Desktop (claude_desktop_config.json), Cursor (.cursor/mcp.json) and most other clients:

{
  "mcpServers": {
    "valyu": {
      "command": "pnpm",
      "args": ["--silent", "--dir", "/absolute/path/to/valyu-mcp", "stdio"],
      "env": { "VALYU_API_KEY": "your-key" }
    }
  }
}

Claude Code:

claude mcp add valyu --env VALYU_API_KEY=your-key -- pnpm --silent --dir /absolute/path/to/valyu-mcp stdio

--silent keeps pnpm's own messages off stdout, which the client reads as protocol (older pnpm versions print a script banner there). Desktop apps launch with a minimal PATH, so if the client reports spawn pnpm ENOENT, set command to the absolute path from which pnpm.

Docker (stdio)

docker build -t valyu-mcp .
docker run --rm -i -e VALYU_API_KEY valyu-mcp

-e VALYU_API_KEY passes the variable from your shell, so the key never appears in the command or the image. Without a key the server still starts and lists its tools, so a client or registry can inspect it; tool calls then return a credential error.

HTTP server

A Next.js app serving Streamable HTTP at /mcp, stateless, so any instance can serve any request.

pnpm build && pnpm start          # http://localhost:3000/mcp
pnpm dev                          # the same, with reload

It deploys to Vercel or any Node host as-is. Each request carries its own key, as Authorization: Bearer <VALYU_API_KEY> (preferred), X-API-Key: <VALYU_API_KEY>, or ?valyuApiKey=<VALYU_API_KEY> for clients that cannot set headers. Prefer a header: URLs end up in logs. There is deliberately no server-side key fallback, because anyone who can reach the URL would spend it.

{
  "mcpServers": {
    "valyu": {
      "type": "http",
      "url": "https://your-host.example/mcp",
      "headers": { "Authorization": "Bearer your-key" }
    }
  }
}

/ shows the endpoint and the live tool list. Request bodies over 4 MiB are refused.

How the tools are meant to be used

Use valyu_search when a request needs external sources. A query-only call uses the API's automatic routing across the sources available to the key. Set filters only when the request calls for that scope, and preserve explicit source and date restrictions.

included_sources takes everything the search API takes: dataset ids (valyu/valyu-arxiv, matched exactly), domains and URL prefixes (arxiv.org, https://openai.com/index), presets (academic, finance, legal, ...), saved collections (collection:NAME) and web. Site restrictions belong there rather than as a site: operator in the query. Values are validated against the live catalogue first, because an unrecognised dataset id fails the whole search upstream; unknown ids come back with suggestions. Presets are expanded for included_sources only, so a preset in excluded_sources is refused locally with the reason.

source_biases is the soft counterpart: a map of domain or URL prefix to an integer from -5 to +5 that reorders results without removing anything. It is available on valyu_search and valyu_deepresearch.

response_length is optional and forwarded unchanged: omit it for the API default (short, 25,000 characters per result), or use medium, large, max or a positive integer. Every returned chunk is kept, including several chunks of one long document.

valyu_deepresearch runs asynchronously. It returns a task id once the task is accepted; valyu_deepresearch_status returns the current state or the finished report without waiting. Task options include dataset, date and country filters, supplied URLs and files, earlier reports, report formatting, PDF or structured output, deliverables and review checkpoints.

Development

pnpm typecheck
pnpm build
pnpm test                         # offline: formatting, lengths, research, entitlements, stdio

# live checks against the real API, with a server running on :3000
VALYU_API_KEY=... pnpm test:protocol -- --url http://localhost:3000

pnpm test needs no key and makes no network calls beyond localhost: the entitlement suite runs the HTTP server against a mock upstream. VALYU_BASE_URL points the server at a different API host.

app/[transport]/route.ts   the HTTP endpoint
app/page.tsx               index page with the live tool list
stdio.ts                   the stdio entry point
lib/mcp/server.ts          server identity, instructions and tool registration (shared)
lib/mcp/auth.ts            API key extraction and the 401 response
lib/mcp/serve.ts           stateless Streamable HTTP
lib/mcp/format.ts          result rendering
lib/mcp/errors.ts          actionable errors
lib/tools/                 the six tools
lib/valyu/                 API client, dataset catalogue, plan awareness
scripts/                   tests

Security

Installs are restricted by a supply-chain policy in pnpm-workspace.yaml: no version younger than 7 days, no drop in a package's trust evidence, no dependency install scripts, and no git or tarball sub-dependencies. CI pins every action to a commit SHA. See SECURITY.md, which also covers reporting a vulnerability.

Earlier versions

Before 2.0 this repository held a single-tool Python server (valyu_context). It calls an SDK method that no longer exists, so it no longer installs cleanly. Its last version is tagged legacy-python. The tool it offered is covered by valyu_search.

License

MIT

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for Valyu MCP Server from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/valyu-mcp)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

Downloads and pulls

Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.

No reviewed package or image identity; download statistics are not listed yet.

Related search web MCP Servers

Alternative and complementary servers in the same category

View all in search web →

An MCP server that merges Google Search Console history with a live first-party crawl of your site to produce a prioritised, evidence-backed technical SEO audit inside Claude, complete with paste-ready fixes.

Repository stats unavailable
Search & Web Research

An MCP server that offers intelligent web search using OpenAI reasoning models, with support for fast iterations and deep research.

94
Search & Web Research