> ## Documentation Index
> Fetch the complete documentation index at: https://docs.pipecat.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# AI-Assisted Development

> Use AI coding tools with Pipecat documentation and source code.

Pipecat offers several ways to give AI coding tools access to documentation and source code context, helping you build voice and multimodal applications faster.

## MCP Server

The Pipecat docs MCP server is a cloud-hosted service powered by [Kapa.ai](https://www.kapa.ai/) that searches across the full Pipecat documentation site. It returns synthesized answers with source citations, covering guides, API references, and other docs content. No local setup required.

<Tabs>
  <Tab title="Claude Code">
    ```bash theme={null}
    claude mcp add --transport http pipecat-docs https://daily-docs.mcp.kapa.ai
    ```
  </Tab>

  <Tab title="Codex">
    ```bash theme={null}
    codex mcp add pipecat-docs --url "https://daily-docs.mcp.kapa.ai"
    ```
  </Tab>

  <Tab title="Cursor">
    <a href="cursor://anysphere.cursor-deeplink/mcp/install?name=pipecat-docs&config=eyJ1cmwiOiJodHRwczovL2RhaWx5LWRvY3MubWNwLmthcGEuYWkifQ%3D%3D">
      <img noZoom src="https://cursor.com/deeplink/mcp-install-dark.svg" alt="Add Pipecat MCP to Cursor" height="32" />
    </a>

    Or manually add to your Cursor MCP config:

    ```json theme={null}
    {
      "mcpServers": {
        "pipecat-docs": {
          "url": "https://daily-docs.mcp.kapa.ai"
        }
      }
    }
    ```
  </Tab>

  <Tab title="VS Code">
    <a href="vscode:mcp/install?%7B%22name%22%3A%22pipecat-docs%22%2C%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fdaily-docs.mcp.kapa.ai%22%7D">
      <img noZoom src="https://img.shields.io/badge/VS_Code-Install_MCP_Server-0098FF?style=flat-square&logo=visualstudiocode&logoColor=white" alt="Add Pipecat MCP to VS Code" height="32" />
    </a>

    Or manually add to your VS Code MCP config (`.vscode/mcp.json`):

    ```json theme={null}
    {
      "servers": {
        "pipecat-docs": {
          "url": "https://daily-docs.mcp.kapa.ai"
        }
      }
    }
    ```
  </Tab>
</Tabs>

## Pipecat Context Hub

[Pipecat Context Hub](https://github.com/pipecat-ai/pipecat-context-hub) is a local-first MCP server that indexes Pipecat documentation, code examples, and framework API source on your machine. Unlike the cloud-hosted MCP server above, Context Hub runs a local vector database and is optimized for coding workflows — it returns relevant source code and snippets rather than synthesized answers, giving your AI coding tool the raw context it needs to solve implementation problems.

Because it runs locally, you can also add your own repositories (public or private) to the index for a more customized context.

Available tools include `search_docs`, `search_examples`, `search_api`, `get_code_snippet`, and `check_deprecation`.

### Setup

```bash theme={null}
git clone https://github.com/pipecat-ai/pipecat-context-hub.git
cd pipecat-context-hub
uv sync
uv run pipecat-context-hub refresh   # build local index (~2 min first run)
```

### Add to your coding tool

<Tabs>
  <Tab title="Claude Code">
    ```bash theme={null}
    claude mcp add pipecat-context-hub \
      -- uv run --directory /path/to/pipecat-context-hub pipecat-context-hub serve
    ```
  </Tab>

  <Tab title="Codex">
    ```bash theme={null}
    codex mcp add pipecat-context-hub \
      -- uv run --directory /path/to/pipecat-context-hub pipecat-context-hub serve
    ```
  </Tab>

  <Tab title="Cursor">
    Add to your Cursor MCP config:

    ```json theme={null}
    {
      "mcpServers": {
        "pipecat-context-hub": {
          "command": "uv",
          "args": [
            "run",
            "--directory",
            "/path/to/pipecat-context-hub",
            "pipecat-context-hub",
            "serve"
          ]
        }
      }
    }
    ```
  </Tab>

  <Tab title="VS Code">
    Add to `.vscode/mcp.json`:

    ```json theme={null}
    {
      "servers": {
        "pipecat-context-hub": {
          "command": "uv",
          "args": [
            "run",
            "--directory",
            "/path/to/pipecat-context-hub",
            "pipecat-context-hub",
            "serve"
          ]
        }
      }
    }
    ```
  </Tab>
</Tabs>

See the [repo docs](https://github.com/pipecat-ai/pipecat-context-hub) for additional configuration options, including pinning to a specific Pipecat version.

## CLAUDE.md

The Pipecat repository includes a [`CLAUDE.md`](https://github.com/pipecat-ai/pipecat/blob/main/CLAUDE.md) file that provides Claude Code with architecture guidance, coding conventions, and development patterns specific to the Pipecat codebase. When you work in a cloned copy of the Pipecat repo, Claude Code automatically reads this file for context.

## Markdown docs

Every page on this docs site has a **Copy page** button (in the top-right area) that copies the page content as markdown. This is useful for pasting into any AI chat or coding tool to provide context about a specific topic.

## llms.txt

Pipecat docs support the [llms.txt standard](https://llmstxt.org/), which provides a machine-readable index of documentation content. This is useful for tools that can ingest documentation in bulk.

* [`https://docs.pipecat.ai/llms.txt`](https://docs.pipecat.ai/llms.txt) — structured index of all pages
* [`https://docs.pipecat.ai/llms-full.txt`](https://docs.pipecat.ai/llms-full.txt) — full documentation content in a single file
