mcpField
F
free-proxy-mcp

free-proxy-mcp

Local
github.com/litportnetDeveloper Tools0Updated 6w ago

About free-proxy-mcp

free-proxy-mcp is a local MCP server that lets MCP clients query Litport's public snapshot of verified free proxies. It offers read-only filtering, ranking, and statistics; it does not forward traffic or accept arbitrary caller-supplied URLs.

Key features

  1. 01List verified free proxies
  2. 02Filter proxies by criteria
  3. 03Pick highest-ranked proxies
  4. 04Summarize snapshot statistics
  5. 05Return errors as structured results

Use cases

  1. 01Find proxies by protocol or country
  2. 02Filter proxies by anonymity level
  3. 03Select proxies by latency or uptime
  4. 04Review protocol and latency statistics

MCP support

This local stdio MCP server exposes three read-only tools: list_proxies, pick_best_proxies, and proxy_snapshot_stats.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"litportnet-free-proxy": {
"command": "npx",
"args": [
"-y",
"@litportnet/free-proxy-mcp"
]
}
}
}
Run commandnpx -y @litportnet/free-proxy-mcp

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npm@litportnet/free-proxy-mcp0.1.0

Tools

3

Saved tool list · updated 3w ago

ParameterTypeRequiredDescription
httpsbooleanNoRestrict results to proxies that do (true) or do not (false) support HTTPS.
limitintegerNoMaximum number of proxies to return (1-50).
countrystringNoTwo-letter ISO 3166-1 alpha-2 country code (case-insensitive).
protocolenumNoRestrict results to this proxy protocol.http | socks4 | socks5
anonymityenumNoRestrict results to this anonymity classification.transparent | anonymous | elite | unknown
minChecks7dintegerNoKeep only proxies with at least this many checks in the last seven days.
minUptime7dintegerNoKeep only proxies whose seven-day uptime percentage is at least this value.
maxLatencyMsintegerNoKeep only proxies whose latest latency is at most this many milliseconds.
checkedWithinMinintegerNoOnly include proxies last checked within this many minutes (1-1440).

Details

From the project README

Litport free proxies: live lists, API and SDKs

Litport Free Proxy MCP Server

A local, stdio Model Context Protocol server that gives an MCP client (Claude Desktop, Claude Code, or any other MCP-compatible agent) three bounded, read-only tools over Litport's public free-proxy snapshot: list verified HTTP, SOCKS4, and SOCKS5 proxies, pick the highest-ranked ones, and summarize the current snapshot. It never forwards traffic, never accepts arbitrary URLs from tool callers, and exposes no write or side-effecting tools; it is a thin wrapper around @litportnet/free-proxy-sdk.

Install / Use with Claude Desktop, Claude Code, and other MCP clients

Add this to your client's MCP server configuration (for Claude Desktop, claude_desktop_config.json; for Claude Code, .mcp.json or claude mcp add):

{
  "mcpServers": {
    "free-proxy": {
      "command": "npx",
      "args": ["-y", "@litportnet/free-proxy-mcp"]
    }
  }
}

No installation step is required beyond having Node.js 20+ available; npx fetches and runs the package on demand. To install it explicitly instead:

npm install -g @litportnet/free-proxy-mcp

Tools

All three tools are read-only and share the same underlying filters. country is a two-letter ISO 3166-1 alpha-2 code (case-insensitive). checkedWithinMin limits results to proxies checked within the last 1-1440 minutes.

ToolDescriptionInputs
list_proxiesList verified free proxies matching filters.protocol (http|socks4|socks5), country, anonymity (transparent|anonymous|elite|unknown), https (boolean), maxLatencyMs (int ≥ 0), minUptime7d (int 0-100), minChecks7d (int ≥ 0), checkedWithinMin (int 1-1440, default 30), limit (int 1-50, default 10)
pick_best_proxiesReturn the highest-ranked proxies matching filters.count (int 1-25, default 5), plus the same filters as list_proxies except limit
proxy_snapshot_statsSummarize the current proxy snapshot.checkedWithinMin (int 1-1440, default 30), protocol, country

list_proxies and pick_best_proxies return a count and a proxies array of normalized records exactly as returned by the SDK. proxy_snapshot_stats returns the total matching count, counts by protocol and anonymity, the top 10 countries by count, the share of matching proxies that support HTTPS, latency min/median/p90/max across records that report latency, how many records have a known seven-day uptime, and the newest and oldest lastChecked timestamps. Every response includes a disclaimer field. Errors from the underlying SDK (invalid filters, request timeouts, malformed or stale snapshots) are returned as { isError: true, content: [...] } rather than thrown, and never include a stack trace.

Environment

VariableDefaultPurpose
LITPORT_FREE_PROXY_API_URLthe SDK's built-in snapshot URLAbsolute http:// or https:// URL for the snapshot endpoint. The server validates this and exits with a clear error on startup if it is set to something else.
LITPORT_FREE_PROXY_TIMEOUT_MS10000Per-request timeout in milliseconds passed to the SDK client.

Test

npm install
npm test

npm test runs node --test over test/*.test.mjs: in-process unit tests that drive the server through the MCP SDK's in-memory transport with an injected @litportnet/free-proxy-sdk client, and an end-to-end test that spawns the server over stdio against a local HTTP fixture server, plus a regression test that launches the server through a bin symlink the way npx does.

Resources

Free proxies are for testing only. Never route credentials, cookies, payment data, or private data through them.

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.