Koskamo

Research Methods Library MCP

An open-source MCP server that provides AI assistants with study design recommendations, identifying assumptions, runnable R and Python code, and citations from a library of over 19,000 sections covering causal inference, econometrics, marketing research, and AI implementation.

Endpoint and access

No sign-in to connect and list tools. Individual tools may still need a vendor account, credentials, or permissions; check the documented prerequisites.

Research Methods Library MCP logo, by mikenguyen13Community listingStreamable HTTPNo sign-inEndpoint checked 2026-11-23Published by mikenguyen13
You need:Access is free and requires no account or API key
MCP endpoint (Streamable HTTP)
https://research-methods-mcp.vercel.app/mcp
Vendor documentation

What its tools do

6 tools, grouped by the hints the server advertises. Hints are self-declared, not verified behavior.

6 of 6 have a description · 6 of 6 declare behavior hints · 5 of 5 with parameters document them all

Checks and signals

Each line is separate evidence, not a trust score.

  • Passed Endpoint answered the live check ·
  • Uptime 100% over 90 days
  • Availability 2 of 2 checks passed in 30 days

What you can do with it

  • Recommend study designs and methods for specific research questions
  • Generate runnable R, Python, or Julia code for statistical analyses
  • Identify assumptions and tests for causal inference estimates
  • Provide formatted citations (APA, BibTeX, etc.) for consulted sources

Source and maintenance

Community listingRegistry 0.1.1
Maintenance checked

Protocol and capabilities

Server
research-methods-mcp 0.1.1
MCP protocol negotiated in check
2025-11-25
Tools
6 advertised
Resources
11 advertised
Resource templates
0 advertised
Prompts
3 advertised
Server-advertised capabilities
{
  "tools": {
    "listChanged": false
  },
  "prompts": {
    "listChanged": false
  },
  "resources": {
    "subscribe": false,
    "listChanged": false
  }
}

Server-provided instructions

Untrusted server output shown for inspection. It is not Koskamo guidance and is excluded from knowledge search.

Research Methods Library: searchable sections, runnable R and Python code, and formatted citations from books, an R package, and research articles by Mike Nguyen on data analysis, statistics, causal inference, econometrics, experimental design, marketing research, empirical finance, credit scoring, machine learning, and AI. The library is relevant whenever a user asks how to analyze data or answer a research question: which statistical test, model, or study design fits their data; how to estimate a causal or treatment effect; how to check assumptions or robustness; how to plan an experiment or compute sample size; how to write analysis code in R or Python; or how to cite a method. For a study-design question, start with choose_method. To read the material, use search and then fetch. For runnable code, use get_code. For a reference list, use cite with the ids of the sections you used. Every result includes the section URL and the citation of the work it comes from.

Tools

6 advertised

search — Search the research methods library
Advertised by the server during the last successful anonymous check.
Advertised read-only

Search sections of textbooks and an R package on research methods and data analysis: statistics and hypothesis testing, regression and generalized linear models, causal inference (difference-in-differences, synthetic control, regression discontinuity, instrumental variables, matching, double machine learning), econometrics, experimental design, survey methods, marketing research, credit scoring, machine learning, and AI. Returns matching sections with their ids, a link, a snippet, the code languages they contain, and a citation.

