About Fganalysis MCP Server
Fganalysis MCP Server is an MCP server published by RezaJF in the Agents category: an MCP server that exposes the fganalysis R package to agentic workflows. The server is designed for tools such as ClawBio that need structured access to FinnGen lab, drug-purchase, drug-response, BLUP-slope, median pre-drug phenotype, and ATC-code-mapping workflows. Conduid read 19 tools from its source: calculate_fixed_slopes, clear_atc_mappings_cache, compute_drug_purchase_cadence, execute_r_code, generate_analysis_notebook, get_atc_code_relationships and 13 more. No package is published for it, so it installs from a source checkout.
The repository has 3 stars and 0 forks, and its last commit was on 13 May 2026. Conduid has no tagged release on record for it. Its topics include genetic and statistics.
Install
git clone https://github.com/RezaJF/fganalysis_MCP_serverTools (19)
calculate_fixed_slopesOLS per-individual slopes (BLUP-comparable baseline).clear_atc_mappings_cacheClears the in-memory ATC mapping cache.compute_drug_purchase_cadencePer-VNR purchase-interval (cadence) statistics.execute_r_codeExecutes focused R snippets with `conn` and exported `fganalysis` functions in scope.generate_analysis_notebookOptional notebook generation, requiring `google-generativeai`.get_atc_code_relationshipsExpands ATC codes and returns historical/current relationships.get_drug_purchasesCounts and previews purchases for ATC code prefixes, with optional ATC mapping.get_first_drug_purchaseReturns the first qualifying drug purchase per FINNGENID.get_lab_data_summaryCounts and previews selected OMOP lab concept IDs.get_measurements_before_drugExtracts pre-drug lab measurements (with exposed/unexposed indicators).get_median_pre_drug_valuesCreates GWAS-ready median pre-drug phenotype files.inspect_fganalysis_environmentReports R, `fganalysis`, exported-function, wrapper, and optional config status.load_atc_mappings_infoReports the active ATC mapping file metadata and preview.plot_lab_distributionWrites before/after lab-value distribution plots.plot_median_pre_drug_diagnosticsDiagnostic before/after MAD outlier removal plots.process_variance_filesInverse-rank-normalises BLUP variance files and summarises results.run_blup_analysisCalculates BLUP slopes from pre-drug longitudinal lab measurements.run_drug_response_analysisBuilds drug-response data and writes summary plots/tables.validate_fganalysis_configValidates the JSON connection config required by `connect_fgdata()`.Security checks
6 checks have not been run yet.