Skip to main content
Glama
muhammadtaimoorajmal

Hackathon SEO Analyst Agent

README.md
# Hackathon SEO Analyst Agent (MCP)

## 📌 What It Does & Who It's For
The Hackathon SEO Analyst is an autonomous data-engineering agent built for marketing teams and backend engineers. It utilizes the Model Context Protocol (MCP) to natively ingest, parse, and flatten heavily nested, stringified JSON datasets into clean, actionable SEO metrics without requiring manual data-transformation scripts.

## ⚙️ Setup Instructions
A stranger can reproduce this environment by following these steps:
1. Clone the repository: `git clone https://github.com/muhammadtaimoorajmal/seo-analyst-agent.git`
2. Install dependencies: `npm install`
3. Configure environment variables: Create a `.env` file and add your `ANTHROPIC_API_KEY`.
4. Start the local MCP server: `npm run start:mcp`

## 💻 Usage Example
Send a raw, stringified JSON payload to the agent's endpoint:
```bash
curl -X POST http://localhost:3000/api/analyze \
-H "Content-Type: application/json" \
-d "{\"raw_data\": \"{\\\"seo_score\\\": \\\"85\\\", \\\"traffic\\\": \\\"1420\\\"}\"}"