search input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "query"
  ],
  "properties": {
    "limit": {
      "type": "integer",
      "maximum": 25,
      "minimum": 1,
      "description": "Number of results (default 8)."
    },
    "query": {
      "type": "string",
      "minLength": 1,
      "description": "What to look for, in plain words, e.g. \"staggered difference-in-differences with never-treated controls\"."
    },
    "source": {
      "enum": [
        "data_analysis",
        "causalverse",
        "credit_score",
        "marketing_research",
        "ai_in_action",
        "advanced_data_analysis",
        "tidy_finance_vn",
        "tidy_finance_vn_vi",
        "social_theory",
        "publications"
      ],
      "type": "string",
      "description": "Limit to one work: data_analysis (A Guide on Data Analysis); causalverse (causalverse: The All-in-One Causal Inference Toolkit); credit_score (Credit Scoring: Theory, Methods, and Practice); marketing_research (Marketing Research: A Technical and Academic Treatment); ai_in_action (AI in Action: A Reference for Artificial Intelligence); advanced_data_analysis (Advanced Data Analysis); tidy_finance_vn (Applying Tidy Finance with Python to Vietnam); tidy_finance_vn_vi (Tài Chính Ứng Dụng với Python); social_theory (Social Science Theory: A Field Guide to the Theories, Effects, and Frameworks Behind Research and Business); publications (Research Articles and Publications)."
    },
    "language": {
      "enum": [
        "r",
        "python",
        "julia"
      ],
      "type": "string",
      "description": "Prefer sections with code in this language."
    }
  }
}
search annotations
{
  "title": "Search the research methods library",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
fetch — Read a library section
Advertised by the server during the last successful anonymous check.
Advertised read-only

Read one section of the library by its section id. Returns the section in Markdown with its code, the section URL, and the citation of the work it comes from. Long sections come in parts; the text names the id of the next part.

fetch input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "id"
  ],
  "properties": {
    "id": {
      "type": "string",
      "minLength": 1,
      "description": "Section id, e.g. \"data_analysis:sec-regression-discontinuity\"."
    }
  }
}
fetch annotations
{
  "title": "Read a library section",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
choose_method — Recommend analysis methods
Advertised by the server during the last successful anonymous check.
Advertised read-only

Recommend statistical, econometric, causal inference, or machine learning methods for a research question or data analysis task: which statistical test or model fits the data, how to estimate a causal or treatment effect, how to analyze an A/B test or experiment, how many observations are needed (power and sample size), how to handle panel, time-series, survey, text, or survival data, and how to build predictive or credit-scoring models. Describe the question, the data (cross-section, panel, time series, experiment), how the treatment or exposure was assigned, and the outcome. Returns candidate methods with when each applies, key assumptions, R and Python packages, and the library sections that teach them.

choose_method input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "question"
  ],
  "properties": {
    "limit": {
      "type": "integer",
      "maximum": 6,
      "minimum": 1,
      "description": "Number of methods (default 3)."
    },
    "language": {
      "enum": [
        "r",
        "python",
        "julia"
      ],
      "type": "string",
      "description": "Only list packages for this language."
    },
    "question": {
      "type": "string",
      "minLength": 3,
      "description": "The research question and setting, e.g. \"effect of a minimum wage increase that some states adopted in different years on teen employment\"."
    }
  }
}
choose_method annotations
{
  "title": "Recommend analysis methods",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
get_code — Get runnable R, Python, or Julia code
Advertised by the server during the last successful anonymous check.
Advertised read-only

Get runnable code from the library for a specific statistical, econometric, causal inference, or machine learning task, in R, Python, or Julia. Suited to requests for code that carries out a named estimator, test, or modeling step; it returns code with brief context, not an explanation of the method. Results can be restricted to one language or one work. Returns code blocks with the section they come from, the packages they use, a link, and a citation.

get_code input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "topic"
  ],
  "properties": {
    "limit": {
      "type": "integer",
      "maximum": 10,
      "minimum": 1,
      "description": "Number of sections to return code from (default 4)."
    },
    "topic": {
      "type": "string",
      "minLength": 2,
      "description": "The task, e.g. \"Callaway and Sant'Anna group-time ATT\", \"rdrobust bandwidth\", \"WoE binning scorecard\"."
    },
    "source": {
      "enum": [
        "data_analysis",
        "causalverse",
        "credit_score",
        "marketing_research",
        "ai_in_action",
        "advanced_data_analysis",
        "tidy_finance_vn",
        "tidy_finance_vn_vi",
        "social_theory",
        "publications"
      ],
      "type": "string",
      "description": "Limit to one work: data_analysis (A Guide on Data Analysis); causalverse (causalverse: The All-in-One Causal Inference Toolkit); credit_score (Credit Scoring: Theory, Methods, and Practice); marketing_research (Marketing Research: A Technical and Academic Treatment); ai_in_action (AI in Action: A Reference for Artificial Intelligence); advanced_data_analysis (Advanced Data Analysis); tidy_finance_vn (Applying Tidy Finance with Python to Vietnam); tidy_finance_vn_vi (Tài Chính Ứng Dụng với Python); social_theory (Social Science Theory: A Field Guide to the Theories, Effects, and Frameworks Behind Research and Business); publications (Research Articles and Publications)."
    },
    "language": {
      "enum": [
        "r",
        "python",
        "julia"
      ],
      "type": "string",
      "description": "Programming language of the code: r, python, or julia."
    }
  }
}
get_code annotations
{
  "title": "Get runnable R, Python, or Julia code",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
cite — Format references
Advertised by the server during the last successful anonymous check.
Advertised read-only

Format references for works in the library in APA, Chicago, MLA, Harvard, BibTeX, or RIS. Pass the ids of the sections you used to get a deduplicated reference list plus the section links, or pass source ids to cite whole works. With no ids, returns a reference for every work in the library.

cite input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "ids": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Section ids, or source ids: data_analysis, causalverse, credit_score, marketing_research, ai_in_action, advanced_data_analysis, tidy_finance_vn, tidy_finance_vn_vi, social_theory, publications."
    },
    "style": {
      "enum": [
        "apa",
        "chicago",
        "mla",
        "harvard",
        "bibtex",
        "ris"
      ],
      "type": "string",
      "description": "Citation style (default apa)."
    }
  }
}
cite annotations
{
  "title": "Format references",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
list_sources — List the works in the library
Advertised by the server during the last successful anonymous check.
Advertised read-only

List the works in the library (textbooks, an R package, and research articles) with their topics, code languages, section counts, licenses, links, and how to cite each one. Suited to questions about what the library covers or which work to consult. Takes no parameters and returns one entry per work.

list_sources input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {}
}
list_sources annotations
{
  "title": "List the works in the library",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}

