---
title: "Context7"
description: "Pull current SignatureAPI documentation into Cursor, Claude Code, and other AI coding assistants through the Context7 MCP server, so code matches the API."
canonical: "https://signatureapi.com/docs/ai-toolkit/develop/context7"
source: "https://signatureapi.com/docs/ai-toolkit/develop/context7.md"
last_verified_api_version: "1.18.1"
last_modified: "2026-11-18T13:19:17Z"
---

# Context7

Pull current SignatureAPI documentation into Cursor, Claude Code, and other AI coding assistants through the Context7 MCP server, so code matches the API.

_Last verified against API version 1.18.1._

[Context7](https://context7.com) is a third-party MCP server that indexes the documentation of popular libraries and SaaS APIs and serves it to AI coding assistants on demand. SignatureAPI is indexed there, so any MCP-aware coding tool can pull accurate, current documentation for the API directly into its prompt.

> **Note:** Context7 is a tool for **developers writing code that calls SignatureAPI**. It is unrelated to the [SignatureAPI MCP server](https://signatureapi.com/docs/ai-toolkit/mcp/overview), which exposes runtime operations (create envelopes, manage signing) to end-user agents.

## What Context7 gives you

When your coding assistant has Context7 wired up, you can append `use context7` to any prompt and the assistant will:

1. Resolve "SignatureAPI" to the indexed library (`/websites/signatureapi`).
2. Fetch a focused slice of the documentation relevant to your question.
3. Use that content to ground the code it generates.

The result: fewer hallucinated field names, fewer outdated endpoints, and code that lines up with the current API spec instead of whatever the model saw in training.

## Adding Context7 to your assistant

Context7 ships as a standard MCP server. The setup is identical to adding any other MCP connection.

### Cursor

Add Context7 to your Cursor MCP configuration:

```json
{
  "mcpServers": {
    "context7": {
      "url": "https://mcp.context7.com/mcp"
    }
  }
}
```

### Claude Code

```bash
claude mcp add --transport http context7 https://mcp.context7.com/mcp
```

### Claude Desktop, Windsurf, VS Code, JetBrains

See the [Context7 installation guide](https://github.com/upstash/context7) for the configuration block specific to your editor. The URL is always `https://mcp.context7.com/mcp`.

## Using it with SignatureAPI

Once Context7 is connected, mention SignatureAPI in your prompt and ask the assistant to use Context7. A few examples:

```text
Write a Node.js function that creates a SignatureAPI envelope with two signers in a fixed order. use context7
```

```text
Show me how to embed a SignatureAPI signing ceremony in a React app with an iframe, and react to the ceremony's completion message. use context7
```

```text
What fields can I set on a Place in SignatureAPI? use context7
```

Context7 will resolve the library, pull the relevant snippets from the docs, and the assistant will write code grounded in the actual API.

## Library identifier

Context7 identifies SignatureAPI as `/websites/signatureapi`. You can pass this id explicitly if your assistant exposes the underlying tool calls:

| Tool                 | Argument                                                |
| -------------------- | ------------------------------------------------------- |
| `resolve-library-id` | `libraryName: "signatureapi"`                           |
| `get-library-docs`   | `context7CompatibleLibraryID: "/websites/signatureapi"` |

## Pairing with other context sources

**How a coding agent finds the SignatureAPI docs**

Parts:

- **[llms.txt](https://signatureapi.com/docs/ai-toolkit/develop/llms-txt)** (What SignatureAPI publishes): An index of every page, plus llms-full.txt with every page in one file.
- **[.md pages](https://signatureapi.com/docs/ai-toolkit/develop/llms-txt)** (What SignatureAPI publishes): Every docs page has a Markdown version at the same URL plus .md.
- **[Context7](https://signatureapi.com/docs/ai-toolkit/develop/context7)** (What SignatureAPI publishes): A third-party MCP server that indexes these docs.
- **[Agent skills](https://signatureapi.com/docs/ai-toolkit/develop/agent-skills)** (What SignatureAPI publishes): Instructions and scripts that read llms.txt and the OpenAPI spec on demand.
- **[Coding agent](https://signatureapi.com/docs/ai-toolkit/guides/build-with-coding-agents)** (Your coding agent): Claude Code, Codex, Cursor or another agent writing your integration.

Connections:

- Coding agent to llms.txt: fetches
- Coding agent to .md pages: reads
- Coding agent to Context7: asks
- Coding agent to Agent skills: runs

Context7 and our own LLM indexes are complementary:

- Use **Context7** when you want your editor to pull the latest docs in-context as you code, with no manual file copying.
- Use [**llms.txt / llms-full.txt**](https://signatureapi.com/docs/ai-toolkit/develop/llms-txt) when you want full control over what gets sent to the model, for example to embed a snapshot in a system prompt.
- Use the [**SignatureAPI MCP server**](https://signatureapi.com/docs/ai-toolkit/mcp/overview) when the agent should not only learn about the API but actually _act_ on it (create envelopes, manage signing).
