Skip to main content
Glama
double2dev

thenichegap-mcp

README.md
# TheNicheGap MCP Server

An official [Model Context Protocol (MCP)](https://modelcontextprotocol.io) server for TheNicheGap. 

This server allows AI assistants (like Claude Desktop) to connect directly to TheNicheGap's real-time SEO analysis engine. Instead of relying on LLM hallucinations, your AI assistant can fetch real Google top-10 SERP data, analyze content gaps, and write highly differentiated SEO articles.

## Features

* **Real SERP Data**: Fetches actual top-10 rankings for any given keyword.
* **Content Gap Analysis**: Identifies what the top-10 unanimously cover (Must-Haves) and what they miss (Gaps).
* **Automated Outline**: Returns an SEO-optimized H1/H2/H3 structure with CTR-optimized title suggestions.

## Prerequisites

To use this MCP server, you need a **TheNicheGap API Key**. 
1. Log in to your [TheNicheGap Dashboard](https://thenichegap.com/op/developer).
2. Generate an API Key in the Developer section.

## Installation

### For Claude Desktop

1. Open your Claude Desktop configuration file:
   - macOS: `~/Library/Application Support/Claude/claude_desktop_config.json`
   - Windows: `%APPDATA%\Claude\claude_desktop_config.json`

2. Add the TheNicheGap MCP Server to the `mcpServers` section:

```json
{
  "mcpServers": {
    "thenichegap": {
      "command": "npx",
      "args": [
        "-y",
        "@thenichegap/mcp-server"
      ],
      "env": {
        "THENICHEGAP_API_KEY": "your_api_key_here"
      }
    }
  }
}
```

3. Restart Claude Desktop. You will now see a tool icon (hammer) in the Claude interface indicating that TheNicheGap tools are available.

## Usage Examples

Once installed, you can simply ask Claude to use TheNicheGap:

* *"Analyze the keyword 'best standing desk' using TheNicheGap. What are the content gaps?"*
* *"Call TheNicheGap for 'how to lose weight'. Based on the Must-Haves and Gaps it returns, write a complete 2000-word blog post for me."*

## Local Development (For Contributors)

1. Clone this repository.
2. Run `npm install`
3. Build the server: `npm run build`
4. Test locally using the MCP Inspector:
   ```bash
   THENICHEGAP_API_KEY=your_key_here npx @modelcontextprotocol/inspector node build/index.js
   ```

## License

MIT

TDQS

A3.6/5.0

Scored across 1 tool

Disambiguation5/5

There is only one tool, so there is no overlap or misselection risk between tools. Its purpose is explicit and distinct.

Naming Consistency5/5

The single tool follows a clear snake_case verb_noun naming pattern. With no other tools, there are no inconsistent conventions present.

Tool Count3/5

One tool is borderline thin for a server surface, though it may be acceptable for a tightly scoped niche-analysis endpoint. The scale treats 1-2 tools as borderline.

Completeness4/5

The tool covers the core described operation of analyzing an SEO keyword for intent and content gaps. Minor gaps remain, such as batch analysis or adjacent keyword-discovery operations, but the primary use case is covered.

Maintenance

ActivityMaintained
ResponsivenessNo issues