Skip to main content
AllMCPs
BrowseBestCategoriesStackCompareToolsGuidesBlog Log in Submit MCP

Stay in the loop

Get new MCP servers and top picks in your inbox.

AllMCPs

The open directory for discovering and installing Model Context Protocol servers.

Explore

  • Browse servers
  • Best MCP servers
  • Categories
  • MCP clients
  • Agent prompts
  • Stack Builder
  • Compare servers
  • Tags index
  • Submit a server
  • Pricing

Learn

  • Guides hub
  • What is MCP?
  • Install guide
  • Troubleshooting
  • Security
  • Blog
  • Blog RSS

Tools

  • All tools
  • Config generator
  • Config validator
  • MCP playground
  • OpenAPI β†’ MCP
  • Badge generator

For agents

  • API docs
  • Trust & traffic
  • llms.txt β†— (opens in a new tab)
  • Catalog JSON β†— (opens in a new tab)
  • Remote MCP β†— (opens in a new tab)

Company

  • About
  • Contact
  • X (@AllMCPs) β†— (opens in a new tab)
  • GitHub β†— (opens in a new tab)
  • Terms
  • Privacy
AllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistAllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on Buildlist
Β© 2026 Jackalope Digital LLC. All rights reserved.
  1. Home
  2. πŸ’» Developer Tools
  3. Mhlabs Mcp Tools
M
Health: Not checked yetWe have not completed a health check for this listing yet.Last checked 8/11/2026, 12:08:13 AM

Mhlabs Mcp Tools

Enrichment pendingWe haven’t run our AI enrichment pass on this listing yet, so the overview, use cases, and FAQ below may be sparse or missing. We work through the catalog over time β€” check back soon.
View Repository

An MCP server that provides text preprocessing, NLP components, and document analysis

Quick Install

Automated & IDE Setup

Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β€” or use 1-click editor setup below.

Add to CursorAdd to VS Code
Manual Client & Custom JSON ConfigExpand JSON β–Ύ

Install Config Generator

Choose your client
claude_desktop_config.json
{
  "mcpServers": {
    "mhlabs-mcp-tools": {
      "command": "npx",
      "args": [
        "-y",
        "mhlabs-mcp-tools"
      ]
    }
  }
}

πŸ’‘ Paste into ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

Install Directory Badge Claim listing AlternativesπŸ’» More in Developer Tools

Documentation Overview

mhlabs-mcp-tools

mcp-name: io.github.MusaddiqueHussainLabs/mhlabs_mcp_tools

🧠 mhlabs-mcp-tools

mhlabs-mcp-tools is a Modular MCP Tools Server built using FastMCP.
It provides an extendable AI tool ecosystem organized into functional categories (Text Preprocessing, NLP Components, Document Analysis, etc.) that can be dynamically loaded and served through MCP (Model Context Protocol) via STDIO transport.

This project is part of the MHLabs AI Agentic Ecosystem, designed to work with mhlabs-mcp-server, mhlabs-mcp-agents, and downstream A2A agent frameworks.


Features

  • FastMCP Server: Pure FastMCP implementation supporting multiple transport protocols
  • Factory Pattern: Reusable MCP tools factory for easy service management
  • Domain-Based Organization: Services organized by business domains (HR, Tech Support, etc.)
  • Authentication: Optional Azure AD authentication support
  • Multiple Transports: STDIO, HTTP (Streamable), and SSE transport support
  • VS Code Integration: Debug configurations and development settings
  • Comprehensive Testing: Unit tests with pytest
  • Flexible Configuration: Environment-based configuration management

Architecture