Prompts

3 advertised

plan_analysis — Plan an analysis

Advertised by the server during the last successful anonymous check.

Turn a research question into a design, assumptions to check, runnable code, and a reference list.

question
Your research question. (required)
data
What data you have: units, time span, how treatment was assigned, outcome.
language
R or Python.
write_methods_section — Draft a methods section

Advertised by the server during the last successful anonymous check.

Draft the methods section of a paper, grounded in the library and with references.

analysis
What you did: design, estimator, data, and robustness checks. (required)
style
Citation style: apa, chicago, mla, harvard, or bibtex.
explain_method — Explain a method

Advertised by the server during the last successful anonymous check.

Explain a method with its assumptions, diagnostics, pitfalls, and a worked example.

method
The method, e.g. "synthetic control" or "double machine learning". (required)
language
R or Python for the example.

Resources

11 advertised

sources — Library catalog

Advertised by the server during the last successful anonymous check.

Every book and package in the library, with links and citations.

sources URI
rml://sources

MIME type: application/json

toc-data_analysis — A Guide on Data Analysis: contents

Advertised by the server during the last successful anonymous check.

Chapter and section outline of A Guide on Data Analysis, with section ids.

toc-data_analysis URI
rml://sources/data_analysis

MIME type: text/markdown

toc-causalverse — causalverse: The All-in-One Causal Inference Toolkit: contents

Advertised by the server during the last successful anonymous check.

Chapter and section outline of causalverse: The All-in-One Causal Inference Toolkit, with section ids.

toc-causalverse URI
rml://sources/causalverse

MIME type: text/markdown

toc-credit_score — Credit Scoring: Theory, Methods, and Practice: contents

Advertised by the server during the last successful anonymous check.

Chapter and section outline of Credit Scoring: Theory, Methods, and Practice, with section ids.

toc-credit_score URI
rml://sources/credit_score

MIME type: text/markdown

toc-marketing_research — Marketing Research: A Technical and Academic Treatment: contents

Advertised by the server during the last successful anonymous check.

Chapter and section outline of Marketing Research: A Technical and Academic Treatment, with section ids.

toc-marketing_research URI
rml://sources/marketing_research

MIME type: text/markdown

toc-ai_in_action — AI in Action: A Reference for Artificial Intelligence: contents

Advertised by the server during the last successful anonymous check.

Chapter and section outline of AI in Action: A Reference for Artificial Intelligence, with section ids.

toc-ai_in_action URI
rml://sources/ai_in_action

MIME type: text/markdown

toc-advanced_data_analysis — Advanced Data Analysis: contents

Advertised by the server during the last successful anonymous check.

Chapter and section outline of Advanced Data Analysis, with section ids.

toc-advanced_data_analysis URI
rml://sources/advanced_data_analysis

MIME type: text/markdown

toc-tidy_finance_vn — Applying Tidy Finance with Python to Vietnam: contents

Advertised by the server during the last successful anonymous check.

Chapter and section outline of Applying Tidy Finance with Python to Vietnam, with section ids.

toc-tidy_finance_vn URI
rml://sources/tidy_finance_vn

MIME type: text/markdown

toc-tidy_finance_vn_vi — Tài Chính Ứng Dụng với Python: contents

Advertised by the server during the last successful anonymous check.

Chapter and section outline of Tài Chính Ứng Dụng với Python, with section ids.

