Skip to main content
Glama
dhirajpatra

MarketIntel MCP Server

by dhirajpatra

MarketIntel MCP Server

A minimal MCP server for market research built with FastMCP and the Tavily API with n8n automation.

Overview

This repository includes:

  • server.py — MCP server implementation using FastMCP

  • client.py — example client that compares two companies using the MCP server

  • main.py — placeholder entrypoint

  • MCP-Market-Research Agent.json — optional integration configuration

  • requirements.txt / pyproject.toml — Python dependencies

Related MCP server: tavily-fastmcp

Steps

  1. Clone or download this repository.

  2. Create a Python virtual environment in the repository root:

python -m venv .venv
source .venv/bin/activate
  1. Install the dependencies:

pip install -r requirements.txt
  1. Copy env-example file to a .env file in the repository root with your Tavily API key:

TAVILY_API_KEY=your_api_key_here
N8N_API_KEY=your_api_key_here
  1. Start the MCP server:

python server.py
  1. In a separate terminal, run the example client to compare two companies:

python client.py "openai vs anthropic"
  1. To use a custom server endpoint, set MARKETINTEL_ENDPOINT and rerun the client:

MARKETINTEL_ENDPOINT=http://127.0.0.1:8000/mcp python client.py "openai vs anthropic"

Prerequisites

  • Python 3.13+

  • A valid Tavily API key

Setup

  1. Create and activate a virtual environment:

python -m venv .venv
source .venv/bin/activate
  1. Install dependencies:

pip install -r requirements.txt
  1. Create a .env file containing:

TAVILY_API_KEY=your_api_key_here

Running the server

Start the server with:

python server.py

The server listens on http://0.0.0.0:8000 and exposes the MCP endpoint at http://127.0.0.1:8000/mcp.

Using the client

Run the example client to compare two companies:

python client.py "openai vs anthropic"

To override the endpoint:

MARKETINTEL_ENDPOINT=http://127.0.0.1:8000/mcp python client.py "simplilearn vs edureka"

Project structure

.env                        # local environment variables
README.md                   # project documentation
server.py                   # MCP server implementation
client.py                   # example FastMCP client
main.py                     # placeholder entrypoint
MCP-Market-Research Agent.json  # optional integration config
pyproject.toml              # project metadata
requirements.txt            # dependency list
python-version              # pinned Python version
uv.lock                     # dependency lockfile
.venv/                      # virtual environment (ignored)

Server capabilities

The server exposes the following tools:

  • company_overview

  • list_competitors

  • product_portfolio

  • pricing_snapshot

  • recent_news_pulse

It also defines a market topics resource and a competitor analysis prompt.

Environment variables

  • TAVILY_API_KEY — required for Tavily access

  • MARKETINTEL_ENDPOINT — optional client override

Notes

  • This repository does not include an mcp_server/ package or tests/ directory.

  • The current implementation is centered on the server.py and client.py examples.

Development

To install optional dev tooling:

pip install flake8
flake8 .
F
license - not found
-
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • F
    license
    -
    quality
    D
    maintenance
    Production-grade MCP server that enables AI assistants to access real-time financial market data with intelligent fallback mechanisms, supporting stock prices, comparisons, fundamentals, and market summaries via Yahoo Finance and CSV.
    Last updated

View all related MCP servers

Related MCP Connectors

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/dhirajpatra/mcp-n8n'

If you have feedback or need assistance with the MCP directory API, please join our Discord server