Website Info MCP Server
An MCP (Model Context Protocol) server for extracting information from websites using the AgentQL API.
Features
fetch_website: Fetches the entire content of a website
- Extracts title, content, links, and images
- Falls back to direct HTTP requests if AgentQL API is not available
extract_content: Extracts specific content using CSS selectors
- Customizable content extraction
- Supports complex selectors
Resource:
website://infofor obtaining information from websites
Installation
Using with Cursor
- Open Cursor settings
- Go to Model Context Protocol
- Add new MCP server with:
{ "command": "npx", "args": [ "-y", "@smithery/cli@latest", "run", "@cancelei/mcp_test_booking", "--config", "{"AGENTQL_API_KEY":"your_api_key_here"}" ] }
Local Development
Install dependencies:
bundle installSet environment variables:
export AGENTQL_API_KEY=your_api_keyRun the server:
ruby server.rb
Usage Examples
Fetch Website Content
# Using fetch_website tool
response = call_tool("fetch_website", { url: "https://example.com" })
# Using website://info resource
response = call_resource("website://info", { url: "https://example.com" })
Extract Specific Content
# Extract specific elements using CSS selectors
selectors = {
title: "title",
headings: "h1, h2",
main_content: ".main-content p"
}.to_json
response = call_tool("extract_content", {
url: "https://example.com",
selectors_json: selectors
})
Configuration
Environment Variables
AGENTQL_API_KEY: Required for enhanced web scraping capabilitiesPORT: Server port (default: 3000)
Smithery Deployment
The server is deployed on Smithery and can be accessed at: https://smithery.ai/server/@cancelei/mcp_test_booking
Response Format
Success Response
{
"status": "success",
"title": "Page Title",
"url": "https://example.com",
"description": "Page description",
"content": "Main content text",
"links": [
{"text": "Link Text", "href": "https://example.com/link"}
],
"images": [
{"alt": "Image Alt", "src": "https://example.com/image.jpg"}
],
"source": "agentql"
}
Error Response
{
"status": "error",
"message": "Error description"
}
License
MIT
Website Information MCP Server
Project Details
- cancelei/mcp_test_booking
- Last Updated: 3/17/2025
Categories
Recomended MCP Servers
MCP server for Youtube
An MCP server based on OSSInsight.io, providing data analysis for GitHub individuals and repositories, as well as in-depth...
MCP server for browser-use
Helps AI assistants access text content from bot-protected websites. MCP server that fetches HTML/markdown from sites with anti-automation...
MCP web research server (give Claude real-time info from the web)
A high-performance image compression microservice based on MCP (Modal Context Protocol)
MCP Server for Hackernews
The Ultimate Model Context Protocol (MCP) Server, providing unified access to a wide variety of useful and powerful...
This MCP server let you automate interactions with Wordpress
🚀🚀🚀feapder is an easy to use, powerful crawler framework | feapder是一款上手简单,功能强大的Python爬虫框架。内置AirSpider、Spider、TaskSpider、BatchSpider四种爬虫解决不同场景的需求。且支持断点续爬、监控报警、浏览器渲染、海量数据去重等功能。更有功能强大的爬虫管理系统feaplat为其提供方便的部署及调度





