Skip to main content
Glama
yubinkim444

ai-first-scraper-mcp

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
SEARCH_URLNoURL of the search backendhttps://ai-first-search.onrender.com
AFS_TIMEOUTNoTimeout in seconds for requests30
SCRAPER_URLNoURL of the scraper backendhttps://ai-first-scraper.onrender.com

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
fetch_pageA

Fetch a single web page or PDF and return its main content as clean, ad-free Markdown — ready to drop into an LLM prompt.

Args: url: A fully-qualified http(s) URL. max_tokens: Optional soft cap on the returned Markdown (whitespace tokens). When exceeded, the body is truncated and a [...truncated] marker is appended.

Returns: The cleaned Markdown body of the page.

fetch_pages_batchA

Fetch many web pages in parallel and return each one's clean Markdown.

Use this whenever you need to read more than one URL at once — it is far faster than calling fetch_page in a loop because the upstream scraper handles the concurrency.

Args: urls: Up to 25 URLs. max_tokens: Optional per-URL soft cap on the returned Markdown.

Returns: A list of {url, ok, data?, error?} objects in the same order as the input URLs. data is {title, word_count, markdown, links, ...} on success; error contains the failure reason otherwise.

search_webA

Run a web search and return the top-k result pages already converted to clean Markdown. Use this whenever you need fresh information from the public web — it combines search and read in one call.

Args: q: The user's query (free text). k: How many results to fetch (1–10, default 5). max_tokens: Optional per-result soft cap on the returned Markdown.

Returns: A list of {url, title, snippet, ok, markdown, word_count, error?} result objects. Use title and snippet to decide which results are worth citing, then drop the markdown field into your prompt.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/yubinkim444/ai-first-scraper-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server