toc-tidy_finance_vn_vi URI
rml://sources/tidy_finance_vn_vi

MIME type: text/markdown

toc-social_theory — Social Science Theory: A Field Guide to the Theories, Effects, and Frameworks Behind Research and Business: contents

Advertised by the server during the last successful anonymous check.

Chapter and section outline of Social Science Theory: A Field Guide to the Theories, Effects, and Frameworks Behind Research and Business, with section ids.

toc-social_theory URI
rml://sources/social_theory

MIME type: text/markdown

toc-publications — Research Articles and Publications: contents

Advertised by the server during the last successful anonymous check.

Chapter and section outline of Research Articles and Publications, with section ids.

toc-publications URI
rml://sources/publications

MIME type: text/markdown

90-day uptime

A lightweight connection check about every six hours, sampled on hosts with many listings. It shows the server answered, not that its tools work.

100% (38 of 38 checks answered)

  1. 2026-11-18: 5 of 5 checks answered
  2. 2026-11-19: 4 of 4 checks answered
  3. 2026-11-20: 3 of 3 checks answered
  4. 2026-11-21: 4 of 4 checks answered
  5. 2026-11-22: 4 of 4 checks answered
  6. 2026-11-23: 3 of 3 checks answered
  7. 2026-11-24: 4 of 4 checks answered
  8. 2026-11-25: 4 of 4 checks answered
  9. 2026-11-26: 4 of 4 checks answered
  10. 2026-11-27: 3 of 3 checks answered

30-day availability

Aggregated from read-only remote checks; this is not a tool-execution or security guarantee.

Successful checks
2 of 2 (100%)
Average latency
1072 ms
95th percentile latency
1116 ms

Maintenance history

Public check and source-refresh events. Editorial and ownership records remain private.

  • · probe · passed · 1022 ms · 6 tool(s), 11 resource(s), 0 resource template(s), 3 prompt(s)
  • · probe · passed · 1121 ms · metadata changed · 6 tool(s), 11 resource(s), 0 resource template(s), 3 prompt(s)

Connect from your client

Each snippet registers the same endpoint; pick the client you use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Claude Code

Run this once in a terminal. It registers the remote server. Use --scope project to write .mcp.json for the repo.
Claude Code configuration
claude mcp add --transport http research-methods-library-mcp https://research-methods-mcp.vercel.app/mcp

Codex

Run this once. Codex stores MCP servers in ~/.codex/config.toml (or .codex/config.toml in a trusted project).
Codex configuration
codex mcp add research-methods-library-mcp --url https://research-methods-mcp.vercel.app/mcp

Cursor

Merge this server into .cursor/mcp.json in your project, then enable research-methods-library-mcp in your MCP settings.
Cursor configuration
{
  "mcpServers": {
    "research-methods-library-mcp": {
      "url": "https://research-methods-mcp.vercel.app/mcp"
    }
  }
}

Cline

Merge this into cline_mcp_settings.json (Cline → MCP Servers → Configure).
Cline configuration
{
  "mcpServers": {
    "research-methods-library-mcp": {
      "type": "streamableHttp",
      "url": "https://research-methods-mcp.vercel.app/mcp",
      "disabled": false
    }
  }
}

VS Code

Merge this server into .vscode/mcp.json. Use MCP: List Servers to start research-methods-library-mcp and inspect its tools.
VS Code configuration
{
  "servers": {
    "research-methods-library-mcp": {
      "type": "http",
      "url": "https://research-methods-mcp.vercel.app/mcp"
    }
  }
}

Gemini CLI

Run this once. It writes .gemini/settings.json in the current project; pass --scope user for ~/.gemini/settings.json.
Gemini CLI configuration
gemini mcp add --transport http research-methods-library-mcp https://research-methods-mcp.vercel.app/mcp

Claude Desktop

Open Claude Settings > Connectors > Add custom connector, enter this server URL and enable it for the conversation. This is a manual remote-connector handoff, not a desktop JSON configuration.
Claude Desktop configuration
https://research-methods-mcp.vercel.app/mcp

Windsurf

Merge this into ~/.codeium/windsurf/mcp_config.json, then refresh MCP in Cascade. Windsurf remote servers use serverUrl, not url.
Windsurf configuration
{
  "mcpServers": {
    "research-methods-library-mcp": {
      "serverUrl": "https://research-methods-mcp.vercel.app/mcp"
    }
  }
}

Let your agent find its tools

Find servers like Research Methods Library MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.