Back to Directory/Search & Knowledge

Atlas Web Compiler & Scraper

Deterministic Zero-LLM Web Compiler, Scraper, Crawler, and Site Mapper for AI Agents.

Search & KnowledgeTypeScriptv1.0.3
Atlas Logo

Atlas

The web compiler that turns webpages into clean, efficient structured data for AI and developers.

Transforms messy web pages, SPAs, and deep documentation into token-efficient Markdown, structured ASTs, and domain topologies with sub-1.5s latency.


⚡ Why Atlas?

Traditional web scraping returns megabytes of raw, unstructured HTML bloated with navigation bars, cookie banners, tracking scripts, and presentational CSS. Feeding raw HTML into Large Language Models wastes 70% to 90% of your context window, escalates inference costs, and increases reasoning hallucinations.

Atlas compiles the web at the edge before it reaches your models:

  • 🧠 0-LLM Deterministic Pipeline: Pure heuristic AST transformation passes. Zero hallucinations, zero prompt drift, 100% reproducible output.
  • 📉 70–90% Token Reduction: Strips page chrome while faithfully preserving headings, tables, code fences, equations, and outbound links.
  • 🤖 Native Model Context Protocol (MCP): 1-click integration with Cursor, Claude Desktop, Windsurf, VS Code, and custom AI agent loops.
  • 🚀 Sub-1.5s Global Edge Latency: Distributed execution across 300+ edge locations with DNS-aware SSRF protection.
  • 🛡️ Workspace-Scoped & Idempotent: Automatic duplicate prevention via RFC 4122 idempotency keys.

📦 What’s in This Repository

This monorepo houses the public ecosystem and developer tools for Atlas:

ComponentPathLanguage / StandardInstallation / Package
Model Context Protocolmcp/MCP Standard (2026 era)npx -y @atlascompiler/mcp init
TypeScript / JS SDKsdk/js/TypeScript / Node / Deno / Bunnpm install @atlascompiler/sdk
Python SDKsdk/python/Python 3.10+ (httpx, typing)pip install atlascompiler
Go SDKsdk/go/Go 1.22+go get go.atlas-compiler.com/sdk
Atlas Agent Skillsskills/Agent Skill SpecificationCanonical recipes for AI assistants
Starter Examplesexamples/Node, Python, Go, cURLRunnable recipes & templates

🚀 Quickstarts

1. AI Agents & Coding Assistants (MCP Server)

Connect Claude Desktop, Cursor, VS Code, or Windsurf directly to Atlas with the 1-click interactive wizard:

npx -y @atlascompiler/mcp init

The wizard prompts for your Atlas API key, validates connectivity, and automatically configures your installed editors without exposing tokens in process args.

To run the Stdio server directly:

npx -y @atlascompiler/mcp

2. TypeScript / JavaScript

Install the official type-safe client library:

npm install @atlascompiler/sdk
# or: pnpm add @atlascompiler/sdk / yarn add @atlascompiler/sdk
import { AtlasClient } from '@atlascompiler/sdk';

const client = new AtlasClient({
  apiKey: process.env.ATLAS_API_KEY!,
});

// Compile a web page into clean, structured Markdown
const response = await client.compile({
  url: 'https://docs.github.com/en/rest',
});

if (response.status === 200) {
  console.log('Title:', response.value.metadata.title);
  console.log('Markdown:\n', response.value.markdown);
}

3. Python

Install the official Python client library:

pip install atlascompiler
import os
from atlascompiler import AtlasClient

with AtlasClient(os.getenv("ATLAS_API_KEY")) as client:
    response = client.compile({"url": "https://example.com/article"})
    
    if response.status == 200:
        print("Title:", response.value["metadata"]["title"])
        print("Markdown:\n", response.value["markdown"])

Async support is built-in via AsyncAtlasClient.


4. Go

go get go.atlas-compiler.com/sdk
package main

import (
	"context"
	"fmt"
	"log"
	"os"

	"go.atlas-compiler.com/sdk"
)

func main() {
	client := atlas.New(os.Getenv("ATLAS_API_KEY"))
	res, _, err := client.Compile(context.Background(), atlas.CompileUrlRequest{
		Url: "https://example.com",
	})
	if err != nil {
		log.Fatal(err)
	}

	if res.Response200 != nil {
		fmt.Println("Markdown:\n", res.Response200.Markdown)
	}
}

5. Direct HTTP / cURL

curl -X POST https://api.atlas-compiler.com/v1/compile \
  -H "Authorization: Bearer atlas_your_api_key_here" \
  -H "Content-Type: application/json" \
  -d '{"url": "https://example.com"}'

🛠 Supported Operations

Atlas exposes 5 core operations via REST, SDKs, and MCP:

  • compile: Deep 12-pass AST compilation with structural content graph extraction and visual formatting.
  • scrape: Sub-1.5s real-time Markdown extraction for low-latency agent loops (POST /v1/scrape).
  • map: Rapid topological spider that crawls and ranks all reachable URLs across a domain (POST /v1/map).
  • crawl: Bounded, asynchronous multi-page website crawls with path glob filtering (POST /v1/crawls).
  • batch: High-concurrency parallel retrieval for up to 500 URLs per job with unified status webhooks (POST /v1/batches).

💬 Community & Support

  • Discord: Join our active developer community at discord.gg/z9ktRhuudq for help, agent prompts, and feature discussions.
  • GitHub Discussions: Share recipes, ask questions, or propose ideas at Discussions.
  • Bug Reports: Open an issue using our Bug Report Template.
  • Security Inquiries: Email support@atlas-compiler.com for private disclosure.

📜 Contributing & License

Contributions are welcome! Please read our Contributing Guide and Code of Conduct.

Licensed under the MIT License.

Installation

Source-derived launch command. Check the maintainer’s required arguments and credentials before running:

bash
npx -y @atlascompiler/mcp

Set up in your AI client

Merge this template into ~/Library/Application Support/Claude/claude_desktop_config.json. Keep existing servers. Add any arguments, credentials, and permissions required by the maintainer; this template has not been install-tested.

json
{
  "mcpServers": {
    "com-atlas-compiler-atlas": {
      "command": "npx",
      "args": [
        "-y",
        "@atlascompiler/mcp"
      ]
    }
  }
}

Restart Claude Desktop completely for changes to take effect. Confirm the server appears connected in the client’s tool list, then try a read-only example from its documentation.

Claude Desktop setup reference

Package

@atlascompiler/mcpnpm

Compatible MCP Clients

Atlas Web Compiler & Scraper works with any MCP-compatible client. Copy the config snippet from the Configuration section above and add it to the file shown for your client, then restart the application.

  • Claude Desktop~/Library/Application Support/Claude/claude_desktop_config.jsonRestart Claude Desktop completely for changes to take effect.
  • Cursor~/.cursor/mcp.jsonRestart Cursor for changes to take effect.
  • VS Code.vscode/mcp.jsonReload VS Code window for changes to take effect.
  • Windsurf~/.codeium/windsurf/mcp_config.jsonRestart Windsurf for changes to take effect.
  • Claude Code.mcp.jsonSave at the project root, then start Claude Code in that project and review the MCP server approval prompt. Keep real credentials out of shared files.

Learn More