Voice AI Website Analyzer MCP Server
Fetches and analyzes website content to provide business context to AI agents, designed for Voice AI in GoHighLevel.
README
Voice AI Website Analyzer MCP Server
An MCP (Model Context Protocol) server designed for Voice AI in GoHighLevel (GHL) that fetches and analyzes website content to provide business context to AI agents.
Features
- Smart Website Crawling: Fetches homepage + up to 4 important pages (About, Services, Contact, etc.)
- Business Details Extraction: Automatically extracts:
- Business name and description
- Contact information (phone, email, address)
- Business hours
- Services offered
- Text Content Analysis: Provides comprehensive text summaries of each page
- AI-Ready Output: Returns formatted text description perfect for AI agent context
Installation
- Clone this repository:
git clone <your-repo-url>
cd Voice_MCP
- Install dependencies:
npm install
- Build the project:
npm run build
Usage
Running Locally
The MCP server runs on stdio transport:
npm start
Configuring in Claude Desktop or MCP Client
Add to your MCP client configuration (e.g., claude_desktop_config.json):
{
"mcpServers": {
"voice-ai-website-analyzer": {
"command": "node",
"args": ["d:\\Voice_MCP\\dist\\index.js"]
}
}
}
Using the Tool
Once configured, you can use the analyze_website tool:
analyze_website({ url: "https://example.com" })
The tool will:
- Fetch the homepage
- Identify and fetch up to 4 important pages (About, Services, Contact, etc.)
- Extract business details from all pages
- Return a comprehensive text analysis
Example Output
BUSINESS WEBSITE ANALYSIS
==================================================
Website: https://example.com
Pages Analyzed: 5
BUSINESS DETAILS
--------------------------------------------------
Business Name: Example Business Inc.
Description: We provide excellent services to our customers
Phone: (555) 123-4567
Email: info@example.com
Address: 123 Main Street, City, State 12345
Business Hours: Monday-Friday 9AM-5PM
SERVICES OFFERED
--------------------------------------------------
1. Web Development
2. Mobile App Development
3. Consulting Services
4. Technical Support
PAGE SUMMARIES
--------------------------------------------------
Page 1: Home - Example Business
URL: https://example.com
Content Preview: Welcome to Example Business...
Page 2: About Us
URL: https://example.com/about
Content Preview: Learn more about our company...
Deployment on Vercel
Option 1: Deploy via Vercel CLI
- Install Vercel CLI:
npm i -g vercel
- Deploy:
vercel
Option 2: Deploy via GitHub
- Push your code to GitHub
- Import the repository in Vercel dashboard
- Vercel will auto-detect the project and deploy
Important Note About Vercel Deployment
⚠️ MCP servers typically run on stdio transport and are designed to be run locally or on long-running servers. Vercel is optimized for serverless functions with HTTP endpoints.
For production use with GHL Voice AI, consider:
- Hosting on a VPS (Digital Ocean, AWS EC2, etc.) where the MCP server can run continuously
- Converting to HTTP API if you need serverless deployment
- Using Vercel for API endpoints and wrapping the MCP functionality in HTTP handlers
Converting to HTTP API (for Vercel)
If you need to deploy on Vercel, you'll want to create API endpoints instead. Let me know if you need help converting this to an HTTP API format.
Configuration
The server is configured to:
- Fetch maximum of 5 pages total (1 homepage + 4 additional)
- Extract text content (up to 5000 characters per page)
- Identify important pages using keywords: about, services, contact, products, portfolio, team
- Extract common business information patterns
Development
Project Structure
Voice_MCP/
├── src/
│ └── index.ts # Main MCP server implementation
├── dist/ # Compiled JavaScript (generated)
├── package.json
├── tsconfig.json
├── vercel.json
└── README.md
Building
npm run build
Testing Locally
After building, run:
node dist/index.js
The server will start and wait for MCP protocol messages on stdin.
Integration with GHL Voice AI
When integrated with GHL Voice AI:
- The AI agent receives the website URL from user input during conversation
- The agent calls the
analyze_websitetool with the URL - The MCP server fetches and analyzes the website
- The business context is returned to the AI agent
- The AI agent uses this context to provide tailored responses about the business
Requirements
- Node.js 18 or higher
- TypeScript 5.x
Dependencies
@modelcontextprotocol/sdk: MCP protocol implementationcheerio: HTML parsing and manipulationnode-fetch: HTTP requests
License
MIT
Support
For issues or questions, please open an issue in the repository.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.