{"openapi":"3.0.3","info":{"title":"Gnist Context — NIH RePORTER","description":"Search 2.9M+ NIH-funded research projects — $50B+/year across all scientific disciplines. Project details, investigators, funding amounts, abstracts, and linked publications.\n\n- **MCP endpoint:** `https://context.gnist.ai/mcp/nih-reporter/`\n- **Toolkit page:** `/toolkits/nih-reporter`\n- **Full API spec:** `/api/openapi.json`\n- **Get an API key:** `/signup`","version":"1.0.0","contact":{"name":"GnistAI","url":"https://gnist.ai"}},"servers":[{"url":"https://context.gnist.ai","description":"Production"}],"paths":{"/rest/nih-reporter/search_projects":{"post":{"tags":["Science"],"summary":"search_projects","description":"Search NIH-funded research projects across all NIH institutes.\n\nCovers 2.9M+ projects with $50B+/year in funding. Includes project details,\nprincipal investigators, award amounts, and abstracts. Data from NIH RePORTER.\n\nArgs:\n    query: Search term for project titles, abstracts, and terms.\n    fiscal_years: Fiscal years to filter by.\n    org_names: Organization names to filter by.\n    pi_name: Principal investigator name to filter by.\n    activity_codes: NIH activity codes to filter by.\n    limit: Number of results (1–50, default 20).\n\nReturns:\n    List of matching projects with title, PI, organization, funding amount, and abstract excerpt.\n    Use project_num with get_project or get_publications for more details.","operationId":"nih_reporter_search_projects","responses":{"200":{"description":"Successful tool call","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"Server or tool not found"},"500":{"description":"Tool execution error"}},"security":[{"ApiKeyHeader":[]},{"ApiKeyQuery":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"query":{"description":"Search term for NIH-funded projects (e.g. \"cancer immunotherapy\", \"CRISPR gene editing\", \"Alzheimer biomarkers\").","type":"string"},"fiscal_years":{"anyOf":[{"items":{"type":"integer"},"type":"array"},{"type":"null"}],"default":null,"description":"Fiscal years to filter by (e.g. [2023, 2024]). Omit for all years."},"org_names":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"default":null,"description":"Organization names to filter by (e.g. [\"Harvard\", \"MIT\"])."},"pi_name":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Principal investigator name to filter by."},"activity_codes":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"default":null,"description":"NIH activity codes (e.g. [\"R01\", \"R21\", \"U01\"]). R01=standard research, R21=exploratory, K=career development, U=cooperative agreement, P=program project."},"limit":{"default":20,"description":"Number of results (1–50, default 20).","type":"integer"}},"required":["query"],"type":"object"}}}}}},"/rest/nih-reporter/get_project":{"post":{"tags":["Science"],"summary":"get_project","description":"Get detailed information about a specific NIH-funded project.\n\nReturns the full project record including abstract, investigators, funding,\ndates, and MeSH terms. Use the project_num from search_projects results.\n\nArgs:\n    project_num: NIH project number.\n\nReturns:\n    Project details with abstract, investigators, organization, funding amount,\n    activity dates, and research terms. Returns found=false if project not found.","operationId":"nih_reporter_get_project","responses":{"200":{"description":"Successful tool call","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"Server or tool not found"},"500":{"description":"Tool execution error"}},"security":[{"ApiKeyHeader":[]},{"ApiKeyQuery":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"project_num":{"description":"NIH project number (e.g. \"R01CA227622\", \"5R01AI123456-03\"). Found in search_projects results.","type":"string"}},"required":["project_num"],"type":"object"}}}}}},"/rest/nih-reporter/get_publications":{"post":{"tags":["Science"],"summary":"get_publications","description":"Get PubMed publications linked to an NIH-funded project.\n\nReturns PubMed IDs (PMIDs) for papers that acknowledged NIH funding from the\nspecified project. Use PMIDs with PubMed for full paper details.\n\nArgs:\n    project_num: NIH core project number.\n    limit: Number of results (1–50, default 20).\n\nReturns:\n    List of PubMed IDs linked to the project. Use with pubmed server for full paper details.","operationId":"nih_reporter_get_publications","responses":{"200":{"description":"Successful tool call","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"Server or tool not found"},"500":{"description":"Tool execution error"}},"security":[{"ApiKeyHeader":[]},{"ApiKeyQuery":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"project_num":{"description":"NIH core project number (e.g. \"R01CA227622\"). Found in search_projects results.","type":"string"},"limit":{"default":20,"description":"Number of results (1–50, default 20).","type":"integer"}},"required":["project_num"],"type":"object"}}}}}},"/rest/nih-reporter/get_funding_trends":{"post":{"tags":["Science"],"summary":"get_funding_trends","description":"Track NIH funding trends for a research topic across fiscal years.\n\nShows how many projects were funded and total sampled award amounts for each year.\nUseful for understanding research funding priorities and growth areas.\n\nArgs:\n    query: Research topic to track.\n    fiscal_years: Fiscal years to compare.\n\nReturns:\n    Per-year project counts and sampled funding totals. Note: funding totals are\n    based on up to 500 sampled projects per year, not exhaustive sums.","operationId":"nih_reporter_get_funding_trends","responses":{"200":{"description":"Successful tool call","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"Server or tool not found"},"500":{"description":"Tool execution error"}},"security":[{"ApiKeyHeader":[]},{"ApiKeyQuery":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"query":{"description":"Research topic to track funding for (e.g. \"machine learning\", \"mRNA vaccines\", \"climate health\").","type":"string"},"fiscal_years":{"description":"Fiscal years to compare (e.g. [2020, 2021, 2022, 2023, 2024]). Minimum 1, maximum 20.","items":{"type":"integer"},"type":"array"}},"required":["query","fiscal_years"],"type":"object"}}}}}},"/rest/nih-reporter/report_feedback":{"post":{"tags":["Science"],"summary":"report_feedback","description":"Report a bug, feature request, or general feedback for this data source.\n\nUse this when something doesn't work as expected, when you'd like\na new feature, or when you have suggestions for improvement.\n\nArgs:\n    feedback: Describe the issue or suggestion.\n    feedback_type: One of 'bug', 'feature_request', or 'general'.","operationId":"nih_reporter_report_feedback","responses":{"200":{"description":"Successful tool call","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"Server or tool not found"},"500":{"description":"Tool execution error"}},"security":[{"ApiKeyHeader":[]},{"ApiKeyQuery":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"feedback":{"type":"string"},"feedback_type":{"default":"general","type":"string"}},"required":["feedback"],"type":"object"}}}}}}},"tags":[{"name":"Science","description":"Data sources: Science"}],"components":{"securitySchemes":{"ApiKeyHeader":{"type":"apiKey","in":"header","name":"gnist-api-key","description":"API key passed via request header."},"ApiKeyQuery":{"type":"apiKey","in":"query","name":"gnist_api_key","description":"API key passed via query parameter."}}}}