Metadata-Version: 2.4
Name: tru8-mcp
Version: 1.0.2
Summary: Tru8 Evidence Research MCP server — structured evidence research tools for AI agents
Project-URL: Homepage, https://www.trueight.com
Project-URL: Documentation, https://www.trueight.com/developers
Project-URL: Repository, https://github.com/SamYatesSmith/tru8-mcp
Project-URL: Issues, https://github.com/SamYatesSmith/tru8-mcp/issues
Author-email: SamYatesSmith <samyatessmith@gmail.com>
License-Expression: MIT
License-File: LICENSE
Keywords: ai-agent,evidence,fact-check,mcp,research
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Scientific/Engineering :: Information Analysis
Requires-Python: >=3.10
Requires-Dist: httpx>=0.25.0
Requires-Dist: mcp>=1.0.0
Description-Content-Type: text/markdown

<!-- mcp-name: io.github.SamYatesSmith/tru8 -->

# tru8-mcp

MCP server for [Tru8 Evidence Research](https://www.trueight.com) — structured evidence research tools for AI agents.

Submit a claim or URL, get back source-traced evidence organized by tier (primary/reporting/commentary) and type (data/official/news/analysis/opinion/academic), with element decomposition and relationship mapping.

## Quick Start

```bash
pip install tru8-mcp
```

Or run without installing:

```bash
uvx tru8-mcp
```

Set your API key:

```bash
export TRU8_API_KEY=tru8_sk_...
```

Create an API key at your [Tru8 dashboard](https://www.trueight.com/dashboard/settings) under Settings > Developer.

## Configuration

### Claude Desktop

Add to `claude_desktop_config.json`:

```json
{
  "mcpServers": {
    "tru8": {
      "command": "tru8-mcp",
      "env": {
        "TRU8_API_KEY": "tru8_sk_..."
      }
    }
  }
}
```

### Cline / Cursor

Add to your MCP settings:

```json
{
  "mcpServers": {
    "tru8": {
      "command": "uvx",
      "args": ["tru8-mcp"],
      "env": {
        "TRU8_API_KEY": "tru8_sk_..."
      }
    }
  }
}
```

### From source

```bash
git clone https://github.com/SamYatesSmith/tru8-mcp.git
cd tru8-mcp
pip install -e .
tru8-mcp
```

## Tools

| Tool | Description | Typical time |
|------|-------------|-------------|
| `tru8_check` | Evidence research for a claim or article URL | 15-120s |
| `tru8_get_result` | Retrieve completed check with computed analytics | <1s |
| `tru8_get_result_raw` | Retrieve raw check data without computed analytics | <1s |

## Environment Variables

| Variable | Required | Description |
|----------|----------|-------------|
| `TRU8_API_KEY` | Yes | API key (`tru8_sk_...`). Create at dashboard > Settings > Developer. |
| `TRU8_API_URL` | No | API base URL. Default: `https://api.trueight.com` |

## Security

Store API keys in environment variables or a secrets manager. Never hardcode keys in source code. If a key is compromised, revoke it immediately at your dashboard.