Code
mhlabs_mcp_tools/
β”œβ”€β”€ .gitignore
β”œβ”€β”€ .vscode/
β”‚   └── settings.json
β”œβ”€β”€ CHANGELOG.md
β”œβ”€β”€ LICENSE
β”œβ”€β”€ README.md
β”œβ”€β”€ docs/
β”‚   └── index.md
β”œβ”€β”€ examples/
β”‚   β”œβ”€β”€ example_client.py
β”‚   └── example_client_http.py
β”œβ”€β”€ mkdocs.yml
β”œβ”€β”€ pyproject.toml
β”œβ”€β”€ requirements.txt
β”œβ”€β”€ server.json
└── src/
    β”œβ”€β”€ __init__.py
    β”œβ”€β”€ main.py
    └── mhlabs_mcp_tools/
        β”œβ”€β”€ __init__.py
        β”œβ”€β”€ core/
        β”‚   β”œβ”€β”€ __init__.py
        β”‚   β”œβ”€β”€ config.py
        β”‚   β”œβ”€β”€ constants.py
        β”‚   β”œβ”€β”€ factory.py
        β”‚   └── prompts.py
        β”œβ”€β”€ data/
        β”‚   β”œβ”€β”€ __init__.py
        β”‚   β”œβ”€β”€ external/
        β”‚   β”‚   └── __init__.py
        β”‚   β”œβ”€β”€ interim/
        β”‚   β”‚   └── __init__.py
        β”‚   β”œβ”€β”€ processed/
        β”‚   β”‚   └── __init__.py
        β”‚   └── raw/
        β”‚       β”œβ”€β”€ __init__.py
        β”‚       β”œβ”€β”€ contractions_dict.json
        β”‚       β”œβ”€β”€ custom_substitutions.csv
        β”‚       β”œβ”€β”€ leftovers_dict.json
        β”‚       └── slang_dict.json
        β”œβ”€β”€ handlers/
        β”‚   β”œβ”€β”€ __init__.py
        β”‚   β”œβ”€β”€ custom_exceptions.py
        β”‚   └── output_generator.py
        β”œβ”€β”€ mcp_server.py
        β”œβ”€β”€ models/
        β”‚   └── __init__.py
        β”œβ”€β”€ nlp_components/
        β”‚   β”œβ”€β”€ __init__.py
        β”‚   └── nlp_model.py
        β”œβ”€β”€ services/
        β”‚   β”œβ”€β”€ __init__.py
        β”‚   β”œβ”€β”€ langchain_framework.py
        β”‚   └── spacy_extractor.py
        └── text_preprocessing/
            β”œβ”€β”€ __init__.py
            β”œβ”€β”€ contractions.py
            β”œβ”€β”€ emo_unicode.py
            β”œβ”€β”€ slang_text.py
            └── text_preprocessing.py

Available Services

Currently the package is organized into three primary modules:

1. NLP Components

Component TypeDescription
tokenizeText tokenization
posPart-of-Speech tagging
lemmaWord lemmatization
morphologyStudy of word forms
depDependency parsing
nerNamed Entity Recognition
normText normalization

2. Text Preprocessing

This module equips users with an extensive set of text preprocessing tools:

FunctionDescription
to_lowerConvert text to lowercase
to_upperConvert text to uppercase
remove_numberRemove numerical characters
remove_itemized_bullet_and_numberingEliminate itemized/bullet-point numbering
remove_urlRemove URLs from text
remove_punctuationRemove punctuation marks
remove_special_characterRemove special characters
keep_alpha_numericKeep only alphanumeric characters
remove_whitespaceRemove excess whitespace
normalize_unicodeNormalize Unicode characters
remove_stopwordEliminate common stopwords
remove_freqwordsRemove frequently occurring words
remove_rarewordsRemove rare words
remove_emailRemove email addresses
remove_phone_numberRemove phone numbers
remove_ssnRemove Social Security Numbers (SSN)
remove_credit_card_numberRemove credit card numbers
remove_emojiRemove emojis
remove_emoticonsRemove emoticons
convert_emoticons_to_wordsConvert emoticons to words
convert_emojis_to_wordsConvert emojis to words
remove_htmlRemove HTML tags
chat_words_conversionConvert chat language to standard English
expand_contractionExpand contractions (e.g., "can't" to "cannot")
tokenize_wordTokenize words
tokenize_sentenceTokenize sentences
stem_wordStem words
lemmatize_wordLemmatize words
preprocess_textCombine multiple preprocessing steps into one function

Quick Start

Development Setup

  1. Clone and Navigate:

    bash
    cd src/mhlabs_mcp_tools
    
  2. Install Dependencies:

    Terminal
    pip install -r requirements.txt
    
  3. Configure Environment:

    bash
    cp .env.example .env
    # Edit .env with your configuration
    
  4. Start the Server:

    bash
    # Default STDIO transport (for local MCP clients)
    python mcp_server.py
    
    # HTTP transport (for web-based clients)
    python mcp_server.py --transport http --port 9000
    or
    after installed mhlabs-mcp-tools
    python -m mhlabs_mcp_tools.mcp_server --transport http --port 9000
    
    # Using FastMCP CLI (recommended)
    fastmcp run mcp_server.py -t streamable-http --port 9000 -l DEBUG
    
    # Debug mode with authentication disabled
    python mcp_server.py --transport http --debug --no-auth
    

Transport Options

1. STDIO Transport (default)

  • πŸ”§ Perfect for: Local tools, command-line integrations, Claude Desktop
  • πŸš€ Usage: python mcp_server.py or python mcp_server.py --transport stdio

2. HTTP (Streamable) Transport

  • 🌐 Perfect for: Web-based deployments, microservices, remote access
  • πŸš€ Usage: python mcp_server.py --transport http --port 9000
  • 🌐 URL: http://127.0.0.1:9000/mcp/

3. SSE Transport (deprecated)

  • ⚠️ Legacy support only - use HTTP transport for new projects
  • πŸš€ Usage: python mcp_server.py --transport sse --port 9000

