Command Palette

Search for a command to run...

Весь каталог
MCP-сервер № 32407

Valyu

Enables AI models to retrieve high-quality context from Valyu's API, including search over Wikipedia, arXiv papers, and the web.

Бесплатно
GitHubEmbed

Установка Valyu

Сборка из исходников

У сервера нет опубликованного npm/PyPI-пакета — склонируй репозиторий и собери по его README, затем добавь получившуюся команду в свой клиент.

Открыть репозиторий
github.com/valyuAI/valyu-mcp

Описание

Enables AI models to retrieve high-quality context from Valyu's API, including search over Wikipedia, arXiv papers, and the web.

README

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 eight 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

Tool What it does
valyu_search Search the web and specialised indexes in one call, or scope to a dataset, domain or preset
valyu_datasources The live dataset catalogue, searchable in plain language; returns the ids that scope a search
valyu_contents Read one or more URLs as clean markdown, or summarise them
valyu_deepresearch Start a long-running DeepResearch task that writes a cited report
valyu_deepresearch_status Check a task, collect the finished report, or list recent tasks
valyu_deepresearch_control Steer, answer a checkpoint, share, restore a version, cancel or delete a task
valyu_deepresearch_edit Make small, targeted edits to a finished report or deliverable with a plain-language instruction
valyu_deepresearch_versions List an edited report's versions, to read or restore an earlier one

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 [email protected], 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.

valyu_deepresearch_edit makes small, targeted edits to a finished DeepResearch report or deliverable with a plain-language instruction. Untouched text stays exactly as it was, citations stay consistent, and every edit creates a new version you can restore. Use it to refine a report you already have (fix a figure, tighten a section, change tone, add a cited point from the sources the task gathered) instead of running new research. Large rewrites are declined; start a new task for those. Focus an edit with a section heading or the exact text to change, or pass a deliverable_id to edit a generated file. The tool waits for the result by default and returns the summary, the changes and the new version, or the reason the edit was declined. valyu_deepresearch_versions lists the versions, valyu_deepresearch_status reads one with version, and valyu_deepresearch_control action restore makes an earlier one current again.

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 eight 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

from github.com/valyuAI/valyu-mcp

FAQ

Valyu MCP бесплатный?

Да, Valyu MCP бесплатный — установка в пару кликов через Unyly без оплаты.

Нужен ли API-ключ для Valyu?

Нет, Valyu работает без API-ключей и переменных окружения.

Valyu — hosted или self-hosted?

Доступен hosted-вариант: Unyly запускает сервер в облаке, локальная установка не обязательна.

Как установить Valyu в Claude Desktop, Claude Code или Cursor?

Открой Valyu на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.

Похожие MCP

№ 51449

Opencode Omniroute Plugin

GitHub ActionsGitHub Actions100

OpenCode plugin for the OmniRoute AI Gateway. Drives dynamic model discovery, /connect auth flow, and multi-instance OmniRoute providers via the official @openc

omnirouteopencodeopencode-plugin
Установить
№ 86305

Roblox Studio

paralovparalov

Enables AI coding tools to control Roblox Studio for workspace exploration, instance manipulation, and script management. It provides tools for playtesting, sce

Установить
№ 18019

Antigravity Drawio

S-SUJAN-SS-SUJAN-S

MCP server that enables AI assistants to create, parse, render, and validate Draw.io diagrams programmatically.

Установить
№ 65027

Fetch

Community

Web content fetching and conversion for efficient LLM usage.

fetchreferenceservers
ПровереноУстановить
№ 42339

Mcp

mcpflow.iomcpflow.io

ModelContextProtocol server for enhancing JSON Resumes

mcpllmmcpflow
Установить
№ 39599

Vault

agbergsmannagbergsmann

Bitwarden/Vaultwarden MCP server — BYOK vault access with 6 tools, Send-based reveal, TOTP, and safe agent-write

mcpmcp-serverbitwarden
Установить
№ 98017

AWS KB Retrieval

modelcontextprotocolmodelcontextprotocol

Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.

awsretrievalarchived
ПровереноУстановить
№ 04328

Spring AI MCP Server

Community

Provides auto-configuration for setting up an MCP server in Spring Boot applications.

springmcpserver
ПровереноУстановить
№ 06196

llm-analysis-assistant

xuzexin-hzxuzexin-hz

A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also

llmanalysisassistant
ПровереноУстановить
№ 50527

MCP-Agent

lastmile-ailastmile-ai

A simple, composable framework to build agents using Model Context Protocol by [LastMile AI](https://www.lastmileai.dev)

mcpagentfor
ПровереноУстановить

Сравнить Valyu с

Не уверен что выбрать?

Найди свой стек за 60 секунд

Автор?

Embed-бейдж для README

Похожее

Все в категории ai