Skip to main content
The Valar docs MCP server lets an AI agent search the published documentation and read complete pages, including a compact public pricing table.
The docs MCP is public. You do not need a Valar API key to read documentation or pricing through it.

Connect your client

Claude Code

Run this command once:
Restart Claude Code if the server does not appear in the current session.

Cursor

Add the server to .cursor/mcp.json in your project, or to your global Cursor MCP settings:
Reload Cursor after saving the file.

Other MCP clients

Add a remote MCP server with these settings: Use the HTTP transport supported by your client. You do not need to run a local MCP process.

What the server provides

Your agent can discover the server’s tools, search for a page, and use the documentation filesystem tool to read its full content. Search snippets help find a page; read the complete page before comparing all prices. The docs MCP reads published content. It does not run inference or call the authenticated model-listing API.

Read pricing through MCP

Pricing for agents is a compact Markdown table generated from the same public catalog as the visual Pricing page. It lists model IDs and input, cached input, and output rates for Now, Priority, Standard, and Flex in USD per 1M tokens. Ask your agent:
If you already know the page path, ask the agent to use the documentation filesystem tool to read /pricing-for-agents.mdx. Tool names are supplied by the server when the client connects. These are public list prices, not live quotes. They update when the docs are published and exclude hidden and restricted models. For your organization’s available models and negotiated rates, use the separate authenticated GET /v1/models API.

Example prompts

Troubleshooting

The server does not connect

Confirm that the URL ends in /mcp and that your client is configured for HTTP. Then reload the client or reconnect the server. Ask the documentation filesystem tool to read /pricing-for-agents.mdx directly. If the page was just published, allow time for indexing. You can also read the Markdown export without MCP.

The client asks for an API key

Public documentation and pricing do not require a key. Check that you connected to https://docs.valarhq.ai/mcp, not an inference API endpoint. Do not paste a Valar API key into your prompt.

The answer is incomplete or has different prices

Ask the agent to read the full Pricing for agents page again instead of using search snippets or remembered prices. The compact and visual tables share the same source. Rates returned by the authenticated API may differ because of negotiated pricing or changes not yet published in the docs.

Machine-readable alternatives

If your client does not support MCP, open the pricing Markdown export directly. You can also use /llms.txt for the documentation index or append .md to a documentation page URL. The export is Markdown. An agent can convert it to JSON or CSV on request, but that conversion is not a separate Valar API response.