FastMCP CLI Usage

bash
# Standard HTTP server
fastmcp run mcp_server.py -t streamable-http --port 9000 -l DEBUG

# With custom host
fastmcp run mcp_server.py -t streamable-http --host 0.0.0.0 --port 9000 -l DEBUG

# STDIO transport (for local clients)
fastmcp run mcp_server.py -t stdio

# Development mode with MCP Inspector
fastmcp dev mcp_server.py -t streamable-http --port 9000

VS Code Development

  1. Open in VS Code:

    bash
    code .
    
  2. Use Debug Configurations:

    • Debug MCP Server (STDIO): Run with STDIO transport
    • Debug MCP Server (HTTP): Run with HTTP transport
    • Debug Tests: Run the test suite

Configuration

Environment Variables

Create a .env file based on .env.example:

env
# Server Settings
MCP_HOST=0.0.0.0
MCP_PORT=9000
MCP_DEBUG=false
MCP_SERVER_NAME=MHLABS MCP Server

# Authentication Settings
MCP_ENABLE_AUTH=true
AZURE_TENANT_ID=your-tenant-id-here
AZURE_CLIENT_ID=your-client-id-here
AZURE_JWKS_URI=https://login.microsoftonline.com/your-tenant-id/discovery/v2.0/keys
AZURE_ISSUER=https://sts.windows.net/your-tenant-id/
AZURE_AUDIENCE=api://your-client-id

Authentication

When MCP_ENABLE_AUTH=true, the server expects Azure AD Bearer tokens. Configure your Azure App Registration with the appropriate settings.

For development, set MCP_ENABLE_AUTH=false to disable authentication.

Adding New Services

  1. Create Service Class:

    server.ts
    from core.factory import MCPToolBase, Domain
    
    class MyService(MCPToolBase):
        def __init__(self):
            super().__init__(Domain.MY_DOMAIN)
    
        def register_tools(self, mcp):
            @mcp.tool(tags={self.domain.value})
            async def my_tool(param: str) -> str:
                # Tool implementation
                pass
    
        @property
        def tool_count(self) -> int:
            return 1  # Number of tools
    
  2. Register in Server:

    python
    # In mcp_server.py (gets registered automatically from services/ directory)
    factory.register_service(MyService())
    
  3. Add Domain (if new):

    python
    # In core/factory.py
    class Domain(Enum):
        # ... existing domains
        MY_DOMAIN = "my_domain"
    

MCP Client Usage

Python Client

server.ts
import asyncio
from fastmcp import Client

client = Client("http://localhost:9000/mcp")

async def main():
    async with client:
        tools = await client.list_tools()
        # tools -> list[mcp.types.Tool]
        # print(tools)
        for tool in tools:
            print(f"Tool: {tool.name}")
        
        result = await client.call_tool("textprep.expand_contraction", {"input_text": "The must've SSN is 859-98-0987. The employee's phone number is 555-555-5555."})
        print("Result:", result)

asyncio.run(main())

Command Line Testing

bash
# Test the server is running
curl http://localhost:9000/mcp/

# With FastMCP CLI for testing
fastmcp dev mcp_server.py -t streamable-http --port 9000

Quick Test

Test STDIO Transport:

bash
# Start server in STDIO mode
python mcp_server.py --debug --no-auth

# Test with client_example.py
python client_example.py

Test HTTP Transport:

server.ts
# Start HTTP server
python mcp_server.py --transport http --port 9000 --debug --no-auth

# Test with FastMCP client
python -c "
from fastmcp import Client
import asyncio
async def test():
    async with Client('http://localhost:9000/mcp') as client:
        result = await client.call_tool("textprep.expand_contraction", {"input_text": "The must've SSN is 859-98-0987. The employee's phone number is 555-555-5555."})
        print(result)
asyncio.run(test())
"

Test with FastMCP CLI:

bash
# Start with FastMCP CLI
fastmcp run mcp_server.py -t streamable-http --port 9000 -l DEBUG

# Server will be available at: http://127.0.0.1:9000/mcp/

Troubleshooting

Common Issues

  1. Import Errors: Make sure you're in the correct directory and dependencies are installed
  2. Authentication Errors: Check your Azure AD configuration and tokens
  3. Port Conflicts: Change the port in configuration if 9000 is already in use
  4. Missing fastmcp: Install with pip install fastmcp

Debug Mode

Enable debug mode for detailed logging:

bash
python mcp_server.py --debug --no-auth

Or set in environment:

env
MCP_DEBUG=true

Server Arguments

bash
usage: mcp_server.py [-h] [--transport {stdio,http,streamable-http,sse}]
                     [--host HOST] [--port PORT] [--debug] [--no-auth]

MHLABS MCP Server

