# PubLedge MCP server

> Lets an AI client query and retrieve structured legal instruments, obligations, and regulatory records from a shared ontology.

- Repository: https://github.com/snapsynapse/publedge
- Page: https://hostedmcp.org/servers/snapsynapse/publedge
- Transport: stdio
- Stars: 0
- Latest version: 0.2.5

## Install

### Claude Code

```sh
claude mcp add publedge -- npx -y publedge
```

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

```json
{
  "mcpServers": {
    "publedge": {
      "command": "npx",
      "args": [
        "-y",
        "publedge"
      ]
    }
  }
}
```

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

```json
{
  "servers": {
    "publedge": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "publedge"
      ]
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"publedge","type":"stdio","command":"npx","args":["-y","publedge"]}'
```

### Claude Desktop (`claude_desktop_config.json`)

```json
{
  "mcpServers": {
    "publedge": {
      "command": "npx",
      "args": [
        "-y",
        "publedge"
      ]
    }
  }
}
```

### Codex

```sh
codex mcp add publedge -- npx -y publedge
```

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

```toml
[mcp_servers.publedge]
command = "npx"
args = ["-y", "publedge"]
```

### Gemini CLI

```sh
gemini mcp add -s user publedge npx -- -y publedge
```

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

```json
{
  "mcpServers": {
    "publedge": {
      "command": "npx",
      "args": [
        "-y",
        "publedge"
      ]
    }
  }
}
```

## FAQ

### What kind of records can I access with PubLedge?

You can access Joint Interpretation Agreements (JIAs), Regulatory Mitigation Agreements (RMAs), no-action letters, private letter rulings, and advisory opinions.

### What tools does the MCP server expose?

The server provides 13 read-only tools including searching for instruments, obligations, and authorities, as well as fetching specific records by URL.

### Is the data in PubLedge verifiable?

Yes, the protocol uses SHA-256 manifest checks to ensure consistency between the source files and the manifest.
