# EntryLib MCP server

> Enables AI agents to search and cite research claims with evidence and reliability scores through structured claimsets.

- Repository: https://github.com/entrylib/portal
- Page: https://hostedmcp.org/servers/entrylib/portal
- Transport: remote
- Stars: 0
- License: Apache-2.0
- Latest version: 0.1.0

## Install

### Claude Code

```sh
claude mcp add --transport http portal https://entrylib.org/mcp
```

### Cursor (`~/.cursor/mcp.json`)

```json
{
  "mcpServers": {
    "portal": {
      "url": "https://entrylib.org/mcp"
    }
  }
}
```

### VS Code (`.vscode/mcp.json`)

```json
{
  "servers": {
    "portal": {
      "type": "http",
      "url": "https://entrylib.org/mcp"
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"portal","type":"http","url":"https://entrylib.org/mcp"}'
```

### Codex

```sh
codex mcp add portal --url https://entrylib.org/mcp
```

### Codex config.toml (`~/.codex/config.toml`)

```toml
[mcp_servers.portal]
url = "https://entrylib.org/mcp"
```

### Gemini CLI

```sh
gemini mcp add -s user --transport http portal https://entrylib.org/mcp
```

### Gemini settings.json (`~/.gemini/settings.json`)

```json
{
  "mcpServers": {
    "portal": {
      "url": "https://entrylib.org/mcp",
      "type": "http"
    }
  }
}
```

## Environment variables

| Name | Required | Secret | Description |
|---|---|---|---|
| `DATABASE_URL` | no | no |  |
| `ORCID_BASE` | no | no |  |
| `ORCID_CLIENT_ID` | no | no |  |
| `ORCID_CLIENT_SECRET` | no | no |  |
| `PORTAL_BASE_URL` | no | no |  |
| `PORTAL_PUBLISHED_DIR` | no | no |  |
| `PORTAL_REGISTRY_DIR` | no | no |  |
| `PORTAL_SUBMISSIONS_DIR` | no | no |  |
| `TEST_DATABASE_URL` | no | no |  |

## FAQ

### How are research claims verified?

Human guarantors confirm submitted claimsets using their ORCID identity.

### What database is used for EntryLib?

The system uses PostgreSQL 16 with the pgvector extension.
