@agishub/mcp 2.1.0 → 2.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +65 -7
  2. package/dist/stdio.js +40563 -13474
  3. package/package.json +9 -5
package/README.md CHANGED
@@ -4,6 +4,8 @@
4
4
 
5
5
  **Pay-per-call tools for AI agents — no signup, no API keys, just USDC.**
6
6
 
7
+ ### ▶ [Try any tool live in your browser — no install](https://api.agishub.com/try)
8
+
7
9
  Live data & utilities over [x402](https://x402.org) micropayments on **Base**. Your agent
8
10
  pays a few tenths of a cent per call from its own wallet; no accounts, no monthly plans.
9
11
 
@@ -53,10 +55,11 @@ Discovery: https://api.agishub.com/openapi.json
53
55
 
54
56
  ## Tools
55
57
 
56
- Prices are per call in USDC on Base. Tools on both channels are **free via MCP** and priced
57
- via **HTTP x402**.
58
+ **34 tools across 12 services.** Prices are per call in USDC on Base. Tools marked
59
+ **MCP · HTTP** are **free via MCP** and pay‑per‑call via **HTTP x402**; tools marked **HTTP**
60
+ are paid‑only (they touch metered infrastructure, so they run exclusively on the x402 endpoint).
58
61
 
59
- ### 🕔 timezone — world clock, date math & scheduling for agents
62
+ ### 🕔 Timezone — world clock, date math & scheduling
60
63
 
61
64
  | Tool | What it does | Channels | Cost (x402) |
62
65
  |------|--------------|:--------:|:-----------:|
@@ -67,16 +70,71 @@ via **HTTP x402**.
67
70
  | `lookup_timezone` | Resolve a city or country to its IANA timezone(s). "Delhi" → `Asia/Kolkata`. | MCP · HTTP | $0.001 |
68
71
  | `date_math` | Add/subtract time respecting DST, or diff two datetimes across zones. | MCP · HTTP | $0.001 |
69
72
  | `find_meeting_slots` | Overlapping working‑hour slots across timezones (skips weekends & public holidays). | MCP · HTTP | free: 1 slot · **$0.02**: all |
70
- | `is_holiday` | Is a date a public holiday in a country (ISO 3166‑1)? Data from Nager.Date. | MCP · HTTP | $0.001 |
73
+ | `is_holiday` | Is a date a public holiday in a country (ISO 3166‑1)? Authoritative public‑holiday data. | MCP · HTTP | $0.001 |
71
74
  | `list_timezones` | List or search valid IANA timezone names. | MCP | free |
72
75
 
73
- ### 🕸️ Agis Web Scraper — read any web page as clean markdown
76
+ ### 🕸️ Web — read, scrape & extract from any page
77
+
78
+ | Tool | What it does | Channels | Cost (x402) |
79
+ |------|--------------|:--------:|:-----------:|
80
+ | `extract` | Fetch any public URL and return its main content as clean, token‑efficient markdown (title, headings, links, lists). Optional `render:true` runs a headless browser for JS‑heavy pages / SPAs. Built for RAG. | MCP · HTTP | **$0.004** |
81
+ | `scrape` | Extract specific elements from a JS‑rendered page by CSS selector — text and attributes of every match. Backed by a headless browser, so it works on SPAs. | HTTP | $0.004 |
82
+ | `structured` | AI‑powered structured extraction: give a URL plus a prompt and/or a JSON Schema and get back clean structured JSON (e.g. product name, price, rating). | HTTP | $0.006 |
83
+ | `snapshot` | Capture several representations in one call — rendered HTML, a PNG screenshot, and optional markdown & accessibility tree. | HTTP | $0.008 |
84
+ | `links` | Return every hyperlink on a JS‑rendered page as absolute URLs, with visible‑only and same‑site filters. | HTTP | $0.002 |
85
+
86
+ ### 🤖 AI — NLP & generation (no external API key)
87
+
88
+ | Tool | What it does | Channels | Cost (x402) |
89
+ |------|--------------|:--------:|:-----------:|
90
+ | `summarize` | Summarize a block of text into a short abstract, with an optional target length. | MCP · HTTP | $0.003 |
91
+ | `classify` | Classify a text into exactly one of the candidate labels you provide. | MCP · HTTP | $0.002 |
92
+ | `extract_entities` | Extract named entities (people, orgs, locations, dates) as structured JSON. | MCP · HTTP | $0.003 |
93
+ | `embed` | Turn text into a multilingual embedding vector (BGE‑M3) for semantic search / RAG. | MCP · HTTP | $0.001 |
94
+ | `chat` | Ask a general‑purpose LLM a question, with an optional system prompt. | MCP · HTTP | $0.003 |
95
+ | `transcribe` | Transcribe an audio file (by public URL) to text. | MCP · HTTP | $0.006 |
96
+ | `tts` | Convert text into spoken audio (base64 MP3), in several languages. | HTTP | $0.005 |
97
+
98
+ ### 🧠 Memory / RAG — persistent semantic memory
99
+
100
+ | Tool | What it does | Channels | Cost (x402) |
101
+ |------|--------------|:--------:|:-----------:|
102
+ | `memory_upsert` | Store text in a persistent, searchable collection (namespace); embedded & indexed. | MCP · HTTP | $0.001 |
103
+ | `memory_search` | Semantically search a namespace and return the most relevant stored entries. | MCP · HTTP | $0.001 |
104
+
105
+ ### 📤 Webhooks — guaranteed, retried delivery
106
+
107
+ | Tool | What it does | Channels | Cost (x402) |
108
+ |------|--------------|:--------:|:-----------:|
109
+ | `relay` | Deliver a webhook (POST/PUT/PATCH) with background retries. Returns a `job_id` at once. | MCP · HTTP | $0.002 |
110
+ | `status` | Check a webhook job's delivery status (queued / retrying / delivered / failed). | MCP · HTTP | $0.001 |
111
+
112
+ ### 💱 Finance & crypto — live rates and prices
113
+
114
+ | Tool | What it does | Channels | Cost (x402) |
115
+ |------|--------------|:--------:|:-----------:|
116
+ | `convert_currency` | Convert an amount between currencies using live daily FX rates (ISO 4217). | MCP · HTTP | $0.001 |
117
+ | `price` | Live USD spot prices for cryptocurrencies by ticker (BTC, ETH, SOL). | MCP · HTTP | $0.001 |
118
+
119
+ ### 🔧 Utilities & links
120
+
121
+ | Tool | What it does | Channels | Cost (x402) |
122
+ |------|--------------|:--------:|:-----------:|
123
+ | `qr_code` | Generate a QR code (inline SVG + data URI) for any text or URL. | MCP · HTTP | $0.001 |
124
+ | `convert_units` | Convert between units of one category (length, mass, volume, speed, area, storage, time, temperature). | MCP · HTTP | $0.001 |
125
+ | `shorten` | Shorten a long URL into a compact `api.agishub.com/s/<code>` redirect link. | MCP · HTTP | $0.001 |
126
+
127
+ ### 🖼️ Render & browser — documents, images, automation (paid‑only)
74
128
 
75
129
  | Tool | What it does | Channels | Cost (x402) |
76
130
  |------|--------------|:--------:|:-----------:|
77
- | `extract` | Fetch any public URL and return its main content as clean markdown (title, headings, links, lists). Optional `render:true` runs a headless browser for JS‑heavy pages / SPAs. Built for RAG and agents that need to read the web. | HTTP | **$0.004** |
131
+ | `pdf` | Render a public URL or raw HTML into a PDF (base64). Headless browser. | HTTP | $0.008 |
132
+ | `screenshot` | Capture a PNG screenshot of any public URL (full page or viewport). | HTTP | $0.006 |
133
+ | `generate` (image) | Generate an image from a text prompt (base64 PNG). | HTTP | $0.01 |
134
+ | `automate` (browser) | Drive a headless browser through steps — click, type, wait, extract, screenshot — for logins, forms and multi‑step flows. | HTTP | $0.01 |
78
135
 
79
- > More tools land here as the platform grows — each new service plugs into the same MCP + x402 doors.
136
+ > New services plug into the same MCP + x402 doors and appear automatically in
137
+ > [`/openapi.json`](https://api.agishub.com/openapi.json).
80
138
 
81
139
  ---
82
140