# Source Guard

> Source Guard is a paid MCP server for fact verification. Checks citations, URLs and DOIs for fake sources, dead links and hidden prompt injection. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Pricing:** Paid
- **Platforms:** API, Web
- **Website:** https://apify.com/shafnir/source-guard
- **Repository:** https://github.com/shafnir/source-guard
- **MCP Registry name:** io.github.shafnir/source-guard
- **Categories:** [fact verification](https://ai-powered.com/categories/fact-verification)
- **Listing updated:** 2026-11-28

## About

Source Guard gives an AI agent a way to test a source before repeating it. You pass in URLs, DOIs, arXiv ids or free-text references, optionally with the title, authors, year or quote the agent relies on, and it returns a verdict for each one. Existence is checked against doi.org, Crossref, DataCite, the arXiv API and the Wayback Machine, so a missing record can be told apart from a removed page.

The checks run over plain HTTP and public scholarly registries, without an LLM in the loop, so results are repeatable. Each page is also scanned for text hidden from human readers, such as white-on-white or off-screen content, HTML comments and zero-width characters, that is aimed at AI agents. Clean page text with that material removed can be returned for the agent to read.

The tool is offered as a hosted MCP server on Apify and can also be called through the Apify API. It suits research and writing agents that need to verify a bibliography, and developers who want source checks inside an agent pipeline.

## Features

- **Source existence checks:** Confirms that a URL, DOI or arXiv id resolves and that the record exists in the relevant registry.
- **Metadata matching:** Compares a claimed title, author surnames and year against the registry record or page metadata.
- **Quote verification:** Looks for a claimed quote in the visible text of HTML pages and PDFs, ignoring text hidden from readers.
- **Free-text citation lookup:** Searches OpenAlex and Crossref for citations given as plain text without a link or identifier.
- **Hidden instruction detection:** Flags hidden text, comments and invisible characters that try to steer AI agents.
- **Clean page text output:** Optionally returns page text with hidden elements and injection sentences removed.

## Good for

- Checking every reference in a research draft before publishing
- Catching invented DOIs or mistyped arXiv ids produced by a language model
- Confirming a quoted sentence actually appears on the cited page
- Screening web pages an agent is about to read for hidden instructions
- Finding which links in a document have gone dead and whether an archive copy exists

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add --transport http source-guard 'https://mcp.apify.com/?tools=shafnir/source-guard'
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "source-guard": {
      "type": "http",
      "url": "https://mcp.apify.com/?tools=shafnir/source-guard"
    }
  }
}
```

### Claude Desktop (Customize → Connectors → Add → Add custom connector)

```text
https://mcp.apify.com/?tools=shafnir/source-guard
```

Paste this URL, choose how to sign in, then click Add and Connect. On Team and Enterprise an Owner adds it in Organization settings → Connectors.

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

```json
{
  "mcpServers": {
    "source-guard": {
      "url": "https://mcp.apify.com/?tools=shafnir/source-guard"
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "source-guard": {
      "type": "http",
      "url": "https://mcp.apify.com/?tools=shafnir/source-guard"
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### ChatGPT (chatgpt.com → Plugins → + → Add custom MCP server)

```text
https://mcp.apify.com/?tools=shafnir/source-guard
```

Paste this URL, set up sign-in, accept the warning and install the plugin. Then type @ in a chat to use it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add source-guard --url 'https://mcp.apify.com/?tools=shafnir/source-guard'
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.source-guard]
url = "https://mcp.apify.com/?tools=shafnir/source-guard"
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "source-guard": {
      "httpUrl": "https://mcp.apify.com/?tools=shafnir/source-guard"
    }
  }
}
```

Or run: gemini mcp add -s user --transport http source-guard 'https://mcp.apify.com/?tools=shafnir/source-guard'

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "source-guard": {
      "serverUrl": "https://mcp.apify.com/?tools=shafnir/source-guard"
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "source-guard": {
      "url": "https://mcp.apify.com/?tools=shafnir/source-guard",
      "transport": "http"
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "source-guard": {
      "type": "streamableHttp",
      "url": "https://mcp.apify.com/?tools=shafnir/source-guard"
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "source-guard": {
      "url": "https://mcp.apify.com/?tools=shafnir/source-guard"
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "source-guard": {
      "url": "https://mcp.apify.com/?tools=shafnir/source-guard"
    }
  }
}
```

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "source-guard": {
      "url": "https://mcp.apify.com/?tools=shafnir/source-guard"
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "source-guard": {
      "url": "https://mcp.apify.com/?tools=shafnir/source-guard"
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Grok Bot (Grok Bot desktop app → Connect apps → Add a custom connector)

```sh
https://mcp.apify.com/?tools=shafnir/source-guard
```

Enter a Name (for example "Source Guard"), choose Type: Remote HTTPS, paste this as the Server URL and choose Add plugin.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "source-guard": {
      "type": "http",
      "url": "https://mcp.apify.com/?tools=shafnir/source-guard"
    }
  }
}
```

## Tools

From the tool list in its README, going by the names, 1 name doesn't say. From the server's own tool labels and tool names; not verified by us.

- `shafnir--source-guard`: Verifies a list of citations, URLs, DOIs or arXiv ids and returns a verdict, reasons, metadata and an injection report for each.

## FAQ

### Does Source Guard use an LLM?

No. Checks rely on registries, HTTP requests, text matching and pattern rules, so results are repeatable.

### Does Source Guard respect robots.txt?

Yes by default. It identifies itself as SourceGuardBot and fetches single pages at modest concurrency.

### Are unreachable sources charged?

No. Sources that end as unreachable are not charged; the others are billed per checked source.

### Can Source Guard bypass bot protection or logins?

No. It works on public pages only and reports bot-protection challenges as unreachable.

### Is Source Guard free?

No. Source Guard is a paid product.

### How do I add Source Guard to Claude Code?

Run this command in your terminal: claude mcp add --transport http source-guard 'https://mcp.apify.com/?tools=shafnir/source-guard'

## Where this comes from

- Description: written from the project's README, the project's website and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [Recheck](https://ai-powered.com/mcp/recheck): Recheck is an open-source MCP server for fact verification.

---
Source: https://ai-powered.com/mcp/source-guard
