Source Guard for LangChain
io.github.shafnir/source-guard
Verify citations, URLs and DOIs: fake sources, dead links and hidden prompt injection.
client:LangChain
transport:streamable-http
Install Source Guard in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"source-guard": {
"transport": "streamable_http",
"url": "https://mcp.apify.com/?tools=shafnir/source-guard",
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs