npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@cdilorenzo/mcp-dataforseo

v1.0.13

Published

MCP server for DataForSEO API integration

Downloads

19

Readme

DataForSEO MCP Server

This is a MCP (Managed Connection Point) server for DataForSEO API integration. It provides a comprehensive interface to access all DataForSEO services including SERP data, keyword research, backlinks analysis, and more.

Setup

  1. Clone this repository
  2. Install dependencies:
    npm install
  3. Copy the environment template and fill in your DataForSEO credentials:
    cp .env.template .env
  4. Edit .env and add your DataForSEO login and password

Running the Server

Development mode with auto-reload:

npm run dev

Production mode:

npm start

Available Endpoints

Health Check

GET /health

SERP API Endpoints

POST /api/serp/google/organic/live
POST /api/serp/google/local_pack/live
POST /api/serp/google/news/live

Keywords Data API Endpoints

POST /api/keywords/google/search_volume/live
POST /api/keywords/google/keywords_for_site/live
POST /api/keywords/google/search_suggestions/live

Domain Analytics API Endpoints

POST /api/domain_analytics/rank_tracking/live
POST /api/domain_analytics/domain_intersection/live

Backlinks API Endpoints

POST /api/backlinks/summary/live
POST /api/backlinks/anchors/live
POST /api/backlinks/competitors/live

On-Page API Endpoints

POST /api/on_page/lighthouse/live
POST /api/on_page/instant_pages

Content Analysis API Endpoints

POST /api/content_analysis/search/live
POST /api/content_analysis/categories

Business Data API Endpoints

POST /api/business_data/google/my_business_info/live
POST /api/business_data/google/reviews/live

App Data API Endpoints

POST /api/app_data/google/app_info/live
POST /api/app_data/google/app_reviews/live

Merchant API Endpoints

POST /api/merchant/google/products/live
POST /api/merchant/google/sellers/live

DataForSEO Labs API Endpoints

POST /api/dataforseo_labs/google/historical_serps/live
POST /api/dataforseo_labs/google/competitors_domain/live

Example Requests

SERP Organic Search

POST /api/serp/google/organic/live
{
  "target": "google.com",
  "location_name": "United States",
  "keywords": ["example search term"]
}

Keyword Search Volume

POST /api/keywords/google/search_volume/live
{
  "keywords": [
    "example keyword 1",
    "example keyword 2"
  ],
  "location_name": "United States"
}

Backlinks Summary

POST /api/backlinks/summary/live
{
  "target": "example.com"
}

Business Reviews

POST /api/business_data/google/reviews/live
{
  "business_id": "ChIJ...",
  "location_name": "United States"
}

Error Handling

The server includes comprehensive error handling and will return appropriate HTTP status codes along with error messages when issues occur. All API responses follow this format:

Success:

{
  "status_code": 20000,
  "status_message": "Ok.",
  "tasks": [
    {
      "status_code": 20000,
      "status_message": "Ok.",
      "result": [
        // ... result data
      ]
    }
  ]
}

Error:

{
  "error": "Error message",
  "details": {
    "status_code": 40000,
    "status_message": "Error details"
  }
}

Rate Limiting

Please note that DataForSEO has its own rate limiting and pricing structure. Make sure to check their documentation for the latest information about rate limits and pricing for each endpoint.