# SAKH — Ayatollah Khamenei Research Corpus

SAKH connects an Arabic and Persian research corpus to an MCP client, with source-backed retrieval of rulings, lectures, and related concepts.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI
- Author: SADIQOON-LTD
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/SADIQOON-LTD/sakh-mcp
- Updated: 2026-07-20
- HTML: https://affpapa.org/en/nevibecode/mcp/sakh-ayatollah-khamenei-research-corpus

## What it does

SAKH gives Claude Code access to a hosted corpus of Sayyid Ali Khamenei’s juridical rulings, lectures, and intellectual writing in Arabic and Persian. Retrieval blends meaning-based matching with keyword search, then returns the cited book, page, chapter, and match confidence. It does not generate a ruling outside the corpus.

The server exposes seven read-only tools. They cover corpus search, verbatim fatwa retrieval, concept-graph traversal, thematic cluster surveys, subject analysis before applying a ruling, glossary lookup, and system guidance. The graph contains about 145,000 concepts connected by evidence-bearing relations. Access follows a Google sign-in request, so that step is required before queries can run. The hosted service and corpus are proprietary to SADIQOON TECHNOLOGIES LTD; the repository documentation uses the MIT license.

## Requirements
- Remote server: `https://mcp.khamenei-online.org/mcp/sakh`

## Install

### Claude Code (native platform)

**Platform CLI: remote server**
```bash
claude mcp add --transport http sakh https://mcp.khamenei-online.org/mcp/sakh
```

### Codex

**Platform CLI: remote server**
```bash
codex mcp add sakh-ayatollah-khamenei-research-corpus --url https://mcp.khamenei-online.org/mcp/sakh
```

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "sakh-ayatollah-khamenei-research-corpus": {
            "url": "https://mcp.khamenei-online.org/mcp/sakh"
        }
    }
}
```

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "sakh-ayatollah-khamenei-research-corpus": {
            "type": "http",
            "url": "https://mcp.khamenei-online.org/mcp/sakh"
        }
    }
}
```

### Gemini CLI

**Platform CLI: remote server**
```bash
gemini mcp add -t http sakh-ayatollah-khamenei-research-corpus https://mcp.khamenei-online.org/mcp/sakh
```

## When to use it
- retrieve a ruling on a specific situation
- check claims across lectures and writings
- trace relations between theological concepts
- look up a juridical term
- analyse a subject before applying a ruling

## Example prompts
- Find the ruling on a traveller planning to remain in one place for ten days, and include the cited source.
- Search the corpus for Khamenei’s discussion of the resistance economy and show the references.
- Explore the concept network around wilayat al-faqih and explain what supports or challenges it.

## Similar
- [Zotero MCP](https://affpapa.org/en/nevibecode/mcp/zotero-mcp.md) — MCP server · ★ 5585
- [arxiv-mcp-server](https://affpapa.org/en/nevibecode/mcp/arxiv-mcp-server.md) — MCP server · ★ 3235
- [PaperBanana](https://affpapa.org/en/nevibecode/mcp/paperbanana.md) — MCP server · ★ 2418
- [MATLAB MCP Server](https://affpapa.org/en/nevibecode/mcp/matlab-mcp-server.md) — MCP server · ★ 1723
- [Hex Research](https://affpapa.org/en/nevibecode/mcp/hex-research.md) — MCP server · ★ 584
- [DocsAgent — Zotero, Obsidian & Apple Notes MCP Server](https://affpapa.org/en/nevibecode/mcp/docsagent-zotero-obsidian-apple-notes-mcp-server.md) — MCP server · ★ 578

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
