# com.predme/hypathesis

> Variable relationships from research papers with causal direction and source traceback.

- name: com.predme/hypathesis
- version: 0.16.0
- connection class: R0 (autonomous)
- trust: 73/100 flags: no-repository
- quality: 85/100 (good)
- owner: not claimed
- descriptor: https://api.protogrid.dev/v1/servers/com.predme%2Fhypathesis
- tools: https://api.protogrid.dev/v1/servers/com.predme%2Fhypathesis/tools

**An agent can connect right now, no human step.** Remote endpoint, no authentication, reachable on the last probe.

## Connection (mcpServers)

```json
{
  "mcpServers": {
    "hypathesis": {
      "type": "http",
      "url": "https://hypathesis.com/mcp"
    }
  }
}
```


## Trust

- hygiene: 80
- liveness: 100
- freshness: 65
- provenance: 45
- drivers: +dns-namespace +reachable +uptime-100% ~updated-136d-ago -no-repository
- Derived from observable signals (official registry feed and our own credential-free probes); no code audit performed.

## Quality 85/100 (good)

### protocol: 75 (weight 25)

- warn `protocol.modern`: newest supported version is 2025-11-25; 2026-07-28 not supported, older versions are deprecated until 2027-07-28
- n/a `protocol.stateless`: only applies to 2026-07-28 servers
- pass `protocol.transport`: streamable HTTP
- n/a `protocol.list_ttl`: only applies to 2026-07-28 servers

### authorization: n/a (weight 15)

- n/a `auth.prm`, `auth.as_metadata`, `auth.cimd`: no remote uses OAuth
- n/a `auth.secret_in_url`: no templated URL

### tool hygiene: 86 (weight 30)

- pass `tools.descriptions`: every tool has a description
- pass `tools.description_length`: descriptions are concise
- pass `tools.schemas`: every tool has an object input schema
- pass `tools.annotations`: 4 of 4 tools declare readOnlyHint or destructiveHint
- fail `tools.directory_hints`: no tool declares all four of readOnlyHint, destructiveHint, idempotentHint and openWorldHint; missing: get_variable_relationships (openWorldHint); initiate_device_auth (openWorldHint); check_device_auth (openWorldHint); …
- pass `tools.token_cost`: about 909 tokens to load every tool
- pass `tools.api_dump`: tools are not a one-to-one API dump

### stability: 100 (weight 15)

- pass `stability.changes`: no tool changes in 30 days
- pass `stability.rug_pull`: no tool changed its meaning under the same name

### dependencies: n/a (weight 15)

- n/a `deps.known_vulns`, `deps.mcp_sdk_version`, `deps.resolvable`: no npm or PyPI package

- tools: 4, about 909 tokens to load them all
- tool set hash: c36b272806810bc6ca05796558c0aa6e
- badge: [![protogrid quality](https://protogrid.dev/badge/com.predme/hypathesis.svg)](https://protogrid.dev/servers/com.predme/hypathesis)
- Checks run on what our credential-free, read-only probes observe; tools are never called and no code audit is performed.

### Tool changes

_No tool definition changes recorded._

## Remotes

- https://hypathesis.com/mcp (streamable-http, auth none, reachable true, uptime30d 1)

## Packages

_none_

## Tools (4)

- `check_device_auth`: 
    Check if the user has completed browser sign-in for a device auth request.

    Poll this after calling initiate_device_auth. Returns status 'pending'
    while waiting, or 'complete' with an api_key when the user has signed in.
    Use the returned api_key as the authorization parameter in other tools.

    Args:
        user_code: The user_code returned by initiate_device_auth.

    Returns:
        Pending: {"status": "pending"}
        Complete: {"status": "complete", "api_key": "hk_..."}
        Error: {"error": "..."}
    
- `get_analysis_status`: 
    Check the processing status of an uploaded paper.

    Poll this tool after uploading a PDF until status is 'Ready' before
    calling get_variable_relationships.

    Args:
        file_id: The file_id returned by the /upload endpoint.
        authorization: Optional. API key as 'Bearer hk_...' or 'hk_...'.
        session_token: Optional. The session_token returned by /upload for anonymous uploads.

    Returns:
        {
          "status": "Processing" | "Ready" | "Empty" | "Ineligible" | "Pending",
          "edges_count": int,
          "variables_count": int
        }
    
- `get_variable_relationships`: 
    Retrieve analyzed variable relationships for a completed paper.

    Only returns results when get_analysis_status reports status='Ready'.

    Without an API key (anonymous): returns the relationship list with
    source, target, and direction — but detailed reasoning is available
    only with an API key. Sign up at https://hypathesis.com to get one.

    Args:
        file_id: The file_id returned by the /upload endpoint.
        authorization: Optional. API key as 'Bearer hk_...' or 'hk_...'.
        session_token: Optional. The session_token returned by /upload for anonymous uploads.

    Returns:
        Authenticated: full details (source, target, directed, reason per
        relationship; name, measure per variable).
        Anonymous: gated (source, target, directed per relationship;
        name per variable; sign_up_url for full access).
    
- `initiate_device_auth`: 
    Start a browser-based sign-in flow to get an API key for full access.

    Call this when you need detailed analysis results (reasoning, measurements)
    that require authentication. Returns a verification URL to show to the user.
    After the user signs in, poll check_device_auth with the returned user_code
    to get the API key.

    Returns:
        {
          "verification_url": str,
          "user_code": str,
          "expires_in": 600,
          "message": str
        }
    
