🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@unphurl/mcp-server

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@unphurl/mcp-server

Unphurl domain intelligence MCP server — check URLs for security and quality signals from any AI tool

Source
npmnpm
Version
0.1.1
Version published
Weekly downloads
66
-22.35%
Maintainers
1
Weekly downloads
 
Created
Source

Unphurl

@unphurl/mcp-server

Domain intelligence for AI tools. Unphurl analyses URLs across seven dimensions (redirect behaviour, brand impersonation, domain intelligence via RDAP, SSL/TLS validity, parked domain detection, URL structural analysis, and DNS enrichment) and returns structured signals with a configurable risk score. 23 scoring weights, all customizable per use case. One URL in, structured intelligence out. Your agent decides what to do with it.

What it costs

Every new account gets 3 free pipeline check credits to test with real URLs. Most lookups are free. Known domains (Tranco Top 100K) and previously analysed domains return cached results at no cost. You only pay when an unknown domain runs through the full analysis pipeline. Packages start at $9 for 100 pipeline checks (one-time purchase, no subscription). In typical use, 95-99% of URLs resolve free.

Quick start

1. Add to your MCP configuration

Add to your .mcp.json (Claude Code, Claude Desktop, Claude Cowork, ChatGPT desktop, Cursor, Windsurf, or any MCP-compatible tool):

{
  "mcpServers": {
    "unphurl": {
      "command": "npx",
      "args": ["-y", "@unphurl/mcp-server"],
      "env": {
        "UNPHURL_API_KEY": "uph_your_key_here"
      }
    }
  }
}

2. No account yet?

The AI can create one for you. Just ask it to sign up for Unphurl. The signup tool works without an API key. After signup, add the key to your MCP configuration and restart.

3. Optional: custom API URL

For local development or staging, set UNPHURL_API_URL in the env block. Defaults to https://api.unphurl.com.

Tools

ToolDescriptionAuth
signupCreate a new account, get an API keyNo
resend_verificationResend verification email (rate limited 3/hour)Yes
check_urlCheck a single URL for security/quality signalsYes
check_urlsBatch check up to 500 URLs (handles async polling automatically)Yes
list_profilesList custom scoring profilesYes
create_profileCreate or update a scoring profileYes
delete_profileDelete a scoring profileYes
show_defaultsShow all 23 scoring signals with default weightsNo
get_balanceCheck pipeline check credit balanceYes
get_statsView usage statistics and score threshold countsYes
get_pricingShow available credit packages and pricingNo
purchasePurchase credits (returns Stripe Checkout URL)Yes
check_historyView recent URL check historyYes

How billing works

  • A positive credit balance is required for all check requests, even for free lookups (Tranco and cached domains). Free lookups don't deduct credits, but you need at least 1 credit on your account.
  • Batch checks (check_urls): credits for all unknown URLs are deducted upfront. If you don't have enough credits for every unknown in the batch, the entire batch is rejected. You still get a smart summary showing how many URLs are known, cached, and unknown, and exactly how many credits you need to purchase.
  • Failed pipeline checks are automatically refunded. If the pipeline fails completely and returns zero signals, the credit is restored. Partial results (some signals succeeded, some timed out) are not refunded since you received intelligence.

Filtering batch results

After a batch check with check_urls, ask your AI to filter the results:

"Check these 500 URLs. Give me two lists: the clean ones (score under 25) and the flagged ones (score 50 or higher). Export both as CSV."

The agent gets the batch results, filters by score, and outputs the lists you need. No code, no jq, no scripting. This is one of the advantages of the MCP path: your AI is the filter.

Companion skill

The check-url-safety skill teaches your AI to proactively check URLs before following or recommending them, without being asked.

If you use Claude Cowork or Claude Desktop: Just ask Claude: "Install the Unphurl URL safety skill." Claude can set it up for you.

If you use Claude Code, Cursor, or another developer tool:

# Global (all projects)
cp node_modules/@unphurl/mcp-server/skills/check-url-safety.md ~/.claude/skills/

# Or for a specific project
cp node_modules/@unphurl/mcp-server/skills/check-url-safety.md .claude/skills/

The skill teaches the agent to:

  • Check unfamiliar URLs before recommending them
  • Use batch checking for multiple URLs (more efficient)
  • Handle zero-credit situations gracefully
  • Skip well-known domains that don't need checking
  • API Documentation
  • CLI Tool
  • Website

License

MIT

Keywords

mcp

FAQs

Package last updated on 11 Apr 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts