
This is a Model Context Protocol (MCP) server for interacting with AIStor object stores.

A FastMCP-based Model Context Protocol server offering Indian medicine lookup, composition analysis, filtering, and alternative medicine suggestions.
Indian Medicines MCP Server is cataloged as an MCP server attributed to nowitsidb. A FastMCP-based Model Context Protocol server offering Indian medicine lookup, composition analysis, filtering, and alternative medicine suggestions. It is categorized under databases storage. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: MIT License. Check the source repository's current license and terms before using, modifying or distributing this software.
能力定义尚未审核。未核验的采集内容不会作为可信接口展示。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for Indian Medicines MCP Server are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
It expects a JSON array of medicine objects with fields such as Name, Manufacturer, Composition, MRP, and Prescription, and adds computed fields like price category and extracted active ingredients.
The suggest_alternatives endpoint returns alternatives with ingredient similarity, price difference percentage, and price comparison such as cheaper.
README.md · c8a90795b9ec · 采集于 2026-11-13 10:34:04 UTC
保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。
当前显示最后一次成功采集的文档快照,请以来源页面为准。
A comprehensive API server for medicine information lookup, alternative suggestions, and composition analysis. This server provides multiple endpoints for searching, filtering, and analyzing medicine data with advanced features like fuzzy matching and price comparison.
MedicineDB API Server is a high-performance tool designed to provide comprehensive access to medicine information. It offers a wide range of functionalities from basic medicine lookups to advanced composition analysis and alternative medicine suggestions. This server is built to handle large datasets efficiently while providing accurate and relevant results.
Advanced Search Capabilities
Analysis Tools
Medical Decision Support
Performance Optimized
| Technology | Purpose |
|---|---|
| Core programming language | |
| Server framework | |
| Data storage format |
Libraries:
difflib: For fuzzy string matching and medicine name similarityre: For parsing composition strings and ingredient extractioncollections: For optimized data structures (defaultdict, Counter)math: For price bucketing and pagination calculationstyping: For type hintsdataclasses: For structured datagit clone https://github.com/yourusername/medicines-db.git
cd medicines-db
pip install -r requirements.txt
# Ensure your JSON data file is at the correct path
# Default path: /Users/siddharthbajpai/Downloads/MCP_SERVER/medicines.json
# Update DATA_PATH in the code if needed
python medicines_server.py
The server exposes multiple API endpoints through MCP (Model Context Protocol) architecture. You can interact with the server using any MCP client.
Basic example:
from mcp.client import MCPClient
# Connect to the server
client = MCPClient("medicines-db")
# Search for a medicine
result = client.search_medicines("paracetamol", max_results=5)
print(result)
# Get alternatives to a specific medicine
alternatives = client.suggest_alternatives("Dolo 650")
print(alternatives)
The server provides 15 API endpoints through the MCP framework:
get_medicine_by_nameGET /get_medicine_by_name
Retrieve a medicine record by its exact Name, with optional cheaper alternatives.
Parameters:
name (string, required): The exact Name field of the medicineinclude_alternatives (boolean, optional, default=true): Whether to include cheaper alternatives in resultsResponse:
{
"medicine": {
"Name": "Dolo 650",
"Manufacturer": "Micro Labs Ltd",
"Composition": "Paracetamol (650mg)",
"MRP": "30.29",
"Prescription": "No",
"Price_INR": "₹30.29",
"Price_Category": "Low",
"Active_Ingredients": ["Paracetamol"],
"Ingredient_Count": 1,
"Is_Combination": false,
"Requires_Prescription": false,
"Prescription_Type": "Over-the-Counter"
},
"cheaper_alternatives": [
{
"medicine": {...},
"price_savings": "₹10.30",
"savings_percentage": "34.0%",
"similarity_score": "1.00"
}
]
}
search_medicinesGET /search_medicines
Full-text search across all medicine fields.
Parameters:
query (string, required): Substring to search (case-insensitive)max_results (integer, optional, default=10): Maximum number of matching records to returnResponse:
[
{
"Name": "Dolo 650",
"Manufacturer": "Micro Labs Ltd",
"Composition": "Paracetamol (650mg)",
"MRP": "30.29",
"Price_INR": "₹30.29",
...
},
...
]
fuzzy_search_by_nameGET /fuzzy_search_by_name
Search for medicines with names similar to the provided partial name using fuzzy matching.
Parameters:
partial_name (string, required): A partial or misspelled medicine name to search forsimilarity_threshold (number, optional, default=0.6): Minimum similarity score (0.0-1.0) to include in resultsmax_results (integer, optional, default=10): Maximum number of matching records to returnResponse:
[
{
"similarity_score": "0.92",
"medicine": {
"Name": "Dolo 650",
...
}
},
...
]
search_by_compositionGET /search_by_composition
Search for medicines containing a specific active ingredient.
Parameters:
ingredient (string, required): Name of an active ingredient to search formax_results (integer, optional, default=10): Maximum number of matching records to returnResponse:
[
{
"Name": "Dolo 650",
"Composition": "Paracetamol (650mg)",
...
},
...
]
filter_by_price_rangeGET /filter_by_price_range
Filter medicines by price range.
Parameters:
min_price (number, optional, default=0): Minimum price in INRmax_price (number, optional, default=null): Maximum price in INRmax_results (integer, optional, default=20): Maximum number of matching records to returnResponse:
[
{
"Name": "Crocin Pain Relief",
"MRP": "49.43",
"Price_INR": "₹49.43",
...
},
...
]
filter_by_manufacturerGET /filter_by_manufacturer
Filter medicines by manufacturer.
Parameters:
manufacturer (string, required): Full or partial manufacturer namemax_results (integer, optional, default=20): Maximum number of matching records to returnResponse:
[
{
"Name": "Dolo 650",
"Manufacturer": "Micro Labs Ltd",
...
},
...
]
filter_by_prescription_requirementGET /filter_by_prescription_requirement
Filter medicines by prescription requirement.
Parameters:
prescription_required (boolean, required): True for prescription medicines, False for over-the-countermax_results (integer, optional, default=20): Maximum number of matching records to returnResponse:
[
{
"Name": "Dolo 650",
"Prescription": "No",
"Requires_Prescription": false,
"Prescription_Type": "Over-the-Counter",
...
},
...
]
paginated_searchGET /paginated_search
Advanced search with pagination and multiple filters.
Parameters:
query (string, optional, default=""): General search term (searches across all fields)page (integer, optional, default=1): Page number (starting from 1)page_size (integer, optional, default=10): Number of results per pagemanufacturer (string, optional, default=""): Filter by manufacturer (full or partial)min_price (number, optional, default=0): Minimum price filtermax_price (number, optional, default=null): Maximum price filterprescription_required (boolean or null, optional, default=null): Filter by prescription requirement (null for any)ingredient (string, optional, default=""): Filter by active ingredientResponse:
{
"meta": {
"total_results": 150,
"page": 1,
"page_size": 10,
"total_pages": 15
},
"results": [
{
"Name": "Dolo 650",
...
},
...
]
}
find_similar_medicinesGET /find_similar_medicines
Find medicines with similar composition to the specified medicine.
Parameters:
medicine_name (string, required): Name of the reference medicinemax_results (integer, optional, default=5): Maximum number of similar medicines to returnResponse:
{
"reference_medicine": {
"Name": "Dolo 650",
...
},
"similar_medicines": [
{
"similarity_score": "1.00",
"medicine": {
"Name": "Crocin Pain Relief",
...
}
},
...
]
}
analyze_compositionGET /analyze_composition
Analyze a medicine composition string to extract and structure the ingredients.
Parameters:
composition (string, required): A composition string (e.g. "Ambroxol (30mg/5ml) + Levosalbutamol (1mg/5ml)")Response:
{
"raw_composition": "Ambroxol (30mg/5ml) + Levosalbutamol (1mg/5ml)",
"ingredients": [
{
"raw_text": "Ambroxol (30mg/5ml)",
"name": "Ambroxol",
"dosage": "30mg/5ml",
"dosage_value": "30",
"dosage_unit": "mg"
},
{
"raw_text": "Levosalbutamol (1mg/5ml)",
"name": "Levosalbutamol",
"dosage": "1mg/5ml",
"dosage_value": "1",
"dosage_unit": "mg"
}
],
"medicines_with_this_composition": [
{
"Name": "Ascoril LS Syrup",
...
},
...
]
}
count_medicines_by_compositionGET /count_medicines_by_composition
Count and list all medicines with a specific composition or containing specific ingredients.
Parameters:
composition (string, required): The composition or ingredient to search forexact_match (boolean, optional, default=false): If True, only find medicines with the exact composition. If False, find medicines containing this ingredient.Response:
{
"query": "Paracetamol",
"exact_match": false,
"total_medicines_found": 500,
"total_manufacturers": 25,
"price_statistics": {
"min_price": "₹10.50",
"max_price": "₹150.75",
"avg_price": "₹45.30",
"total_medicines_with_price": 490
},
"medicines": [...],
"by_manufacturer": {
"Cipla": {
"count": 50,
"medicines": [...]
},
...
}
}
categorize_medicinesGET /categorize_medicines
Categorize medicines by active ingredients and return the most common categories.
Parameters:
max_categories (integer, optional, default=10): Maximum number of categories to returnResponse:
[
{
"category": "Paracetamol",
"medicine_count": 500,
"example_medicines": [...]
},
{
"category": "Amoxicillin",
"medicine_count": 300,
"example_medicines": [...]
},
...
]
get_medicine_statisticsGET /get_medicine_statistics
Get statistical overview of the medicines database.
Parameters: None
Response:
{
"total_medicines": 15000,
"prescription_count": 7500,
"otc_count": 7000,
"unknown_prescription_status": 500,
"manufacturer_counts": {
"Sun Pharma": 1200,
"Cipla": 900,
...
},
"price_distribution": {
"min_price": "₹1.50",
"max_price": "₹2500.00",
"avg_price": "₹125.45",
"price_ranges": {
"₹0 - ₹99.99": 5000,
"₹100 - ₹199.99": 4000,
...
}
},
"common_ingredients": {
"Paracetamol": 500,
"Amoxicillin": 300,
...
}
}
get_all_manufacturersGET /get_all_manufacturers
Get a list of all manufacturers in the database.
Parameters: None
Response:
[
{
"name": "Sun Pharma",
"medicine_count": 1200
},
{
"name": "Cipla",
"medicine_count": 900
},
...
]
suggest_alternativesGET /suggest_alternatives
Suggest alternative medicines based on composition similarity and price.
Parameters:
medicine_name (string, required): Name of the reference medicinemax_suggestions (integer, optional, default=5): Maximum number of alternatives to suggestResponse:
{
"reference_medicine": {
"Name": "Dolo 650",
"MRP": "30.29",
...
},
"alternatives": [
{
"medicine": {
"Name": "Calpol 650",
"MRP": "26.50",
...
},
"ingredient_similarity": 1.0,
"price_difference_percentage": -12.5,
"price_comparison": "cheaper",
"absolute_price_difference": 3.79
},
...
]
}
The system expects a JSON array of medicine objects with the following structure:
[
{
"Name": "Medicine Name",
"Manufacturer": "Company Name",
"Composition": "Ingredient1 (10mg) + Ingredient2 (20mg)",
"MRP": "123.45",
"Prescription": "Yes"
},
...
]
The system enhances this data with additional computed fields:
Price_INR: Formatted price with currency symbolPrice_Category: Classification into Low/Medium/High/PremiumActive_Ingredients: Extracted list of ingredientsIngredient_Count: Number of active ingredientsIs_Combination: Whether the medicine contains multiple ingredientsRequires_Prescription: Boolean for prescription requirementPrescription_Type: Human-readable prescription statusThe server implements several optimizations:
Multiple indices for fast lookups:
Ingredient extraction is done once at startup to avoid repeated parsing
Similarity calculations use efficient algorithms:
Price bucketing for faster range queries
Contributions are welcome! Here's how you can help:
git checkout -b feature/amazing-feature)git commit -m 'Add some amazing feature')git push origin feature/amazing-feature)Please make sure to update tests as appropriate.
This project is licensed under the MIT License - see the LICENSE file for details.
Developed by Siddharth Bajpai
For questions or support, please contact
For medicines data, contact me on LinkedIn
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for Indian Medicines MCP Server from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/indian_medicine_mcp_server)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。
尚无已审核的包 / 镜像标识,暂不展示下载统计。
Alternative and complementary servers in the same category

This is a Model Context Protocol (MCP) server for interacting with AIStor object stores.

A Model Context Protocol server that lets AI assistants run SQL queries against AWS Athena databases and retrieve results.

A Model Context Protocol (MCP) server that exposes access to an InfluxDB v2 instance using the InfluxDB OSS API v2.