Metadata-Version: 2.4
Name: preflight-mcp
Version: 0.10.0
Summary: MCP server for Preflight — TrustPilot for APIs, built for AI agents
Project-URL: Homepage, https://beamt.io/preflight
Project-URL: Documentation, https://beamt.io/preflight
Project-URL: Repository, https://gitlab.com/beamt/preflight-mcp
Author-email: "Beamt, LLC" <hello@beamt.io>
License-Expression: MIT
Keywords: ai-agents,api-monitoring,mcp,preflight,reliability
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Software Development :: Libraries
Classifier: Topic :: System :: Monitoring
Requires-Python: >=3.10
Requires-Dist: fastmcp>=3.0.0
Requires-Dist: httpx>=0.28.1
Description-Content-Type: text/markdown

# Preflight MCP Server

TrustPilot for APIs, built for AI agents. Independent reliability ratings for every API and MCP server — powered by synthetic probes and crowdsourced agent telemetry.

## Install

```bash
pip install preflight-mcp
```

## Usage

### As a standalone MCP server

```bash
preflight-mcp
```

### With Claude Desktop

Add to your Claude Desktop MCP config:

```json
{
  "mcpServers": {
    "preflight": {
      "command": "preflight-mcp"
    }
  }
}
```

### With Claude Code

```bash
/plugin install preflight@claude-plugins-official
```

## Tools

### check_reliability

Look up the independent reliability rating for any service.

```
check_reliability(service="openai-api")
```

### compare_services

Compare ratings side by side to pick the most reliable provider.

```
compare_services(services=["openai-api", "anthropic-api"])
```

### report_outcome

Leave a review — report what happened when you called a service. Improves ratings for everyone.

```
report_outcome(service="openai-api", outcome="success", latency_ms=200)
```

## Configuration

| Variable | Default | Description |
|----------|---------|-------------|
| `PREFLIGHT_API_URL` | `https://preflight.beamt.io` | API base URL |
| `PREFLIGHT_API_KEY` | (none) | API key for authenticated requests |

Get a free API key at [beamt.io/preflight](https://beamt.io/preflight).

## License

MIT
