Skip to content
MCP server

Source Guard

Checks citations, URLs and DOIs for fake sources, dead links and hidden prompt injection

Source Guard is a paid MCP server for fact verification. It runs as a hosted remote server, so there is nothing to install locally.

Pricing
Paid
Platforms
API, Web
Runs
Remotely
Version
1.0.0
Listing updated

Similar MCP servers

Install

Add with the CLI

Run in a terminal

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.

Or share it with your project

Add to .mcp.json

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

Claude Code setup guide

In Customize → Connectors → Add → Add custom connector

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.

Claude Desktop setup guide

Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.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.

Cursor setup guide

Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to ~/.copilot/mcp-config.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.

VS Code setup guide

In chatgpt.com → Plugins → + → Add custom MCP server

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.

ChatGPT setup guide

Add with the CLI

Run in a terminal

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

Or add to config.toml

Add to ~/.codex/config.toml

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

Codex setup guide

Add to Grok Bot desktop app → Connect apps → Add a custom connector

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.

Full Grok Bot setup guide

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "source-guard": {
      "type": "http",
      "url": "https://mcp.apify.com/?tools=shafnir/source-guard"
    }
  }
}
  • Gemini CLI and Antigravity

    Gemini CLI

    Add to ~/.gemini/settings.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'

    Antigravity

    Add to ~/.gemini/config/mcp_config.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.

    Gemini CLI and Antigravity setup guide

  • Devin Desktop (formerly Windsurf)

    Add to ~/.config/devin/mcp_config.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.

    Devin Desktop setup guide

  • Cline

    Add to cline_mcp_settings.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.

    Cline setup guide

  • Zed

    Add to Zed settings.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.

    Zed setup guide

  • JetBrains AI Assistant and Junie

    AI Assistant

    Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add

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

    Junie

    Add to ~/.junie/mcp/mcp.json

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

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

    JetBrains AI Assistant and Junie setup guide

  • Kiro

    Add to ~/.kiro/settings/mcp.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.

    Kiro setup guide

Using several servers? Build one config file with the MCP config generator.

About Source Guard

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.

Tools this server provides (1)

Taken from the project documentation; the running server may differ.

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.

What it does

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

Pricing

Paid

Pay per event: $0.01 per checked source plus a $0.005 start fee; unreachable sources are free.

Prices change. Check apify.com before you buy.

Source Guard 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.

How AIPoweredBot checks servers