# Thoth [Health: Active]

**Category:** 🔬 Research  
**Repository:** https://github.com/ahmedEid1/thoth  
**GitHub Stars:** 2  
**Views:** 4  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/thoth

## Description
Read-only MCP over an agentic SLR workspace with per-claim citation verification

## Claude Desktop Quick Installation
No generated config for this server: it installs through its own setup steps.

The project's own setup steps (from https://github.com/ahmedEid1/thoth), copied verbatim. Run them in order; they are not an mcpServers config.

1. Install:

```sh
git clone https://github.com/ahmedEid1/thoth.git && cd thoth
```

2. Configure:

```sh
cp .env.example .env        # Clerk + Trigger.dev keys + MISTRAL_API_KEY
```

3. Start the server:

```sh
docker compose up -d        # postgres, minio, langfuse
```

4. Install:

```sh
pnpm install && pnpm prisma migrate dev
```

5. Start the server:

```sh
pnpm dev                    # Next.js on :3000
```

6. Start the server:

```sh
pnpm dev:trigger            # Trigger.dev worker (separate terminal)
```

## Documentation

## What Thoth does

Thoth provides read-only MCP access to a systematic literature review workspace. It is designed for research workflows where an AI-generated review needs both a readable draft and an inspectable record of how its citations were checked.

The central review artifact is the citation audit. For every paper reference in a draft, `cite_check` evaluates the associated claim against the cited paper and assigns a supported, unsupported, or unclear verdict. The resulting report remains available at claim level rather than being reduced to a single score. Reviews also expose critic and citation-faithfulness scores.

Thoth can be used with uploaded papers, or with its v2 discovery path. That path connects discovery, fetching, and screening across OpenAlex, arXiv, and Exa, including open-access PDF retrieval and OCR. Discovery and screening are still under calibration.

## How it works

The MCP endpoint is scoped to the authenticated user's account and exposes read operations over the workspace. OAuth 2.1 with PKCE and Dynamic Client Registration handles client authorization through Clerk. Requests are subject to rate limits, and audit records use SHA-256 logging.

A typical review workflow includes human approval gates for the review plan, discovered papers, and final paper inclusion. After a review is completed, an assistant can retrieve the draft and inspect the per-claim citation report. The discovery path also records the papers it surfaced, their fetch and screening state, the generated queries, and provider-specific errors.

The application can be run locally with Docker Compose for PostgreSQL, MinIO, and Langfuse, alongside the Next.js application and a separate Trigger.dev worker.

## Setup and configuration

Self-hosting is the supported deployment path because the hosted application has been retired. Clone the repository, create an environment file from `.env.example`, start the supporting services with Docker Compose, install dependencies with pnpm, run the Prisma development migration, and start both the Next.js application and Trigger.dev worker.

The local setup uses Clerk and Trigger.dev credentials, plus an API key for the selected language-model provider. The documented example uses `MISTRAL_API_KEY`. Once deployed, connect an MCP client to:

```text
https://<your-host>/api/mcp/mcp
```

For a hosted or remote deployment, authorization takes place in the browser rather than requiring a token to be copied into the client.

## Tools and capabilities

The read-only MCP tools include:

- `list_reviews`: lists the user's reviews with critic and faithfulness scores.
- `get_review_draft`: returns the Markdown draft for a completed review.
- `get_citation_audit`: returns the per-claim `cite_check` verdict report.
- `list_discovered_papers`: lists papers found by the v2 discoverer with fetch and screening status.
- `get_search_queries`: returns generated discovery queries and errors reported by each provider.

The last two tools belong to the v2 discovery flow. Thoth also supports switching among six LLM providers through an environment setting, with Mistral used in the documented default deployment.

## Limitations and notes

MCP access is read-only: these tools retrieve review data and do not create, edit, or approve reviews. The hosted app and its hosted evaluation runs are retired, so deployment requires running Thoth on your own machine or host.

The outbound discovery and screening pipeline is under active evaluation and should not be treated as a finished measure of search quality. Public evaluation data tracks inclusion precision and recall, claim faithfulness, and coverage on a versioned golden set; those metrics describe evaluated samples rather than a guarantee for every review. Citation verdicts are also evidence for review rather than a replacement for a researcher's judgment, especially when a result is marked unclear.

_Full upstream README: https://allmcps.com/mcp/thoth/readme_

