Primer Market Systems (MSD) & DCED Engine

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

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

Zero-authentication remote Model Context Protocol (MCP) server and REST API for Market Systems Development (MSD / M4P), DCED results measurement, private sector deal modeling, and Social Enterprise research. This server indexes 2,523 curated guides, tools, donor programmes, and social enterprise reports (66,649 cataloged assets) from DCED, BEAM Exchange, MSD4E, SEWF, ILO The Lab, ANDE, WEF Schwab Foundation, British Council, and UN ESCAP, plus deterministic math tools and a curated live feed of active, future-closing Market Systems and Social Enterprise RFPs, EOIs, and consultancies.

Summary extracted from the README.

Primer MSD & Social Enterprise MCP Server (services.linn/msd)

Zero-authentication remote Model Context Protocol (MCP) server and REST API for Market Systems Development (MSD / M4P), DCED results measurement, private sector deal modeling, and Social Enterprise research.

What You Get

This server indexes 2,523 curated guides, tools, donor programmes, and social enterprise reports (66,649 cataloged assets) from DCED, BEAM Exchange, MSD4E, SEWF, ILO The Lab, ANDE, WEF Schwab Foundation, British Council, and UN ESCAP, plus deterministic math tools and a curated live feed of active, future-closing Market Systems and Social Enterprise RFPs, EOIs, and consultancies.

Available MCP Tools (v1.3.0)

All 6 MCP tools include readOnlyHint: true annotations for friction-free read-only execution.

Tool Name Purpose
search_msd_knowledge Full-text search across DCED standards, BEAM tools, MSD4E employment guides, global donor programmes, and Social Enterprise publications.
search_opportunities Search active, future-closing MSD, value chain, financial inclusion, and social enterprise tenders with filters (query, category, region, contract_type, donor, eligibility, max_days_left, sort) and structured JSON + Markdown output.
get_opportunity Retrieve complete structured metadata and official portal links for a single active opportunity by numeric ID (msd://opportunities/{id}).
calculate_deal Model rural retail dealer gross margins, 7-to-14-day inventory cash cycles, working capital inflation decay, and farmer payback months.
calculate_dced_attribution Calculate Net Additional Income (NAI) after deadweight, displacement, and substitution, plus crowding-in and 240-day FTE jobs.
lint_proposal Audit draft concept notes or terms of reference for direct giveaway risks, missing private match, 100% attribution claims, and currency peg traps.

Free Interactive Web Calculators

Quick Setup in AI Clients

Cursor / Windsurf / Streamable HTTP Clients

Add to .cursor/mcp.json or your MCP configuration:

{
  "mcpServers": {
    "primer-msd": {
      "url": "https://msd.linn.services/mcp"
    }
  }
}

Claude Desktop (via mcp-remote)

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "primer-msd": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "https://msd.linn.services/mcp"]
    }
  }
}

Direct JSON-RPC 2.0 Test

curl -s -X POST https://msd.linn.services/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"search_msd_knowledge","arguments":{"query":"results chain","limit":3}}}'

See examples/rest_examples.sh and examples/python_client.py for more snippets.

Repository Scope & Open Knowledge Notice

This public repository contains documentation, client examples, and the Official MCP Registry server.json manifest for the hosted remote endpoint at https://msd.linn.services/mcp.

Primer International does not claim ownership of indexed third-party publications. All original materials belong to DCED, BEAM Exchange, SEWF, ILO, ANDE, WEF Schwab Foundation, British Council, UN ESCAP, and contributing authors. Search responses return short reference excerpts with direct links to original publisher pages.

Takedown requests or bug reports: primer@linn.services (takedowns handled within 48 hours).