Skip to main content
ClaudeWave
alex-deus avatar
alex-deus

mcp-dharmamitra

Ver en GitHub
MCP ServersRegistry oficial0 estrellas0 forksPythonActualizado today
ClaudeWave Trust Score
52/100
· OK
Passed
  • Actively maintained (<30d)
  • Documented (README)
Flags
  • !No standard license detected
  • !No description
Last scanned: 9/13/2026
Install in Claude Code / Claude Desktop
Method: UVX (Python) · mcp-dharmamitra
Claude Code CLI
claude mcp add mcp-dharmamitra -- uvx mcp-dharmamitra
claude_desktop_config.json (Claude Desktop)
{
  "mcpServers": {
    "mcp-dharmamitra": {
      "command": "uvx",
      "args": ["mcp-dharmamitra"]
    }
  }
}
1. Run the command above in your terminal (Claude Code), or paste the JSON config into claude_desktop_config.json (Claude Desktop).
2. Replace any <placeholder> values with your API keys or paths.
3. Restart Claude. The MCP server and its tools appear automatically.
Casos de uso

Resumen de MCP Servers

# mcp-dharmamitra

<!-- mcp-name: io.github.alex-deus/mcp-dharmamitra -->

MCP server that runs OCR on an image via the public
[Dharmamitra](https://dharmamitra.org) OCR endpoint and writes the extracted
text to a local file. Optimised for Tibetan / Sanskrit / Devanagari input.

## Tool

### `ocr_image`

| Argument | Type | Default | Notes |
| --- | --- | --- | --- |
| `image_path` | `str` | — | Absolute path to a local image (png/jpg/…). |
| `output_path` | `str` | — | File to write UTF-8 text into. Parent dirs are created. |
| `transliterate_devanagari_to_iast` | `bool` | `false` | Passed to the API. |
| `transliterate_tibetan_to_wylie` | `bool` | `false` | Passed to the API. |
| `instruction` | `str` | `""` | Optional model instruction. |
| `model` | `str` | `"auto"` | OCR model id. |
| `poll_interval_seconds` | `float` | `2.0` | Delay between status polls. |
| `timeout_seconds` | `float` | `300.0` | Overall polling deadline. |

Returns a small JSON summary — the extracted text is written to `output_path`,
not returned to the client.

```json
{
  "job_id": "b8b26984b3ca49199c28303cad6a144d",
  "output_path": "/abs/path/out.txt",
  "pages": 1,
  "processing_time_seconds": 3.957,
  "chars": 1234
}
```

## Install from the MCP registry

Listed as [`io.github.alex-deus/mcp-dharmamitra`](https://registry.modelcontextprotocol.io/v0/servers?search=io.github.alex-deus/mcp-dharmamitra)
on the official Model Context Protocol registry. The package ships to PyPI as
[`mcp-dharmamitra`](https://pypi.org/project/mcp-dharmamitra/) and is meant to
be run with `uvx` — no clone, no manual install.

`~/Library/Application Support/Claude/claude_desktop_config.json` (or the
equivalent `mcp` block in Claude Code):

```json
{
  "mcpServers": {
    "dharmamitra": {
      "command": "uvx",
      "args": ["mcp-dharmamitra"],
      "env": {"DHARMAMITRA_COOKIE": ""}
    }
  }
}
```

Or via the Claude Code CLI:

```bash
claude mcp add dharmamitra -e DHARMAMITRA_COOKIE="" -- uvx mcp-dharmamitra
```

Pin a specific version with `uvx mcp-dharmamitra@0.1.0`.

## Install from source

```bash
uv sync                           # or: pip install -e '.[dev]'
```

Run locally with the MCP inspector:

```bash
uv run mcp dev src/mcp_dharmamitra/server.py
```

Run tests:

```bash
uv run pytest
```

For a source checkout the Claude Desktop entry uses the local path:

```json
{
  "mcpServers": {
    "dharmamitra": {
      "command": "uv",
      "args": ["--directory", "/path/mcp-dharmamitra", "run", "mcp-dharmamitra"],
      "env": {"DHARMAMITRA_COOKIE": ""}
    }
  }
}
```

## Docker

Build the image:

```bash
docker build -t mcp-dharmamitra:latest .
```

MCP talks over stdio, so the container must be run with `-i` (no `-t`). Mount
a host directory that holds the input images — the tool arguments
(`image_path`, `output_path`) are paths **inside the container**.

Smoke-test the entrypoint:

```bash
docker run --rm --entrypoint python mcp-dharmamitra:latest \
  -c "from mcp_dharmamitra.server import mcp; print(mcp.name)"
```

### Wire the container into Claude Desktop / Claude Code

Replace `/path/mcp-dharmamitra` with any host
directory you want the tool to be able to read/write. Files inside it will be
visible under `/data` in the container.

```json
{
  "mcpServers": {
    "dharmamitra": {
      "command": "docker",
      "args": [
        "run", "-i", "--rm",
        "-v", "/path/mcp-dharmamitra/data:/data",
        "-e", "DHARMAMITRA_COOKIE",
        "mcp-dharmamitra:latest"
      ],
      "env": {
        "DHARMAMITRA_COOKIE": ""
      }
    }
  }
}
```

Or the same via CLI:

```bash
claude mcp add dharmamitra \
  --scope project \
  -e DHARMAMITRA_COOKIE="" \
  -- docker run -i --rm \
       -v /path/mcp-dharmamitra/data:/data \
       -e DHARMAMITRA_COOKIE \
       mcp-dharmamitra:latest
```

When calling the tool, pass container paths. Example — image at
`<host>/tmp/text.png` → `/data/text.png`:

```json
{
  "image_path": "/data/text.png",
  "output_path": "/data/text.txt"
}
```

The resulting `text.txt` appears in the mounted host directory.

## Cloudflare / `cf_clearance`

The endpoint sits behind Cloudflare. Most requests go through without any
cookie. If you start getting `403`, grab a fresh `cf_clearance` value from a
logged-in browser session on `dharmamitra.org` and export it:

```bash
export DHARMAMITRA_COOKIE='cf_clearance value here'
```

The server will attach it as a cookie on every request. Do not hardcode it —
Cloudflare rotates the value.

Lo que la gente pregunta sobre mcp-dharmamitra

¿Qué es alex-deus/mcp-dharmamitra?

+

alex-deus/mcp-dharmamitra es mcp servers para el ecosistema de Claude AI con 0 estrellas en GitHub.

¿Cómo se instala mcp-dharmamitra?

+

Puedes instalar mcp-dharmamitra clonando el repositorio (https://github.com/alex-deus/mcp-dharmamitra) o siguiendo las instrucciones del README en GitHub. ClaudeWave también te ofrece bloques de instalación rápida en esta misma página.

¿Es seguro usar alex-deus/mcp-dharmamitra?

+

Nuestro agente de seguridad ha analizado alex-deus/mcp-dharmamitra y le ha asignado un Trust Score de 52/100 (tier: OK). Revisa el desglose completo de comprobaciones superadas y flags en esta página.

¿Quién mantiene alex-deus/mcp-dharmamitra?

+

alex-deus/mcp-dharmamitra es mantenido por alex-deus. La última actividad registrada en GitHub es del 2026-09-12, con 0 issues abiertos.

¿Hay alternativas a mcp-dharmamitra?

+

Sí. En ClaudeWave puedes explorar mcp servers similares en /categories/mcp, ordenados por popularidad o actividad reciente.

Despliega mcp-dharmamitra en tu cloud

Lleva este repo a producción en minutos. Cada plataforma genera su propio entorno con variables de entorno editables.

¿Mantienes este repo? Añade un badge a tu README

Pega el badge en tu README de GitHub para mostrar que está auditado por ClaudeWave. Cada badge enlaza de vuelta a esta página y muestra el Trust Score actual.

Featured on ClaudeWave: alex-deus/mcp-dharmamitra
[![Featured on ClaudeWave](https://claudewave.com/api/badge/alex-deus-mcp-dharmamitra)](https://claudewave.com/repo/alex-deus-mcp-dharmamitra)
<a href="https://claudewave.com/repo/alex-deus-mcp-dharmamitra"><img src="https://claudewave.com/api/badge/alex-deus-mcp-dharmamitra" alt="Featured on ClaudeWave: alex-deus/mcp-dharmamitra" width="320" height="64" /></a>

Más MCP Servers

Alternativas a mcp-dharmamitra