Research Methods Library
概要
作者による説明(英語の原文)
Research methods for AI assistants: study design guidance, R and Python code, and citations
PopNx MCPの3つの柱
この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。
- 利用者の声iレビューはまだありませんレビューは今後のステップで、アカウント機能と一緒に始まります
- 私たちの基本チェックi3項目中3項目に合格公開情報からチェック。コードはまだスキャンしていません
- 利用状況iとても新しい★ –
できること
このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。
- 接続方法: クラウドで動く
- トランスポート: Streamable HTTP
- カテゴリ: 検索・AIの記憶
インストール
使っているAIアプリを選んで、設定をコピーしてください。
インストールの前に
- 基本チェック:3項目中3項目に合格
- 作者のサーバーで動きます。あなたが頼んだ内容は、作者のサーバーを通ります。
- できること:6件(ツール) search, fetch, choose_method, get_code …
- レジストリには、入力が必要なキーは載っていません。
必要なもの
- クラウドで動くインストール不要。インターネット経由でつながります
どのアプリを使っていますか?
上でアプリを選んでください。選んだアプリを覚えておくので、次からはボタンに「…にインストール」と表示されます。
ウェブ、デスクトップ、モバイルのClaudeで使えます:
- Settings → Connectors を開く
- Add custom connector を押す
- 下のアドレスを貼り付けて Add を押す
- サインインを求められたら、作者のサービスにサインインする
https://research-methods-mcp.vercel.app/mcpターミナルでこれを実行します
claude mcp add --transport http research-methods https://research-methods-mcp.vercel.app/mcpまたは、設定を自分でコピーする
プロジェクトの .cursor/mcp.json、または ~/.cursor/mcp.json に貼り付けます
{
"mcpServers": {
"research-methods": {
"url": "https://research-methods-mcp.vercel.app/mcp"
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
または、設定を自分でコピーする
プロジェクトの .vscode/mcp.json に貼り付けます
{
"servers": {
"research-methods": {
"type": "http",
"url": "https://research-methods-mcp.vercel.app/mcp"
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
ChatGPTがつなげるのは、インターネット上のサーバーだけです:
- ウェブ版のChatGPTを開き → Settings → Connectors (Apps)
- Create または Add を押す(プランによっては、先に Advanced で Developer mode をオンにする必要があります)
- 下のアドレスを貼り付け、名前を付けて保存する
- サインインを求められたら、作者のサービスにサインインする
https://research-methods-mcp.vercel.app/mcpメニューの名前は、プランや時期によって少し違うことがあります。
選んだアプリは、この端末のCookieに保存されます。アカウントは不要です。
この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。
できること
ツールの名前と説明は、サーバーが2026年11月8日に返したそのままの内容です。書いたのは作者で、私たちではありません。プレーンテキストとして表示しています。
searchSearch 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, matc
fetchRead 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.
choose_methodRecommend 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 observa
get_codeGet 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 expla
citeFormat 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
list_sourcesList 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
基本チェックi
誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月8日にチェック
- ✓ 合格
作者とリポジトリが一致
レジストリ名は、リポジトリを所有するGitHubアカウント mikenguyen13 で確認済みです
- … 未チェック
今もメンテナンスされている
このリポジトリはまだGitHubから読み取っていません
- … 未チェック
ライセンスがある
このリポジトリはまだGitHubから読み取っていません
- ✓ 合格
エンドポイントが応答する
128ミリ秒で応答(HTTP 200)
- – 対象外
OAuthでサインイン
サインイン不要
- ✓ 合格
ツールの説明に隠れた指示がない
6件のツールの説明を読み、AIへの隠れた指示は見つかりませんでした
検索・AIの記憶のほかのサーバーとの比較i
- このカテゴリのほかの5692件のうち0%よりスターが多い
- このカテゴリのほかの5692件のうち63%より最近レジストリに公開
- 基本チェックの結果が、このカテゴリのほかの5692件のうち100%と同じかそれ以上
レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。
よくある質問
Research Methods Libraryは安全ですか?
当てはまる基本チェック3項目のうち3項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。
どんなキーやコードが必要ですか?
レジストリには必須のキーは載っていません。ただし、最初に使うときにサインインを求めるサーバーもあります。
パソコンで動きますか、それともクラウドですか?
作者のクラウドで動きます。インストール不要でインターネット経由でつながりますが、送った内容は作者のサーバーを通ります。
今もメンテナンスされていますか?
GitHubリポジトリの最終更新は–、最新バージョン(0.1.1)がレジストリに届いたのは23 日前です。
どのアプリで使えますか?
Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。URLでつながるので、リモートMCPサーバーに対応したアプリ(開発者モードのChatGPTなど)でも使えます。
代わりに使えるものは?
同じカテゴリには:Context7, Codebase Memory, Exa
代わりの候補
同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。
カードの見方:↓ 週あたりのダウンロードi★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i
Codebase Memory
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
Exa
Connect AI agents to Exa for web search, content fetching, and multi-step research.
作者のREADME
READMEを開く
作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。
Research Methods Library
A Model Context Protocol server that grounds AI assistants in methodological texts: study design recommendations, identifying assumptions, runnable R and Python code, and a citation for every source.
The Research Methods Library is a Model Context Protocol (MCP) server. Given a research question, it recommends candidate designs, states their identifying assumptions, returns runnable R and Python code, and supplies a formatted citation for every source consulted. Its index contains approximately 19,000 sections from 9 books, an R package, and the author's research articles (listed under Sources) covering causal inference, econometrics, experimental design, marketing research, credit scoring, machine learning, and artificial intelligence.
The server works with Claude, ChatGPT, Amazon Bedrock AgentCore, Cursor, Visual Studio Code, and any other MCP-compatible client. Access is free and requires no account or API key.
Installation
Endpoint: https://research-methods-mcp.vercel.app/mcp. Access is free and requires no account or API key.
| Client | Configuration |
|---|---|
| Claude (web, desktop, and mobile) | Settings → Connectors → Add custom connector; enter the endpoint |
| Claude Code | claude mcp add --transport http research-methods https://research-methods-mcp.vercel.app/mcp |
| ChatGPT | Settings → enable developer mode → add a custom connector of type MCP server with the endpoint and 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 , then agentcore deploy |
| Cursor, Visual Studio Code | Use the buttons above |
| Windsurf, Cline, Zed, and other clients | Add the following JSON to the client's MCP configuration |
{
"mcpServers": { "research-methods": { "url": "https://research-methods-mcp.vercel.app/mcp" } } }
<!-- install:end -->
Example queries
States raised the minimum wage in different years. How do I estimate the effect on teen employment?
For this query the assistant calls choose_method, which returns staggered difference-in-differences together with its scope conditions, the reason a conventional two-way fixed-effects regression can be biased when treatment effects are heterogeneous, the assumptions to verify, implementations in R (did, fixest, didimputation, HonestDiD) and Python (csdid, pyfixest, differences), and the relevant readings.
Give me Python code for a probability-of-default model with gradient boosting.
Only California passed the law and I have 30 years of state data. What can I do?
Write the methods section for my regression discontinuity and give me BibTeX for the sources.
Each response links to the specific section consulted and carries the citation of the work from which it is drawn.
Tools
| Tool | What it does |
|---|---|
choose_method | Matches a research question to methods, with when to use each, key assumptions, R and Python packages, and readings. 62 curated methods. |
search | Finds sections across all works, with links, snippets, code languages, and a citation. Compatible with ChatGPT deep research. |
fetch | Reads a section in full, with its code, link, and citation. Compatible with ChatGPT deep research. |
get_code | Runnable R, Python, or Julia code for a task, with the packages it uses. |
cite | References in APA, Chicago, MLA, Harvard, BibTeX, or RIS for the sections consulted, deduplicated by work. |
list_sources | The works in the library (textbooks, an R package, and research articles), with topics, languages, licenses, and links. |
Prompts (slash commands in clients that support them): plan_analysis, write_methods_section, explain_method. Resources: the library catalog and a table of contents for each work.
All tools are read-only. The server makes no calls to language models and stores no information about its users; see the privacy policy.
Sources
| Work | Code | Sections | Served | License |
|---|---|---|---|---|
| A Guide on Data Analysis | Python, R | 1,635 | Full text | CC BY-NC-SA 4.0 |
| causalverse: The All-in-One Causal Inference Toolkit | R | 1,163 | Full text and function reference | GPL-3.0 |
| Credit Scoring: Theory, Methods, and Practice | Python | 2,639 | Full text | CC BY 4.0 text, MIT code |
| Marketing Research: A Technical and Academic Treatment | Python, R | 1,842 | Excerpts and code; full text on the website | All rights reserved text, MIT code |
| AI in Action: A Reference for Artificial Intelligence | Julia, Python | 5,978 | Excerpts and code; full text on the website | All rights reserved |
| Advanced Data Analysis | Python, R | 1,844 | Full text | CC BY 4.0 |
| Applying Tidy Finance with Python to Vietnam | Python | 1,345 | Excerpts and code; full text on the website | All rights reserved |
| Tài Chính Ứng Dụng với Python | Python | 1,309 | Excerpts and code; full text on the website | All rights reserved |
| Machine Learning in Python | Python | 361 | Full text | CC BY-SA 4.0 |
| Social Science Theory: A Field Guide to the Theories, Effects, and Frameworks Behind Research and Business | R | 1,118 | Full text | CC BY 4.0 text, MIT code |
| Research Articles and Publications | — | 7 | Abstracts, DOIs, and citations | Publishers' terms |
Sections of *A Guide on Data Analysis* that appear in the Springer print volumes are cited as their published chapter, then the volume. For example, a section on causal inference is cited as Nguyen, M. (2025). Causal inference. In *Experimental design* (Vol. 4, pp. 7–48). Springer Cham. https://doi.org/10.1007/978-3-032-01839-7_2, in Nguyen, M. (2025). *Experimental design* (Vol. 4). Springer Cham. https://doi.org/10.1007/978-3-032-01839-7
Method
The source files of each work (.Rmd, .qmd, .Rd) are parsed into a single index of sections, code blocks, and citations. During index construction every link is verified against the published website: a section whose anchor is absent links to its chapter page, and unpublished pages are excluded. Queries are answered from the in-memory index; no database or language model is involved.
Self-hosting
docker build -t research-methods-mcp .
docker run -p 8080:8080 research-methods-mcp # http://localhost:8080/mcp
Or with Node.js: npm ci && npm run build && npm start (listens on 127.0.0.1:8787; set HOST and PORT to change). The same handler runs on Vercel through api/index.mjs and vercel.json (the hosted endpoint) and on Deno Deploy through src/deno.ts.
Development
npm ci
npm run build:index # parse the book repositories (sibling folders) into data/index.json.gz npm run build # bundle dist/stdio.js and dist/http.js npm test # end-to-end tests through real MCP clients npm run check-links # audit every link in the index against the live sites
To add a book, add an entry to sources.yml and rebuild the index. To add or tune a method, edit methods.yml; the build fails if a method points at a section that does not exist.
Citation
Users are asked to cite the works they draw on; the cite tool formats the references. To cite the server itself, see CITATION.cff.
License
The server code is MIT licensed. The content it returns keeps each work's own license, listed above and by the list_sources tool.