options:
  -h, --help            show this help message and exit
  --transport, -t       Transport protocol (default: stdio)
  --host HOST           Host to bind to for HTTP transport (default: 127.0.0.1)
  --port, -p PORT       Port to bind to for HTTP transport (default: 9000)
  --debug               Enable debug mode
  --no-auth             Disable authentication

πŸ“„ License

MIT License Β© 2025 MusaddiqueHussain Labs


🀝 Contributing

  1. Follow the existing code structure and patterns
  2. Add tests for new functionality
  3. Update documentation for new features
  4. Use the provided VS Code configurations for development

🧠 Learn More

  • MCP Protocol: https://modelcontextprotocol.io
  • FastMCP GitHub: https://github.com/fastmcp/fastmcp
  • LangGraph Integration Guide (coming soon)

πŸ’‘ Tip

If you want to embed mhlabs-mcp-tools into a larger MCP-based orchestrator:

server.ts
from fastmcp import StdioServerParameters
server_params = StdioServerParameters(
    command="python",
    args=["-m", "mhlabs_mcp_tools.server"],
    //env={"MHLABS_MCP_CATEGORY": "textprep,nlp"}
)

Developed with ❀️ by MusaddiqueHussain Labs

Related MCP Servers

View all in Developer Tools View all alternatives
  • P
    Pdf Document Mcp

    AI-powered pdf document MCP server for agents. Supports extract text from pdf, convert pdf t...

    πŸ’» Developer Tools1 views
    Compare vs Pdf Document Mcp β†’
  • Mcpcap logoMcpcap

    Network analysis for the AI age

    πŸ’» Developer Tools0 views
    Compare vs Mcpcap β†’
  • A
    Ai Netcafe

    Compare LLM cost & latency on one prompt, translate PDF keeping layout, cited research, make PPTX

    πŸ’» Developer Tools0 views
    Compare vs Ai Netcafe β†’
  • Claude Task Master logoClaude Task Master

    AI-powered task management system for AI-driven development. Features PRD parsing, task expansion, multi-provider support (Claude, OpenAI, Gemini, Perplexity, xAI), and selective tool loading for optimized context usage.

    πŸ’» Developer Tools7 views
    Compare vs Claude Task Master β†’

Frequently Asked Questions about Mhlabs Mcp Tools

Add the following block to your claude_desktop_config.json under mcpServers: "mcpServers": { "mhlabs-mcp-tools": { "command": "npx", "args": ["-y", "mhlabs_mcp_tools"] } }

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewMhlabs Mcp Tools AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/mhlabs-mcp-tools?style=directory)](https://allmcps.com/mcp/mhlabs-mcp-tools)
HTML Embed
<a href="https://allmcps.com/mcp/mhlabs-mcp-tools"><img src="https://allmcps.com/api/badge/mhlabs-mcp-tools?style=directory" alt="Mhlabs Mcp Tools on AllMCPs" /></a>

Technical Specs & Signals

CategoryπŸ’»Developer Tools
More technical detailsExpand β–Ύ
TransportSTDIO
RuntimeNode.js
Views0
Unique ViewsTotal visits recorded for this listing page on AllMCPs.
Installs0
Installs & Copy ActionsTotal times users copied install commands or configuration snippets for this server.
27Quality signal: Emerging Β· 27/100How this signal is calculated β–Ύ
Server availabilityNot measured

Not scored for repo-hosted servers β€” we can't reach the running server, only its GitHub page. Hosted MCP endpoints are health-checked live.

Verified ownership8/20
Documentation & tools11/30
Adoption & activity1/15
Community engagement0/10

A guidance signal from public completeness & health data β€” not a user rating. New listings start lower and rise as they add docs, get verified, and grow adoption. Signals we can't observe for a listing are skipped, not counted against it.

β˜… FeaturedAllMCPs Server logo

AllMCPs Server

The official MCP server for AllMCPs.com - submit and manage tools directly from your AI. The open directory for MCP servers. Connect Claude, Cursor, Windsurf, and AI agents to databases, tools, files, and APIs. Explore 3,181+ servers. AllMCPs is the premier, open directory for discovering, evaluating, and installing Model Context Protocol (MCP) servers to equip AI agents and LLMs with real-world superpowers.

Explore Server β†’

Own this project?

This directory is pre-filled from public sources. Claim via GitHub README, site badge, or DNS TXT to get the verified badge and attach your website.

Free dofollow backlink: after claiming, verify your product site and place a dofollow AllMCPs badge β€” we recheck it stays live.

Claim & get free dofollow

Share & Embed

Add our SVG badge (dark/light directory styles) or embeddable widget to your site.

Explore more

More in πŸ’» Developer Tools β†’Best MCP servers for Developers β†’Alternatives to Mhlabs Mcp Tools β†’Install in Claude DesktopInstall in CursorInstall in VS Code