About Nascoder Terminal Browser MCP
Nascoder Terminal Browser MCP is an MCP server published by freelancernasimofficial in the Developer Tools category: ๐ Ultimate Standalone Terminal Browser & Web Scraper MCP - Browse any website, extract content & links directly in terminal with zero file pollution. 100% standalone with smart fallbacks. Enhanced by optional terminal browsers. Perfect for documentation reading, API exploration & web scraping.
The repository has 11 stars and 1 forks, with the last commit a year ago. Six months or more without a commit doesn't mean the server is broken, but check the open issues before depending on it in production.
Install
git clone https://github.com/freelancernasimofficial/nascoder-terminal-browser-mcpThis server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.
Tools (4)
**NasCoder Terminal Browser**โ
**None**
Parameters not published.
curl + html2textโ Temp files
Parameters not published.
lynx aloneโ Can save files
Parameters not published.
wget + pandocโ Downloads
Parameters not published.
Ask AI
Ask AI about Nascoder Terminal Browser MCP
Powered by Claude · Grounded in docs
Security checks
Static checks derived from the repository 7 days ago. Heuristics on the source, not an audit.
- โREADME presentThe repository ships documentation.
- !License declaredNo license file. Legally you have no right to use it in a product.
- !Tests presentNo tests found. Behaviour changes may go unnoticed between versions.
- โDependencies pinnedA lockfile pins dependency versions.
- !No dynamic code executionSource scan found eval or shell execution. Review how tool inputs reach it before granting credentials.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
README
๐ NasCoder Terminal Browser MCP
๐ Ultimate Standalone Terminal Browser & Web Scraper - Browse any website, extract content & links directly in your terminal with zero file pollution. 100% standalone with smart fallbacks, enhanced by optional terminal browsers. Perfect for documentation reading, API exploration & web scraping.
โก Quick Start (2 minutes)
Method 1: Simple CLI Tool (Easiest)
# Install
npm install -g nascoder-terminal-browser-mcp
# Use immediately
browse https://example.com
browse https://docs.python.org --format summary
browse https://news.ycombinator.com --format links
Method 2: Amazon Q CLI Integration
# Install
npm install -g nascoder-terminal-browser-mcp
2. Add to Q CLI
Edit ~/.config/amazonq/mcp.json:
{
"mcpServers": {
"nascoder-terminal-browser": {
"command": "npx",
"args": ["nascoder-terminal-browser-mcp"],
"timeout": 30000,
"disabled": false
}
}
}
3. Restart Q CLI
# Exit Q CLI
/quit
# Start again
q chat
4. Try It!
Browse https://example.com and show me the content
๐ฅ Why Choose This MCP?
| Feature | Standard Tools | NasCoder Terminal Browser |
|---|---|---|
| File Downloads | โ Creates files | โ No files - terminal only |
| Dependencies | โ Requires external tools | โ 100% standalone |
| Browser Support | Limited | โ Multiple engines + fallback |
| Fallback Method | None | โ Built-in fetch+html-to-text |
| Link Extraction | Manual | โ Automatic link parsing |
| Content Formatting | Raw HTML | โ Clean terminal formatting |
| Error Handling | Basic | โ Advanced retry & fallback |
| Output Control | Fixed | โ Multiple format options |
๐ฏ What You Get
๐ Standalone Operation
- Zero external dependencies - Works on any system with Node.js
- Built-in fallback - Uses fetch+html-to-text when no terminal browsers available
- Smart enhancement - Automatically uses lynx/w3m/links if installed for better formatting
- Always functional - Never fails due to missing system tools
Terminal Web Browsing
- No file pollution - Everything displayed directly in terminal
- Multiple browser engines - lynx, w3m, links, elinks with auto-selection
- Smart fallback - Uses fetch+html-to-text if no terminal browsers available
- Clean formatting - Optimized for terminal reading
Advanced Features
- Link extraction - Automatically find and list all page links
- Content truncation - Prevent overwhelming output with length limits
- Multiple formats - Choose between full, content-only, links-only, or summary
- Error resilience - Multiple fallback methods ensure success
Developer Friendly
- Zero configuration - Works out of the box
- Comprehensive logging - Debug issues easily
- Flexible options - Customize behavior per request
- MCP standard - Integrates with any MCP-compatible system
๐ ๏ธ Available Tools
1. terminal_browse
Browse websites and display content directly in terminal.
Parameters:
url(required) - Website URL to browsebrowser- Terminal browser to use (auto, lynx, w3m, links, elinks)format- Output format (full, content-only, links-only, summary)extractLinks- Extract page links (true/false)maxLength- Maximum content length to prevent overwhelming output
Example:
Use terminal_browse to visit https://docs.github.com with format=summary
2. check_browsers
Check which terminal browsers are available on your system.
Example:
Check what terminal browsers are available
3. extract_links
Extract all links from a webpage without showing full content.
Parameters:
url(required) - Website URL to extract links frommaxLinks- Maximum number of links to return (default: 50)
Example:
Extract all links from https://news.ycombinator.com
๐ Usage Examples
๐ฏ Simple CLI Commands
# Browse any website
browse https://example.com
# Get page summary with stats
browse https://docs.python.org --format summary
# Extract all links
browse https://news.ycombinator.com --format links
# Full content with metadata
browse https://github.com/trending --format full
# Limit content length
browse https://very-long-page.com --max-length 1000
# Use specific browser
browse https://example.com --browser lynx
๐ Available Formats
content- Clean page text (default)summary- Brief overview with statslinks- All extracted linksfull- Complete content with links
๐ง CLI Options
browse <url> [options]
Options:
--format, -f Output format (content, summary, links, full)
--max-length, -l Maximum content length [default: 2000]
--browser, -b Browser to use (auto, lynx, w3m, links)
--help, -h Show help
๐ค Amazon Q CLI Integration
Browse https://example.com
Documentation Reading
Browse https://docs.python.org/3/ with format=content-only
Link Discovery
Extract links from https://github.com/trending
Quick Summary
Browse https://news.ycombinator.com with format=summary
Specific Browser
Browse https://example.com using lynx browser
๐ Output Formats
Full Format (default)
- Complete page content
- All extracted links
- Metadata and statistics
- Method used for browsing
Content-Only
- Just the page text content
- No links or metadata
- Clean reading experience
Links-Only
- Only the extracted links
- Perfect for navigation
- Numbered list format
Summary
- Brief content preview
- Key statistics
- Quick overview
๐ง Dependencies & Installation
๐ฆ What's Included (Standalone)
The package includes everything needed to work:
@modelcontextprotocol/sdk- MCP protocol supportnode-fetch- HTTP requestscheerio- HTML parsinghtml-to-text- HTML to text conversionwinston- Logging
๐ Optional Enhancements
For even better text formatting, install terminal browsers:
# macOS (Homebrew)
brew install lynx w3m links
# Ubuntu/Debian
sudo apt install lynx w3m links elinks
# CentOS/RHEL
sudo yum install lynx w3m links elinks
๐ก How It Works
- First Choice: Uses terminal browsers (lynx, w3m, links) if available
- Automatic Fallback: Uses built-in fetch+html-to-text if no browsers found
- Always Works: Never fails due to missing dependencies
๐ ๏ธ Terminal Browser Support
Supported Browsers
- lynx - Best text formatting, recommended
- w3m - Good table support, images in some terminals
- links - Interactive features, mouse support
- elinks - Enhanced links with more features
Installation Commands
# macOS (Homebrew)
brew install lynx w3m links
# Ubuntu/Debian
sudo apt install lynx w3m links elinks
# CentOS/RHEL
sudo yum install lynx w3m links elinks
Auto-Selection Priority
- lynx (best formatting)
- w3m (good compatibility)
- links (interactive features)
- elinks (enhanced features)
- fetch+html-to-text (always available fallback)
๐จ Advanced Usage
Custom Content Length
{
"url": "https://very-long-page.com",
"maxLength": 5000
}
Links Only Mode
{
"url": "https://documentation-site.com",
"format": "links-only",
"maxLinks": 100
}
Specific Browser
{
"url": "https://example.com",
"browser": "w3m",
"extractLinks": false
}
๐ Troubleshooting
"No terminal browsers found"
# Install at least one terminal browser
brew install lynx # macOS
sudo apt install lynx # Ubuntu
"Browser failed" errors
- The tool automatically falls back to fetch+html-to-text
- Check internet connectivity
- Some sites may block terminal browsers
Content too long
Use maxLength parameter to limit output:
Browse https://long-page.com with maxLength=2000
Q CLI doesn't see MCP
- Check
~/.config/amazonq/mcp.jsonsyntax - Restart Q CLI (
/quitthenq chat) - Verify package installation:
npm list -g nascoder-terminal-browser-mcp
๐ Performance Features
Smart Caching
- No file system caching (by design)
- Memory-efficient processing
- Fast response times
Error Handling
- Multiple fallback methods
- Graceful degradation
- Comprehensive error messages
Resource Management
- 30-second timeout protection
- Memory-conscious content truncation
- Efficient link extraction
๐ Success Stories
"Finally, a way to browse documentation without cluttering my filesystem with temp files!" - Developer
"The automatic fallback from lynx to fetch+html-to-text saved my workflow when lynx wasn't available." - DevOps Engineer
"Perfect for scraping API docs directly in my terminal. The link extraction is incredibly useful." - API Developer
๐ Comparison
| Tool | Files Created | Browser Support | Link Extraction | Fallback Method |
|---|---|---|---|---|
| NasCoder Terminal Browser | โ None | โ 4 browsers | โ Automatic | โ fetch+html-to-text |
| curl + html2text | โ Temp files | โ None | โ Manual | โ None |
| wget + pandoc | โ Downloads | โ None | โ Manual | โ None |
| lynx alone | โ Can save files | โ lynx only | โ Manual | โ None |
๐ Links
- NPM Package: https://www.npmjs.com/package/nascoder-terminal-browser-mcp
- GitHub: https://github.com/freelancernasimofficial/nascoder-terminal-browser-mcp
- Issues: https://github.com/freelancernasimofficial/nascoder-terminal-browser-mcp/issues
- Author: @freelancernasimofficial
๐ License
MIT - Feel free to use, modify, and distribute
๐ Ready to browse the web in your terminal without file clutter?
Install now and experience the difference!
npm install -g nascoder-terminal-browser-mcp
Built with โค๏ธ by NasCoder (@freelancernasimofficial)
README fetched from the repository 7 days ago. The original is authoritative.