MCP server for AI agents
Give your AI agent a browser it can call: our remote MCP server turns every API feature into a tool – fetch a page as Markdown, render it, take a screenshot, map or crawl a site.
You send
POST /mcp
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "scrape",
"arguments": {
"url": "https://blog.example/posts/42"
}
}
}- Endpoint
POST /mcp- Cost
- Like the API: 1 credit per answer up to 1 MB
- Plans
- All plans, Free included
- Failed requests
- Not charged
- Documentation
- Step-by-step guide
Agents that only know their training data guess. Agents with a do-it-yourself fetch tool run into timeouts, drown in raw HTML or hit pages that need JavaScript.
How VirginProxy helps
- One URL for every client: https://api.virginproxy.com/mcp (Streamable HTTP), with your API key or with sign-in from Claude.ai and ChatGPT.
- 20 tools, among them scrape,
batch_scrape, screenshot, map, crawl, estimate and account – each with a short description the model understands. - Pages come back as clean Markdown of the main content by default, so the agent spends its context on text, not on menus.
- Same prices as the API: the agent's calls are ordinary requests, and
"max_credits"puts a ceiling on each one.
Example request
A tool call as JSON-RPC – exactly what an MCP client sends when the agent decides to read a page.
curl https://api.virginproxy.com/mcp \
-H "Authorization: Bearer $VP_KEY" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "scrape",
"arguments": {
"url": "https://blog.example/posts/42"
}
}
}'
import os, requests
r = requests.post(
"https://api.virginproxy.com/mcp",
headers={"Authorization": "Bearer " + os.environ["VP_KEY"]},
json={
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "scrape",
"arguments": {
"url": "https://blog.example/posts/42"
}
}
},
timeout=150,
)
data = r.json()
print(data["result"]["content"][0]["text"][:500])
const res = await fetch("https://api.virginproxy.com/mcp", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.VP_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "scrape",
"arguments": {
"url": "https://blog.example/posts/42"
}
}
}),
});
const data = await res.json();
console.log(data.result.content[0].text.slice(0, 500));
$ch = curl_init("https://api.virginproxy.com/mcp");
curl_setopt_array($ch, [
CURLOPT_POST => true,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
"Authorization: Bearer " . getenv("VP_KEY"),
"Content-Type: application/json",
],
CURLOPT_POSTFIELDS => json_encode([
"jsonrpc" => "2.0",
"id" => 1,
"method" => "tools/call",
"params" => [
"name" => "scrape",
"arguments" => [
"url" => "https://blog.example/posts/42",
],
],
]),
CURLOPT_TIMEOUT => 150,
]);
$data = json_decode(curl_exec($ch), true);
echo substr($data["result"]["content"][0]["text"], 0, 500);
body := strings.NewReader(`{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "scrape",
"arguments": {
"url": "https://blog.example/posts/42"
}
}
}`)
req, _ := http.NewRequest("POST", "https://api.virginproxy.com/mcp", body)
req.Header.Set("Authorization", "Bearer "+os.Getenv("VP_KEY"))
req.Header.Set("Content-Type", "application/json")
res, err := http.DefaultClient.Do(req)
if err != nil {
log.Fatal(err)
}
defer res.Body.Close()
var data map[string]any
json.NewDecoder(res.Body).Decode(&data)
fmt.Println(data["result"].(map[string]any)["content"].([]any)[0].(map[string]any)["text"])
Documentation for this feature · n8n, LangChain and LlamaIndex · API reference
Questions
Which clients work?
Every client that speaks MCP over Streamable HTTP: Claude.ai and Claude Desktop, ChatGPT, Cursor, VS Code, Windsurf and others. Apps with a sign-in connect without a key; the others take a key in their configuration.
Can the agent spend all my credits?
Only what your plan and key allow. Give the agent its own key with a credit or daily limit, and let it ask "estimate" before large jobs.
Other features
- Web scraping API
- JavaScript rendering
- URL to Markdown for LLMs
- Documents to Markdown
- Data extraction
- Web search API
- Screenshot API
- Website map and link discovery
- Website crawler
- Batch jobs and webhooks
- Website monitoring
Use cases
- Price and stock monitoring
- Travel and tickets
- Listings and classifieds
- Testing and verification
- Brand protection
Pricing and cost examplesSelf-hosting vs APIWeb scraping APIs comparedWhat is a web scraping API?Quick start
Use VirginProxy for lawful purposes and respect the terms and rights of the sites you visit.
Try it with 50 free credits
Pick up where you left off
No card needed. Your first request takes two minutes.
Your credits, keys and recent requests are waiting in the dashboard.
Start with 50 free creditsGo to dashboard