npm url-safety-validator-mcpstreamable-httpMITupdated 15d ago
Stop your agent from fetching a dangerous URL before it's too late.
What can you do with URL Safety Validator MCP?
URL Safety Validator MCP
Stop your agent from fetching a dangerous URL before it's too late.
Agents that process emails, scrape pages, or consume API responses encounter URLs from untrusted sources constantly. This server gives your agent a single call to gate every URL before it proceeds — returning a SAFE/SUSPICIOUS/DANGEROUS verdict backed by Google Web Risk, Google Safe Browsing, and AI analysis.
What It Does
One tool: check_url. One call returns:
- Verdict: SAFE / SUSPICIOUS / DANGEROUS
- AI trust score: 0–100 (0 = definitely dangerous, 100 = definitely safe)
- Threat categories: phishing, malware, unwanted_software, typosquatting, newly_registered, suspicious_redirect, brand_impersonation
- SSL status: valid or not
- Domain age: registration date and age in days
- Redirect chain flag: detected from URL parameters
- Database signals: raw results from Google Web Risk and Google Safe Browsing
- AI reasoning: 2–3 sentence plain-English explanation
- AI confidence: HIGH / MEDIUM / LOW
AI-powered analysis — NOT a simple database lookup.
When to Call This Tool
Call check_url BEFORE your agent:
- Fetches content from a URL found in an email
- Visits a link extracted from a scraped page or document
- Passes a URL to a browser tool or web scraper
- Stores or forwards a URL from any untrusted source
- Approves any outbound link in a content pipeline
If the verdict is DANGEROUS — halt. If SUSPICIOUS — flag for review. If SAFE — proceed.
Data Sources
| Source | Type | Coverage |
|---|---|---|
| Google Web Risk | Commercial API | Malware, phishing, unwanted software |
| Google Safe Browsing | Free | Malware, phishing, unwanted software (fallback when Web Risk key absent) |
| RDAP | Free | Domain registration date |
| Anthropic Claude | AI | Trust scoring and reasoning synthesis |
Pricing
| Tier | Calls | Price |
|---|---|---|
| Free | 10/month | No API key needed |
| Starter | 500-call bundle | $20 |
| Pro | 2,000-call bundle | $70 |
Remote Usage (No Install)
https://url-safety-validator-mcp-production.up.railway.app
Add x-api-key: YOUR_KEY header for Pro/Enterprise tiers. Leave blank for free tier.
Local Install (stdio)
npm install -g url-safety-validator-mcp
{
"mcpServers": {
"url-safety-validator": {
"command": "url-safety-validator-mcp",
"env": {
"ANTHROPIC_API_KEY": "your-key",
"GOOGLE_WEB_RISK_API_KEY": "your-key"
}
}
}
}
Harness Integration
Claude Code / Claude Desktop (.mcp.json)
{
"mcpServers": {
"url-safety-validator": {
"type": "http",
"url": "https://url-safety-validator-mcp-production.up.railway.app"
}
}
}
LangChain (Python)
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"url-safety-validator": {
"url": "https://url-safety-validator-mcp-production.up.railway.app",
"transport": "http"
}
})
tools = await client.get_tools()
OpenAI Agents SDK (Python)
from agents import Agent, HostedMCPTool
agent = Agent(
name="Assistant",
tools=[HostedMCPTool(tool_config={
"type": "mcp",
"server_label": "url-safety-validator",
"server_url": "https://url-safety-validator-mcp-production.up.railway.app",
"require_approval": "never"
})]
)
LangGraph
Same as LangChain above — langchain-mcp-adapters works with LangGraph natively.
Example Response
{
"url": "https://suspicious-domain.xyz/login",
"hostname": "suspicious-domain.xyz",
"verdict": "DANGEROUS",
"trust_score": 4,
"ssl_valid": true,
"domain_age_days": 12,
"redirect_chain_detected": false,
"threat_categories": ["phishing", "newly_registered"],
"reasoning": "Domain registered 12 days ago and impersonates a financial institution's login page. Google Web Risk flags this as SOCIAL_ENGINEERING.",
"ai_confidence": "HIGH",
"analysis_type": "AI-powered -- NOT a simple database lookup"
}
Legal
Results are for informational purposes only. Verdict is a risk signal — not a guarantee of safety or danger. We do not log or store your query content. Full terms: kordagencies.com/terms.html
Provider: Kord Agencies Pte Ltd, Singapore.
Install
Add URL Safety Validator MCP to your client. Pick the one you use.
{
"servers": {
"url-safety-validator-mcp": {
"type": "http",
"url": "https://url-safety-validator-mcp-production.up.railway.app"
}
}
}Add to `.vscode/mcp.json` in your workspace.
claude mcp add url-safety-validator-mcp -- npx -y url-safety-validator-mcpcodex mcp add url-safety-validator-mcp -- npx -y url-safety-validator-mcpamp mcp add url-safety-validator-mcp -- npx -y url-safety-validator-mcp{
"mcpServers": {
"url-safety-validator-mcp": {
"command": "npx",
"args": [
"-y",
"url-safety-validator-mcp"
]
}
}
}Add to `claude_desktop_config.json`, then restart Claude Desktop.
{
"mcpServers": {
"url-safety-validator-mcp": {
"command": "npx",
"args": [
"-y",
"url-safety-validator-mcp"
]
}
}
}Add to `~/.cursor/mcp.json`, or `.cursor/mcp.json` for a single project.
{
"mcpServers": {
"url-safety-validator-mcp": {
"command": "npx",
"args": [
"-y",
"url-safety-validator-mcp"
]
}
}
}Add to `~/.codeium/windsurf/mcp_config.json`.
{
"mcpServers": {
"url-safety-validator-mcp": {
"command": "npx",
"args": [
"-y",
"url-safety-validator-mcp"
]
}
}
}Add to `cline_mcp_settings.json` via the MCP Servers panel.
{
"mcpServers": {
"url-safety-validator-mcp": {
"command": "npx",
"args": [
"-y",
"url-safety-validator-mcp"
]
}
}
}Add to `~/.gemini/settings.json`.
{
"mcpServers": {
"url-safety-validator-mcp": {
"type": "local",
"command": "npx",
"args": [
"-y",
"url-safety-validator-mcp"
],
"tools": [
"*"
]
}
}
}Add to `~/.copilot/mcp-config.json`, or run `/mcp add` inside the CLI.
{
"context_servers": {
"url-safety-validator-mcp": {
"command": {
"path": "npx",
"args": [
"-y",
"url-safety-validator-mcp"
]
}
}
}
}Add to your Zed `settings.json`.
npx -y url-safety-validator-mcpRun `goose configure`, choose **Add Extension → Command-line Extension**, and paste this command.
Score
39 / 100
Incomplete
- Documentation25/25
- Maintenance25/25
- Trust13/20
- Capability0/15
- Install experience15/15
- Documents what it does and how to connect
- Has a resolvable package or endpoint
- Exposes at least one tool, prompt or resource
- README has substantive content
- Includes a code example
- Documents its configuration
- Mentions credentials or security posture
- Last commit 8 days ago
- Has a release history
- Repository is not archived
- Licensed MIT
- Namespace verified in the official MCP registry
- Claimed by its owner
- Published under an organisation
- 0 tool(s) documented
- Provides prompt templates
- Provides resources
- 18 documented install method(s)
- Published to a package registry
- Offers a hosted endpoint — no local install
Version history
| Versions | Published |
|---|---|
| 1.2.27Latest | Jun 25, 2026 |
| 1.2.25 | Jun 24, 2026 |
| 1.2.6 | May 2, 2026 |
| 1.2.5 | Apr 28, 2026 |
| 1.2.4 | Apr 26, 2026 |
| 1.2.3 | Apr 26, 2026 |
| 1.2.2 | Apr 25, 2026 |
| 1.2.1 | Apr 23, 2026 |
| 1.2.0 | Apr 22, 2026 |
| 1.1.0 | Apr 22, 2026 |