Research Methods Library

A Model Context Protocol server that grounds AI assistants in 19,940 sections of methodological texts on causal inference, econometrics, experimental design, marketing research, credit scoring, and artificial intelligence. Responses include study design recommendations, the assumptions to verify, runnable R and Python code, and a citation for every source. Access is free and requires no account or API key.

https://research-methods-mcp.vercel.app/mcp
Add to CursorInstall in VS Code

Installation

Claude (web, desktop, and mobile)
Settings → Connectors → Add custom connector; enter the endpoint URL above.
Claude Code
claude mcp add --transport http research-methods https://research-methods-mcp.vercel.app/mcp
ChatGPT
Enable developer mode in Settings, add a custom connector of type MCP server with the endpoint URL above, and select no authentication.
Amazon Bedrock AgentCore
Add the endpoint as an MCP server target of an AgentCore Gateway, with no outbound authorization:
agentcore add gateway-target --name research-methods --type mcp-server --endpoint https://research-methods-mcp.vercel.app/mcp --gateway <gateway>
agentcore deploy
Cursor, Visual Studio Code, Windsurf, Cline, Zed, and other MCP clients
Use the buttons above, or add the following to the client's MCP configuration:
{
  "mcpServers": {
    "research-methods": {
      "url": "https://research-methods-mcp.vercel.app/mcp"
    }
  }
}

Example queries

Study design

"States raised the minimum wage in different years. How do I estimate the effect on teen employment?"

Implementation

"Give me Python code for a regression discontinuity with a data-driven bandwidth."

Identifying assumptions

"What could break my synthetic control estimate, and how do I test for it?"

Citation

"Write my methods section and give me BibTeX for the sources."

Tools

choose_method
Matches a research question to methods, with assumptions, R and Python packages, and readings.
search and fetch
Find and read sections, with code and links. Compatible with ChatGPT deep research.
get_code
Runnable R, Python, or Julia code for a task.
cite
References in APA, Chicago, MLA, Harvard, BibTeX, or RIS for the sections consulted.
list_sources
The works in the library: textbooks, R packages, and research articles.

Sources

A Guide on Data Analysis

Data analysis, econometrics, and causal inference in R: regression, GLMs, mixed models, experiments, difference-in-differences, synthetic control, regression discontinuity, instrumental variables, matching, double machine learning, mediation, sensitivity analysis, and structural IO.

Bash, Python, R · 1,634 sections

causalverse: The All-in-One Causal Inference Toolkit

R package for the full causal inference pipeline: RCTs and power, DiD and staggered adoption, synthetic DiD, synthetic control, RD, IV, event studies, matching, heterogeneous effects, mediation, sensitivity, and publication-ready output. Vignettes plus a function reference.

R · 1,187 sections

regsensitivity: Regression Sensitivity Analysis for Omitted Variable Bias

R package (on CRAN) for sensitivity analysis of regression coefficients to omitted variables when the controls may themselves be endogenous: the identified set and breakdown point of Diegert, Masten and Poirier (rxbar, rybar, cbar), Oster's (2019) delta and R-squared bounds, Masten and Poirier's maximum-bias constraint, breakdown frontiers, clustered bootstrap intervals on the breakdown point, ggplot2 plots, and a crosswalk from the Stata regsensitivity command. Vignettes plus a function reference.

R · 113 sections

Credit Scoring: Theory, Methods, and Practice

Executable handbook on credit scoring in Python: scorecards, PD models, survival and time-to-default, reject inference, gradient boosting, deep learning, explainability, fairness, regulation (Basel, IFRS 9, CECL), and production deployment.

Bash, Python · 2,640 sections

Marketing Research: A Technical and Academic Treatment

Marketing research constructs, substantive domains (branding, advertising, pricing, CLV, influencer marketing, privacy), and methods (metrics, measurement, empirical and structural models) with reproducible R code.

Python, R · 2,062 sections

AI in Action: A Reference for Artificial Intelligence

Implementation-first reference for modern AI in Python: foundations, machine learning, deep learning, large language models, retrieval-augmented generation, and AI agents.

Bash, Julia, Python · 6,266 sections

Advanced Data Analysis

Prediction-focused companion to A Guide on Data Analysis, in R: machine learning, tree ensembles, regularization, deep learning, reinforcement learning, model evaluation and interpretation, MLOps, and applications of large language models.

Bash, Python, R · 1,834 sections

Applying Tidy Finance with Python to Vietnam

Empirical finance and asset pricing with Python on Vietnamese market data: data access and cleaning, returns, CAPM and factor models, portfolio sorts, Fama-MacBeth regressions, and fixed income.

Python · 1,331 sections

Tài Chính Ứng Dụng với Python

Vietnamese edition of Applying Tidy Finance with Python to Vietnam: empirical finance and asset pricing with Python on Vietnamese market data.

Python · 1,310 sections

Social Science Theory: A Field Guide to the Theories, Effects, and Frameworks Behind Research and Business

150+ social science theories and 200+ entries in all across management, strategy, marketing, finance, economics, psychology, and sociology: theory cards, mechanisms, evidence and critiques, business cases, and sample research hypotheses (signaling, agency, RBV, prospect theory, social identity, diffusion of innovations, and more).

R · 1,118 sections

Meta-Analysis: A Practical and Modern Guide with R

Research synthesis in R: systematic review workflow and PRISMA, effect sizes and conversions, common- and random-effects models, heterogeneity and meta-regression, dependent effects (three-level, RVE, CHE), publication bias (selection models, PET-PEESE, RoBMA), sensitivity diagnostics, Bayesian and network meta-analysis, MASEM, multivariate and IPD meta-analysis, diagnostic test accuracy, pooling causal estimates, and GRADE reporting.

R · 438 sections

Research Articles and Publications

Peer-reviewed articles, Springer books, replication packages, and presentations by the author, from the ORCID record, with abstracts and DOIs.

· 7 sections