Primer Market Systems (MSD) & DCED Engine

v1.4.0
io.github.saihanlinn/primer-msd-mcp Checked 4 days ago Published 5 hours ago

MSD/M4P tools: DCED math, dealer deals, 2,523 evidence guides, and live donor RFPs.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

search_msd_knowledge

Search Primer International's global Market Systems Development (MSD / M4P) and Social Enterprise database (2,543+ records across DCED, BEAM Exchange, MSD4E, SEWF, ILO The Lab, ANDE, WEF Schwab Foundation, and UN ESCAP).

ParameterTypeDescription
query *stringSearch keywords or concepts (e.g., cost-share agreement, thin market mechanics, social procurement, work integration).
doc_typestringFilter by evidence type.
limitintegerMaximum number of evidence matches to return (1-20).

calculate_deal

Calculate rural retail dealer unit economics, monthly working capital requirements, currency inflation decay, and smallholder payback periods for private sector co-investments.

ParameterTypeDescription
cash_cycle_days *integerDays from inventory purchase to customer cash collection (7 to 14 benchmark).
dealer_fixed_cost_monthly *numberDealer monthly overhead for shop rent, staff, power ($).
donor_subsidy_grant *numberDonor pilot grant contribution ($).
farmer_equipment_cost *numberSmallholder upfront capital outlay ($).
farmer_seasonal_revenue_gain *numberNet smallholder income gain per harvest season ($).
monthly_inflation_rate_pct *numberLocal currency monthly inflation rate %.
monthly_volume_units *integerEstimated monthly units sold per dealer.
partner_equity_match *numberPrivate partner matching capital ($).
retail_price *numberCustomer retail price at rural shop ($).
wholesale_price *numberDealer purchase price from supplier ($).

calculate_dced_attribution

Calculate DCED-compliant attributable Net Additional Income (NAI), deadweight, displacement, substitution, systemic copycat crowding-in, and full-time equivalent (FTE) employment.

ParameterTypeDescription
additional_labor_days_per_beneficiary *numberExtra casual on-farm labor days demanded per year.
beneficiaries_reached *integerVerified adopting farmers or micro-enterprises.
crowding_in_multiplier *numberRatio capturing competitor imitation (1.0 = none, 1.25 = 25% copycat expansion).
deadweight_pct *numberAdoption percentage that would have occurred without the project (0-100%).
direct_partner_jobs_created *integerSalaried jobs created by commercial lead firm.
displacement_pct *numberIncome gains displacing existing local businesses (0-100%).
gross_additional_income_per_beneficiary *numberAnnual gross income increase per adopter ($/yr).
program_intervention_cost *numberTotal donor budget allocated to intervention ($).
substitution_pct *numberForgone income from abandoned alternative crops (0-100%).
working_days_per_fteintegerBenchmark workdays per full-time equivalent job.

lint_proposal

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.

ParameterTypeDescription
text *stringDraft proposal or terms of reference text to audit.

search_opportunities

Search active, future-closing Market Systems Development (MSD), value chain, financial inclusion, and social enterprise RFPs, EOIs, grants, and consultancies aggregated from UNGM, UNDP, ReliefWeb, EU TED, and FinDev Gateway.

ParameterTypeDescription
categorystringFilter by Market Systems or Social Enterprise practice category.
contract_typestringFilter by contract type or solicitation format (preferred alias for modality).
donorstringFilter by issuing agency or organization (e.g., UNDP, UNOPS, FAO, ITC, UNIDO, SNV).
eligibilitystringFilter by vendor eligibility (International Open vs Local Vendors Only).
limitintegerMaximum number of active opportunities to return (1-25).
max_days_leftintegerMaximum days remaining until closing deadline (1-365).
modalitystringDeprecated alias for contract_type.
querystringOptional keywords (e.g., climate microfinance, incubator, Cambodia, MSME, FAO).
regionstringFilter by exact geographic region.
sortstringSort order for returned solicitations.

get_opportunity

Retrieve complete structured metadata and official links for a single active MSD or Social Enterprise opportunity by numeric ID.

ParameterTypeDescription
id *integerNumeric opportunity ID returned by search_opportunities.