tinyfish-web-mcp
Use two MCP tools to search the live web and read pages as clean markdown, backed by TinyFish (free at any wallet balance).
web_searchreturns up to 10 ranked results with title, URL, snippet; news adds date/publisher, papers add authors/venue/citations.Search can be narrowed by
domain_type(web,news,research_paper),recency_minutes, comma-separatedinclude_domains/exclude_domains, and optionalpurpose.web_fetchreads 1–10 URLs as clean markdown with JavaScript rendered.Long pages support pagination via
offset; each URL returns at most 20,000 characters per call.Both tools return structured content for scripts;
web_fetchincludes pages, errors, andnext_offset; checkisErroron failures.Do not use it for JSON/raw files because markdown conversion can alter structured data.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@tinyfish-web-mcp search the web for recent advances in quantum computing"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
tinyfish-web-mcp
A lean MCP server that gives any agent two tools, web_search and web_fetch, backed by TinyFish's Search and Fetch APIs. Both APIs are free at any wallet balance.
Unofficial. TinyFish also runs an official remote MCP server with around 15 tools, including paid browser automation. This server exposes only search and fetch, so it costs about 2 KB of tool schema in your agent's context.
Tools
web_search: searches the live web and returns up to 10 ranked results (title, URL, snippet). News results add date and publisher; research papers add authors, venue and citation count.
Input | Description |
| Search keywords |
|
|
|
|
| Arrays of domains to limit results to or exclude |
web_fetch: reads 1–10 URLs as clean markdown, with JavaScript rendered.
Input | Description |
| URLs to read (1–10) |
One call returns at most about 19 KiB of text, so it fits under client output limits (pi cuts MCP output at 20 KiB, Claude Code at about 25k tokens) and no page's file path gets cut. A single page shows up to about 19,000 characters inline (fewer for CJK text, which takes 3 bytes per character). When several URLs share a call, short pages are returned whole and the rest split what's left. A page that doesn't fit is downloaded once and saved in full to a markdown file under $TMPDIR/tinyfish-web-mcp/. Its result header gives the file path and an outline of the page's headings with line numbers, so the agent can Grep the file or Read just the section it needs, with no more network calls:
[truncated: showing lines 1–160 of 5295 (446095 chars). Full markdown saved to /tmp/tinyfish-web-mcp/2cb5….md — Grep it or Read a line range for the rest]
Outline (line: heading):
25: ## 1. Introduction
1214: ## 8. Representation Data and Metadata
…The note and outline sit before the page text, so they survive clients that truncate long tool output. The outline is capped at about 3,000 characters (deeper heading levels are dropped first). Lines longer than 1,000 characters are wrapped in the saved file so file-reading tools don't cut them. Saved files are private to the current user, re-fetching a URL overwrites its file, and every web_fetch call deletes files older than 24 hours and the oldest files beyond 100 MB in total.
Both tools return readable text plus structuredContent for scripts (for example pi's codemode): web_search gives results[{title, url, snippet, ...}], web_fetch gives pages[{url, title, text, total_chars, truncated?}] and errors. truncated is present only for long pages and holds {path, outline[{line, level, title}], omitted_headings, shown_lines, total_lines}. A call fails with isError: true when it errors, or when every URL of a web_fetch fails; clients that run tools from scripts get that as a normal result, so check isError. TinyFish returns no results for domain_type: "news" combined with exclude_domains, and rejects recency with research_paper.
Markdown conversion can alter structured data; for example, it escapes _ in JSON keys. Fetch JSON and raw files with a plain HTTP client instead.
Related MCP server: dseek-mcp
Install
Create an API key at agent.tinyfish.ai/api-keys. The server reads it from TINYFISH_API_KEY. Requires Node.js 20 or later.
Claude Code
claude mcp add tinyfish-web -s user -e TINYFISH_API_KEY=sk-tinyfish-... -- npx -y @kky42/tinyfish-web-mcpCodex
codex mcp add tinyfish-web --env TINYFISH_API_KEY=sk-tinyfish-... -- npx -y @kky42/tinyfish-web-mcpOther MCP clients (Cursor, Claude Desktop, and others that use this JSON format)
{
"mcpServers": {
"tinyfish-web": {
"command": "npx",
"args": ["-y", "@kky42/tinyfish-web-mcp"],
"env": { "TINYFISH_API_KEY": "sk-tinyfish-..." }
}
}
}Pi has built-in MCP support. Add this to ~/.pi/agent/mcp.json and run pi mcp list to check it. With the default exposure the tools are reached from codemode scripts as tools.mcp__tinyfish_web__web_search and tools.mcp__tinyfish_web__web_fetch; add "exposure": "direct" to declare them to the model like built-in tools.
{
"mcpServers": {
"tinyfish-web": {
"command": "npx",
"args": ["-y", "@kky42/tinyfish-web-mcp"]
}
}
}If TINYFISH_API_KEY is exported in your shell, pi passes it to the server.
Development
npm install
npm run test:e2e # build + real MCP client over stdio against the live TinyFish APIs (needs TINYFISH_API_KEY)License
MIT
Available Tools
2 toolsweb_fetchWeb FetchARead-only
Read web pages as clean markdown, with JavaScript rendered. Up to 10 URLs per call. Each URL returns at most 20000 characters; a truncated page's header gives the offset to continue from. Markdown conversion can alter structured data (e.g. it escapes _ in JSON keys), so fetch JSON or raw files with a plain HTTP client instead.
Inputs: urls (required), offset.
web_searchWeb SearchARead-only
Search the live web. Returns up to 10 ranked results (title, URL, snippet; plus date and publisher for news, authors/venue/citations for papers). Use it to find URLs, then read them with web_fetch.
Inputs: query (required), purpose, domain_type, exclude_domains, +2 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 2 tools
web_search finds URLs while web_fetch reads them, with no overlap in purpose. The descriptions explicitly link them as a sequential workflow, making selection unambiguous.
Both tools follow a clean web_<verb> snake_case pattern. There is no deviation or ambiguity in naming style.
Two tools is thin for a general web-access server, even if they are powerful. The surface feels minimal, and the rubric treats 1-2 tools as borderline.
The search-and-fetch pair covers the core web retrieval lifecycle, including pagination via offset. Minor gaps exist, such as no dedicated extraction or structured-data tool, but the provided descriptions explain workarounds.
Maintenance
Related MCP Connectors
Web data for agents. Extract web pages, crawl websites, discover URLs, and search the web.
Web knowledge fetching tools for your agent.
LLM-ready web search + instant answers + URL-to-clean-text fetch for agents and RAG.
Live web search and a page reader (HTML or PDF to markdown) for coding agents. No API key: x402.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to perform live web searches with ranked results and extracted page passages, plus clean markdown extraction of any URL.MIT
- AlicenseNot gradedqualityBmaintenanceProvides two MCP tools that let agents search the live web for ranked results with metadata and fetch individual webpages as Markdown content.MIT
- AlicenseAqualityCmaintenanceEnables any MCP-compatible AI agent to search the live web and fetch pages as clean Markdown, including batch fetching with rate limiting, retries, and context-safe truncation.3MIT
- AlicenseAqualityCmaintenanceEnables agents to run multi-engine web searches, find GitHub repositories, and fetch web pages as Markdown with headless-browser fallback and automatic system-proxy support.3MIT