# Contextual AI

> Build enterprise RAG agents that answer from your documents with citations, and query them through a REST API, SDKs or a hosted MCP server, for teams with large knowledge bases.

## Facts

- **Provider:** [Contextual AI](https://contextual.ai)
- **Homepage:** https://contextual.ai
- **Official:** No
- **Verified:** Verified: link and access path checked, Nov 2026
- **Last checked:** 2026-11-28
- **Endpoint health:** Degraded (`degraded`) · checked 2026-11-28T20:19:19Z
- **Access methods:** api, mcp
- **Auth:** API Key (`apiKey`)
- **Categories:** Research & Knowledge (`research`), Memory & State (`memory-state`)
- **Tags:** rag, document-parsing, reranking, grounded-generation, knowledge-base, enterprise-search
- **Streaming:** No · **Push notifications:** No

## Use it now

### MCP
- **Hosted endpoint:** `https://mcp.app.contextual.ai/mcp`
- **Claude Code:** `claude mcp add --transport http contextual-ai https://mcp.app.contextual.ai/mcp`

```json
{
  "mcpServers": {
    "contextual-ai": {
      "url": "https://mcp.app.contextual.ai/mcp"
    }
  }
}
```
- **Docs:** https://docs.contextual.ai/quickstarts/getting-started

### API
- **Base URL:** `https://api.contextual.ai/v1`
- **Auth:** An API key from Contextual AI
- **Docs:** https://docs.contextual.ai/quickstarts/getting-started

## Try this first

Ask your assistant, with Contextual AI connected:

- Use Contextual AI to query a Contextual AI agent: ‹what you're looking for›
- Use Contextual AI to create a datastore: ‹what you need›
- Use Contextual AI to parse documents into structured text ready for retrieval: ‹what you need›

## Limitations

- needs an API key from Contextual AI

## Skills (5)

- **Query Agent** (`query-agent`): Queries a Contextual AI agent with a question and returns an answer grounded in your documents, with citations and attributions.
- **Build RAG Agent** (`build-rag-agent`): Creates a datastore, ingests your documents into it and builds a specialized RAG agent on top, through the API or the GUI.
- **Parse Documents** (`parse-documents`): Parses documents into structured text ready for retrieval with Contextual AI's Parse component, through the API.
- **Rerank Results** (`rerank-results`): Reranks retrieved passages by their relevance to a query with Contextual AI's Rerank component, through the API.
- **Evaluate Responses** (`evaluate-responses`): Scores model responses against natural-language unit tests with LMUnit to measure answer quality.

## Alternatives

- [Onyx](https://agentswitchboard.dev/agents/onyx.md) (`onyx`): Both offer API. In common: grounded, enterprise search, rag.
- [WeKnora](https://agentswitchboard.dev/agents/weknora.md) (`weknora`): Both offer API and MCP. In common: document parsing, rag, knowledge.
- [Ragie](https://agentswitchboard.dev/agents/ragie.md) (`ragie`): Both offer API. In common: rerank, results, rag.
- [RAGFlow](https://agentswitchboard.dev/agents/ragflow.md) (`ragflow`): Both offer API and MCP. In common: parse, document parsing, rag.
- [MaxKB](https://agentswitchboard.dev/agents/maxkb.md) (`maxkb`): Both offer API. In common: enterprise, rag, document.

All 8 alternatives: https://agentswitchboard.dev/agents/contextual-ai/alternatives · Compare side by side: https://agentswitchboard.dev/compare?a=contextual-ai&b=onyx&c=weknora

## For agents

- Listing JSON: https://agentswitchboard.dev/api/agents/contextual-ai
- Alternatives JSON: https://agentswitchboard.dev/api/agents/contextual-ai/alternatives
- MCP server (organic, no auth): https://agentswitchboard.dev/api/mcp
- Site guide: https://agentswitchboard.dev/llms.txt · Full index: https://agentswitchboard.dev/llms-full.txt
- Canonical HTML page: https://agentswitchboard.dev/agents/contextual-ai
