Skip to content
Last updated

Use the docs with AI

These docs are written to be read by AI assistants as well as people. There are two separate ways to bring Vanda into an assistant, and it helps to know which one you need:

You want to…UseNeeds code?
Write code against the Vanda API with help from an assistantThe docs: llms.txt, Markdown pages and the docs MCP server, belowYes
Ask questions about Vanda data in plain English and get answers, tables and chartsVanda MCP, the data connector for Claude, ChatGPT and othersNo

Give an assistant the docs

  • llms.txt. docs.vanda-analytics.com/llms.txt is a plain-text map of every page, grouped by topic. Paste the link into your assistant as a starting point.
  • Markdown pages. Add .md to any docs address to get it as clean Markdown, for example the Positioning reference. Each API reference includes every endpoint, parameter and response field.
  • Copy and View. The buttons at the top of each page copy it as Markdown or open the Markdown version.

Connect the docs MCP server

The docs MCP server lets a coding assistant search these docs and look up APIs, endpoints and parameters for itself, instead of relying on what it remembers. It is read-only: it reads documentation and never calls the Vanda API or touches your data.

Server address:

https://docs.vanda-analytics.com/mcp

For Claude Code, run:

claude mcp add --transport http vanda-docs https://docs.vanda-analytics.com/mcp

Starter prompt for coding assistants

Paste this at the start of a session, then describe what you want to build:

I'm working with the Vanda Analytics API. Use the docs at
https://docs.vanda-analytics.com/llms.txt (or the docs MCP server if connected)
rather than memory. Follow these rules:
- Use the vanda-api Python SDK (VandaClient). My API key is in the VANDA_SDK_KEY
  environment variable; never ask me for it or print it.
- Find series through the /catalog endpoints before querying. Use series_label
  for Positioning, slug for Flow and series_id for Macro.
- Request one positioning series per call when normalising or transforming.
- Read the unit on every flow and macro value and never combine different units.
- Follow pagination.has_next until every page is fetched.

Tips

  • Never paste a key or password into an assistant. Tell it which environment variable holds the key.
  • Ask it to check the catalog first. Labels are easy to guess wrong, and the catalog also tells you each series' cadence and units.
  • Check its numbers against the platform. Copy API on a Vanda Analytics chart gives you the exact request behind it, a quick way to confirm the assistant is querying what you think.