H
@herd/browser
A Herd trail for interacting with your browser's tabs and extracting content, html, markdown, seo data...
Trail Details
Selected Version
v1.0.3
(4 versions available)
Published By
Herd (@herd)
Last Updated
4/6/2025
Downloads
33
Quick Actions - MCP compatible
Installation and Usage
Quick Run
SDK Implementation
Usage Example
Available Actions
All the following actions for @herd/browser are accessible via the built-in MCP server, CLI, REST API as well as programmatically via the SDK.
seo
Extracts comprehensive SEO data from a browser tab
Parameters
Name | Type | Description | Required |
---|---|---|---|
toc |
Boolean |
Whether to extract table of contents | No |
url |
String |
URL of the page to extract content from (required when target is 'url') | No |
target |
String |
Target tab selection: 'current', 'url', or 'all' | No |
data
Extracts structured data from a browser tab
Parameters
Name | Type | Description | Required |
---|---|---|---|
url |
String |
URL of the page to extract data from (required when target is 'url') | No |
target |
String |
Target tab selection: 'current', 'url', or 'all' | No |
selection |
Object |
A Herd selection to extract data from specific elements. See https://herd.garden/docs/data-extraction | Yes |
html
Extracts HTML from a browser tab
Parameters
Name | Type | Description | Required |
---|---|---|---|
url |
String |
URL of the page to extract HTML from (required when target is 'url') | No |
target |
String |
Target tab selection: 'current', 'url', or 'all' | No |
selector |
String |
CSS selector to extract HTML from specific elements | No |
compression |
String |
Level of HTML compression to apply (reduces up to 90% of the HTML token count without critical information loss) | No |
content
Extracts basic text content from a browser tab
Parameters
Name | Type | Description | Required |
---|---|---|---|
url |
String |
URL of the page to extract content from (required when target is 'url') | No |
target |
String |
Target tab selection: 'current', 'url', or 'all' | No |
selector |
String |
CSS selector to extract content from specific elements | No |
markdown
Converts HTML from a browser tab to Markdown
Parameters
Name | Type | Description | Required |
---|---|---|---|
url |
String |
URL of the page to extract content from (required when target is 'url') | No |
target |
String |
Target tab selection: 'current', 'url', or 'all' | No |
options |
Object |
Options for HTML to Markdown conversion | No |
selector |
String |
CSS selector to extract HTML from specific elements | No |