Command-line toolkit for web data extraction, batch processing, dataset pipelines, and analytics
Anysite CLI is a command-line toolkit for web data extraction, batch processing, dataset pipelines, and analytics. It calls the same endpoints as the REST API, plus dataset pipelines, database loading, and LLM-powered analysis on top.
Source code, issues, and contributions — MIT licensed
Make instant API requests with flexible output formats and field filtering
Process thousands of inputs in parallel with rate limiting and error handling
Build declarative YAML workflows with chained dependencies and scheduling
Load data into SQLite, PostgreSQL, or ClickHouse with auto-schema
Auto-discover database structure and browse saved catalogs
Classify, summarize, enrich, and deduplicate data using AI models
Query collected datasets with DuckDB SQL and generate analytics
Structured JSON output, exit codes, and discovery for AI agents
```bash
curl -fsSL https://raw.githubusercontent.com/anysiteio/anysite-cli/main/install.sh | bash
```
Or via pip: `pip install anysite-cli` — see [Installation](/docs/cli/installation) for all methods.
```bash
anysite config set api_key YOUR_API_KEY
```
> ACTION FOR THE HUMAN: copy your API key at https://app.anysite.io/billing — an agent cannot obtain it.
Or log in via browser instead: `anysite auth login`. See [Authentication](/docs/authentication)
for where your key lives.
```bash
anysite schema update
```
```bash
anysite api /api/linkedin/user user=satyanadella
```
| Feature | Description |
|---|---|
Universal api command |
Call any REST API endpoint by path with key=value parameters |
| Flexible Output | JSON, JSONL, CSV, and table formats with field selection and exclusion |
| Batch Processing | Parallel execution with rate limiting and configurable error handling |
| Dataset Pipelines | YAML-based multi-source workflows with dependency chains |
| Database Loading | Auto-schema creation, upsert, and diff-sync for SQLite, PostgreSQL, and ClickHouse |
| LLM Analysis | Classify, summarize, enrich, generate, match, and deduplicate records |
| Incremental Collection | Resume from where you left off with cursor tracking |
| Database Discovery | Auto-discover database structure, LLM-enriched catalogs |
| Agent Protocol | Structured errors, exit codes, and a discovery payload for scripts and agents |
Direct HTTP API for programmatic integration into your applications
AI agent integration via Model Context Protocol for Claude, Cursor, and other tools
Visual workflow automation with drag-and-drop nodes
Want AI to build and run pipelines for you? See Claude Code Skill in the installation guide.