Primer Market Systems (MSD) & DCED Engine
Market Systems Development (MSD/M4P) tools: DCED math, dealer deals, and 2,523 evidence guides.
Should I use this
Quality & Safety
Based on automated analysis of tool definitions and protocol compliance.
Context Cost
This is the approximate number of tokens consumed each time the server's tools are loaded into a model's context. Higher counts reduce the attention available for other tasks.
Install
One-Click Install
Add this to your `claude_desktop_config.json` file:
{
"mcpServers": {
"msd": {
"url": "https://msd.linn.services/mcp"
}
}
}Remote endpoints
https://msd.linn.services/mcpstreamable-httpWhat it can do
Tool inventory
Tools (4)
🟢search_msd_knowledge(query, doc_type, limit)
Search Primer International's global Market Systems Development (MSD / M4P) and Social Enterprise database (2,523 records across DCED, BEAM Exchange, MSD4E, SEWF, ILO The Lab, ANDE, WEF Schwab Foundation, and UN ESCAP).
Input Schema
{
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "Search keywords or concepts (e.g., cost-share agreement, thin market mechanics, social procurement, work integration)."
},
"doc_type": {
"type": "string",
"enum": [
"all",
"dced",
"tool",
"programme",
"resource",
"msd4e",
"se"
],
"default": "all",
"description": "Filter by evidence type."
},
"limit": {
"type": "integer",
"default": 5,
"description": "Maximum number of evidence matches to return (1-20)."
}
},
"required": [
"query"
]
}🟢calculate_deal(retail_price, wholesale_price, monthly_volume_units, dealer_fixed_cost_monthly, cash_cycle_days, ...)
Calculate rural retail dealer unit economics, monthly working capital requirements, currency inflation decay, and smallholder payback periods for private sector co-investments.
Input Schema
{
"type": "object",
"properties": {
"retail_price": {
"type": "number",
"description": "Customer retail price at rural shop ($)."
},
"wholesale_price": {
"type": "number",
"description": "Dealer purchase price from supplier ($)."
},
"monthly_volume_units": {
"type": "integer",
"description": "Estimated monthly units sold per dealer."
},
"dealer_fixed_cost_monthly": {
"type": "number",
"description": "Dealer monthly overhead for shop rent, staff, power ($)."
},
"cash_cycle_days": {
"type": "integer",
"description": "Days from inventory purchase to customer cash collection (7 to 14 benchmark)."
},
"monthly_inflation_rate_pct": {
"type": "number",
"description": "Local currency monthly inflation rate %."
},
"farmer_equipment_cost": {
"type": "number",
"description": "Smallholder upfront capital outlay ($)."
},
"farmer_seasonal_revenue_gain": {
"type": "number",
"description": "Net smallholder income gain per harvest season ($)."
},
"donor_subsidy_grant": {
"type": "number",
"description": "Donor pilot grant contribution ($)."
},
"partner_equity_match": {
"type": "number",
"description": "Private partner matching capital ($)."
}
},
"required": [
"retail_price",
"wholesale_price",
"monthly_volume_units",
"dealer_fixed_cost_monthly",
"cash_cycle_days",
"monthly_inflation_rate_pct",
"farmer_equipment_cost",
"farmer_seasonal_revenue_gain",
"donor_subsidy_grant",
"partner_equity_match"
]
}🟢calculate_dced_attribution(beneficiaries_reached, gross_additional_income_per_beneficiary, deadweight_pct, displacement_pct, substitution_pct, ...)
Calculate DCED-compliant attributable Net Additional Income (NAI), deadweight, displacement, substitution, systemic copycat crowding-in, and full-time equivalent (FTE) employment.
Input Schema
{
"type": "object",
"properties": {
"beneficiaries_reached": {
"type": "integer",
"description": "Verified adopting farmers or micro-enterprises."
},
"gross_additional_income_per_beneficiary": {
"type": "number",
"description": "Annual gross income increase per adopter ($/yr)."
},
"deadweight_pct": {
"type": "number",
"description": "Adoption percentage that would have occurred without the project (0-100%)."
},
"displacement_pct": {
"type": "number",
"description": "Income gains displacing existing local businesses (0-100%)."
},
"substitution_pct": {
"type": "number",
"description": "Forgone income from abandoned alternative crops (0-100%)."
},
"crowding_in_multiplier": {
"type": "number",
"description": "Ratio capturing competitor imitation (1.0 = none, 1.25 = 25% copycat expansion)."
},
"direct_partner_jobs_created": {
"type": "integer",
"description": "Salaried jobs created by commercial lead firm."
},
"additional_labor_days_per_beneficiary": {
"type": "number",
"description": "Extra casual on-farm labor days demanded per year."
},
"program_intervention_cost": {
"type": "number",
"description": "Total donor budget allocated to intervention ($)."
},
"working_days_per_fte": {
"type": "integer",
"default": 240,
"description": "Benchmark workdays per full-time equivalent job."
}
},
"required": [
"beneficiaries_reached",
"gross_additional_income_per_beneficiary",
"deadweight_pct",
"displacement_pct",
"substitution_pct",
"crowding_in_multiplier",
"direct_partner_jobs_created",
"additional_labor_days_per_beneficiary",
"program_intervention_cost"
]
}⚪lint_proposal(text)
Audit proposal text against core Market Systems Development (MSD) rules: detects direct asset handouts, missing partner matching funds, unadjusted 100% attribution claims, and vulnerable exchange rate pegs.
Input Schema
{
"type": "object",
"properties": {
"text": {
"type": "string",
"description": "Draft proposal or terms of reference text to audit."
}
},
"required": [
"text"
]
}Community
Evidence