CLI for AI agents to access world knowledge - Human uses GUI, We uses CLI
Project description
Worldbook CLI
"Human uses GUI, We uses CLI."
CLI tool for AI agents to access world knowledge.
Install
# PyPI
pip install worldbook
# npm (global install)
npm i -g worldbook
Usage
# Show manifesto
worldbook manifesto
# Check status
worldbook status
worldbook --json status
# Search worldbooks
worldbook query github
worldbook --json query github
# Get a worldbook
worldbook get github
worldbook --json get github
# Discover browser-page WebMCP tools for a URL
worldbook webmcp get "https://www.google.com/search?q=worldbook"
worldbook --json webmcp get "https://www.google.com/search?q=worldbook"
# Print agent setup instructions for Claude Code, Codex, or other agents
worldbook webmcp instructions
# Point to a local server
export WORLDBOOK_BASE_URL=http://localhost:8000
worldbook query github
WebMCP for Third-Party Agents
WebMCP lets an agent discover browser-page tools from the current URL without installing mcp-chrome.
worldbook --json webmcp get "<current-page-url>"
The command calls the existing Worldbook endpoint:
GET /api/webmcp/match?url=<current-page-url>
If a site matches, the response includes tools. Each tool has:
namedescriptioninputSchemahandler
The handler is JavaScript function source. A third-party agent should execute handler(params) in the matched browser page context using its own browser automation runtime, then return the JSON-serializable result.
For Claude Code, Codex, or any other agent with custom instructions, use:
worldbook webmcp instructions
The Dual Protocol Manifesto
We believe in a web that serves all intelligence.
GO AWAY SKILLS. GO AWAY MCP. WE LIKE CLI.
- Skills? → Vendor lock-in, complex schemas, approval queues
- MCP? → Protocol overhead, server setup, configuration hell
- CLI? → Just works. stdin/stdout. Every agent understands.
A worldbook is just a text file that tells us how to use your service. No SDK. No protocol. No ceremony. Just instructions.
License
MIT
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file worldbook-0.1.11.tar.gz.
File metadata
- Download URL: worldbook-0.1.11.tar.gz
- Upload date:
- Size: 5.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
04fc387c112e21df7a19207e99c77028d35151d19d72e2c82f6987022cd847ae
|
|
| MD5 |
8a5d53c4e50db65ec86c98c5fb0d9669
|
|
| BLAKE2b-256 |
b35053e82c10a54f67adf59509c7525f804d7726066a71c18aef06b2076db587
|
File details
Details for the file worldbook-0.1.11-py3-none-any.whl.
File metadata
- Download URL: worldbook-0.1.11-py3-none-any.whl
- Upload date:
- Size: 5.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
38cc64dd4beb516c11e6ee7f063f07356e28990e97d0324cdd60fe927446e344
|
|
| MD5 |
96e5d08430a37f77ae1a2d0b1e1ca3d0
|
|
| BLAKE2b-256 |
93238c66c2581a37154913d84447fa0ffce6ecfd722f8f9f67f0460ef25cf24d
|