<?xml version="1.0" encoding="US-ASCII"?>
<!--XBRL Document Created with Wdesk from Workiva-->
<!-- -->
<link:linkbase xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd" xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:xbrldt="http://xbrl.org/2005/xbrldt" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <link:roleRef roleURI="http://www.mongodb.com/role/AcquiredIntangibleAssetsNet" xlink:href="mdb-20180131.xsd#AcquiredIntangibleAssetsNet" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/AcquiredIntangibleAssetsNetAdditionalInformationDetails" xlink:href="mdb-20180131.xsd#AcquiredIntangibleAssetsNetAdditionalInformationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/AcquiredIntangibleAssetsNetFutureAmortizationExpenseDetails" xlink:href="mdb-20180131.xsd#AcquiredIntangibleAssetsNetFutureAmortizationExpenseDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/AcquiredIntangibleAssetsNetScheduleOfIntangibleAssetsDetails" xlink:href="mdb-20180131.xsd#AcquiredIntangibleAssetsNetScheduleOfIntangibleAssetsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/AcquiredIntangibleAssetsNetTables" xlink:href="mdb-20180131.xsd#AcquiredIntangibleAssetsNetTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/CommitmentsAndContingencies" xlink:href="mdb-20180131.xsd#CommitmentsAndContingencies" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/CommitmentsAndContingenciesAdditionalInformationDetails" xlink:href="mdb-20180131.xsd#CommitmentsAndContingenciesAdditionalInformationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/CommitmentsAndContingenciesFutureMinimumOperatingLeaseAndOtherNonCancellableAgreementPaymentsDetails" xlink:href="mdb-20180131.xsd#CommitmentsAndContingenciesFutureMinimumOperatingLeaseAndOtherNonCancellableAgreementPaymentsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/CommitmentsAndContingenciesTables" xlink:href="mdb-20180131.xsd#CommitmentsAndContingenciesTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/ConsolidatedBalanceSheets" xlink:href="mdb-20180131.xsd#ConsolidatedBalanceSheets" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/ConsolidatedBalanceSheetsParenthetical" xlink:href="mdb-20180131.xsd#ConsolidatedBalanceSheetsParenthetical" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/ConsolidatedStatementOfRedeemableConvertiblePreferredStockAndStockholdersEquityDeficit" xlink:href="mdb-20180131.xsd#ConsolidatedStatementOfRedeemableConvertiblePreferredStockAndStockholdersEquityDeficit" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/ConsolidatedStatementOfRedeemableConvertiblePreferredStockAndStockholdersEquityDeficitParenthetical" xlink:href="mdb-20180131.xsd#ConsolidatedStatementOfRedeemableConvertiblePreferredStockAndStockholdersEquityDeficitParenthetical" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/ConsolidatedStatementsOfCashFlows" xlink:href="mdb-20180131.xsd#ConsolidatedStatementsOfCashFlows" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/ConsolidatedStatementsOfComprehensiveLoss" xlink:href="mdb-20180131.xsd#ConsolidatedStatementsOfComprehensiveLoss" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/ConsolidatedStatementsOfOperations" xlink:href="mdb-20180131.xsd#ConsolidatedStatementsOfOperations" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/DocumentAndEntityInformationDocument" xlink:href="mdb-20180131.xsd#DocumentAndEntityInformationDocument" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/EquityIncentivePlans" xlink:href="mdb-20180131.xsd#EquityIncentivePlans" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/EquityIncentivePlans2008And2016StockPlanDetails" xlink:href="mdb-20180131.xsd#EquityIncentivePlans2008And2016StockPlanDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/EquityIncentivePlans2016ChinaStockAppreciationRightsPlanDetails" xlink:href="mdb-20180131.xsd#EquityIncentivePlans2016ChinaStockAppreciationRightsPlanDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/EquityIncentivePlans2017EmployeeStockPurchasePlanDetails" xlink:href="mdb-20180131.xsd#EquityIncentivePlans2017EmployeeStockPurchasePlanDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/EquityIncentivePlansEarlyExerciseOfStockOptionsDetails" xlink:href="mdb-20180131.xsd#EquityIncentivePlansEarlyExerciseOfStockOptionsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/EquityIncentivePlansScheduleOfEsppValuationAssumptionsDetails" xlink:href="mdb-20180131.xsd#EquityIncentivePlansScheduleOfEsppValuationAssumptionsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/EquityIncentivePlansScheduleOfStockOptionActivityDetails" xlink:href="mdb-20180131.xsd#EquityIncentivePlansScheduleOfStockOptionActivityDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/EquityIncentivePlansScheduleOfStockOptionValuationAssumptionsDetails" xlink:href="mdb-20180131.xsd#EquityIncentivePlansScheduleOfStockOptionValuationAssumptionsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/EquityIncentivePlansStockBasedCompensationExpenseRecognizedInStatementOfOperationsDetails" xlink:href="mdb-20180131.xsd#EquityIncentivePlansStockBasedCompensationExpenseRecognizedInStatementOfOperationsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/EquityIncentivePlansStockOptionRepricingDetails" xlink:href="mdb-20180131.xsd#EquityIncentivePlansStockOptionRepricingDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/EquityIncentivePlansStockOptionsAndRestrictedStockUnitsAdditionalInformationDetails" xlink:href="mdb-20180131.xsd#EquityIncentivePlansStockOptionsAndRestrictedStockUnitsAdditionalInformationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/EquityIncentivePlansTables" xlink:href="mdb-20180131.xsd#EquityIncentivePlansTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/FairValueMeasurements" xlink:href="mdb-20180131.xsd#FairValueMeasurements" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/FairValueMeasurementsScheduleOfFinancialAssetsAndLiabilitiesMeasuredAtFairValueDetails" xlink:href="mdb-20180131.xsd#FairValueMeasurementsScheduleOfFinancialAssetsAndLiabilitiesMeasuredAtFairValueDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/FairValueMeasurementsScheduleOfReconciliationOfRedeemableConvertiblePreferredStockWarrantLiabilityDetails" xlink:href="mdb-20180131.xsd#FairValueMeasurementsScheduleOfReconciliationOfRedeemableConvertiblePreferredStockWarrantLiabilityDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/FairValueMeasurementsTables" xlink:href="mdb-20180131.xsd#FairValueMeasurementsTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/IncomeTaxes" xlink:href="mdb-20180131.xsd#IncomeTaxes" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/IncomeTaxesAdditionalInformationDetails" xlink:href="mdb-20180131.xsd#IncomeTaxesAdditionalInformationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/IncomeTaxesScheduleOfComponentsOfLossBeforeProvisionForIncomeTaxesDetails" xlink:href="mdb-20180131.xsd#IncomeTaxesScheduleOfComponentsOfLossBeforeProvisionForIncomeTaxesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/IncomeTaxesScheduleOfComponentsOfProvisionForIncomeTaxDetails" xlink:href="mdb-20180131.xsd#IncomeTaxesScheduleOfComponentsOfProvisionForIncomeTaxDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/IncomeTaxesScheduleOfDeferredTaxAssetsAndLiabilitiesDetails" xlink:href="mdb-20180131.xsd#IncomeTaxesScheduleOfDeferredTaxAssetsAndLiabilitiesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/IncomeTaxesScheduleOfEffectiveIncomeTaxRateDetails" xlink:href="mdb-20180131.xsd#IncomeTaxesScheduleOfEffectiveIncomeTaxRateDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/IncomeTaxesScheduleOfUnrecognizedTaxBenefitsDetails" xlink:href="mdb-20180131.xsd#IncomeTaxesScheduleOfUnrecognizedTaxBenefitsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/IncomeTaxesTables" xlink:href="mdb-20180131.xsd#IncomeTaxesTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/NetLossPerShareAttributableToCommonStockholders" xlink:href="mdb-20180131.xsd#NetLossPerShareAttributableToCommonStockholders" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/NetLossPerShareAttributableToCommonStockholdersScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfDilutedNetLossPerShareDetails" xlink:href="mdb-20180131.xsd#NetLossPerShareAttributableToCommonStockholdersScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfDilutedNetLossPerShareDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/NetLossPerShareAttributableToCommonStockholdersScheduleOfBasicAndDilutedEarningsLossPerShareDetails" xlink:href="mdb-20180131.xsd#NetLossPerShareAttributableToCommonStockholdersScheduleOfBasicAndDilutedEarningsLossPerShareDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/NetLossPerShareAttributableToCommonStockholdersTables" xlink:href="mdb-20180131.xsd#NetLossPerShareAttributableToCommonStockholdersTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/OrganizationAndDescriptionOfBusiness" xlink:href="mdb-20180131.xsd#OrganizationAndDescriptionOfBusiness" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/OrganizationAndDescriptionOfBusinessInitialPublicOfferingDetails" xlink:href="mdb-20180131.xsd#OrganizationAndDescriptionOfBusinessInitialPublicOfferingDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/OrganizationAndDescriptionOfBusinessReverseStockSplitDetails" xlink:href="mdb-20180131.xsd#OrganizationAndDescriptionOfBusinessReverseStockSplitDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/PropertyAndEquipmentNet" xlink:href="mdb-20180131.xsd#PropertyAndEquipmentNet" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/PropertyAndEquipmentNetAdditionalInformationDetails" xlink:href="mdb-20180131.xsd#PropertyAndEquipmentNetAdditionalInformationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/PropertyAndEquipmentNetScheduleDetails" xlink:href="mdb-20180131.xsd#PropertyAndEquipmentNetScheduleDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/PropertyAndEquipmentNetTables" xlink:href="mdb-20180131.xsd#PropertyAndEquipmentNetTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/SegmentsAndGeographicRevenue" xlink:href="mdb-20180131.xsd#SegmentsAndGeographicRevenue" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/SegmentsAndGeographicRevenueAdditionalInformationDetails" xlink:href="mdb-20180131.xsd#SegmentsAndGeographicRevenueAdditionalInformationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/SegmentsAndGeographicRevenueScheduleOfTotalRevenueByGeographicAreasDetails" xlink:href="mdb-20180131.xsd#SegmentsAndGeographicRevenueScheduleOfTotalRevenueByGeographicAreasDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/SegmentsAndGeographicRevenueTables" xlink:href="mdb-20180131.xsd#SegmentsAndGeographicRevenueTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/StockholdersEquityDeficit" xlink:href="mdb-20180131.xsd#StockholdersEquityDeficit" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/StockholdersEquityDeficitDetails" xlink:href="mdb-20180131.xsd#StockholdersEquityDeficitDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/SummaryOfSignificantAccountingPolicies" xlink:href="mdb-20180131.xsd#SummaryOfSignificantAccountingPolicies" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/SummaryOfSignificantAccountingPoliciesAdvertisingDetails" xlink:href="mdb-20180131.xsd#SummaryOfSignificantAccountingPoliciesAdvertisingDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/SummaryOfSignificantAccountingPoliciesCapitalizedSoftwareCostsDetails" xlink:href="mdb-20180131.xsd#SummaryOfSignificantAccountingPoliciesCapitalizedSoftwareCostsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/SummaryOfSignificantAccountingPoliciesDeferredCommissionsAndCommissionsExpenseDetails" xlink:href="mdb-20180131.xsd#SummaryOfSignificantAccountingPoliciesDeferredCommissionsAndCommissionsExpenseDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/SummaryOfSignificantAccountingPoliciesLongLivedAssetsIncludingGoodwillAndOtherAcquiredIntangibleAssetsDetails" xlink:href="mdb-20180131.xsd#SummaryOfSignificantAccountingPoliciesLongLivedAssetsIncludingGoodwillAndOtherAcquiredIntangibleAssetsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/SummaryOfSignificantAccountingPoliciesMarketableSecuritiesDetails" xlink:href="mdb-20180131.xsd#SummaryOfSignificantAccountingPoliciesMarketableSecuritiesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/SummaryOfSignificantAccountingPoliciesPolicies" xlink:href="mdb-20180131.xsd#SummaryOfSignificantAccountingPoliciesPolicies" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/SummaryOfSignificantAccountingPoliciesRecentlyAdoptedAccountingPronouncementsDetails" xlink:href="mdb-20180131.xsd#SummaryOfSignificantAccountingPoliciesRecentlyAdoptedAccountingPronouncementsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/SummaryOfSignificantAccountingPoliciesRelatedPartyTransactionsDetails" xlink:href="mdb-20180131.xsd#SummaryOfSignificantAccountingPoliciesRelatedPartyTransactionsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/SummaryOfSignificantAccountingPoliciesRestrictedCashDetails" xlink:href="mdb-20180131.xsd#SummaryOfSignificantAccountingPoliciesRestrictedCashDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/SummaryOfSignificantAccountingPoliciesScheduleOfPropertyPlantAndEquipmentUsefulLivesDetails" xlink:href="mdb-20180131.xsd#SummaryOfSignificantAccountingPoliciesScheduleOfPropertyPlantAndEquipmentUsefulLivesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/SummaryOfSignificantAccountingPoliciesSegmentInformationDetails" xlink:href="mdb-20180131.xsd#SummaryOfSignificantAccountingPoliciesSegmentInformationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/SummaryOfSignificantAccountingPoliciesTables" xlink:href="mdb-20180131.xsd#SummaryOfSignificantAccountingPoliciesTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/Warrants" xlink:href="mdb-20180131.xsd#Warrants" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/WarrantsDetails" xlink:href="mdb-20180131.xsd#WarrantsDetails" xlink:type="simple" />
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/all" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#all" xlink:type="simple" />
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#dimension-default" xlink:type="simple" />
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#dimension-domain" xlink:type="simple" />
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/domain-member" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#domain-member" xlink:type="simple" />
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#hypercube-dimension" xlink:type="simple" />
  <link:definitionLink xlink:role="http://www.mongodb.com/role/AcquiredIntangibleAssetsNet" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.mongodb.com/role/AcquiredIntangibleAssetsNetAdditionalInformationDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AcquiredFiniteLivedIntangibleAssetsLineItems" xlink:label="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsLineItems_8B2A8902A593B9EF94BCFE405B1410BB" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfAcquiredFiniteLivedIntangibleAssetByMajorClassTable" xlink:label="loc_us-gaap_ScheduleOfAcquiredFiniteLivedIntangibleAssetByMajorClassTable_D832E956376CF33FA661FE405B1368D4" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsLineItems_8B2A8902A593B9EF94BCFE405B1410BB" xlink:to="loc_us-gaap_ScheduleOfAcquiredFiniteLivedIntangibleAssetByMajorClassTable_D832E956376CF33FA661FE405B1368D4" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_E4ED9AD9ED0B38A8B28FFE405B146B36" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAcquiredFiniteLivedIntangibleAssetByMajorClassTable_D832E956376CF33FA661FE405B1368D4" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_E4ED9AD9ED0B38A8B28FFE405B146B36" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_D0EA2001DA34D3BC95A5FE405B14A567_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_E4ED9AD9ED0B38A8B28FFE405B146B36" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_D0EA2001DA34D3BC95A5FE405B14A567_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_D0EA2001DA34D3BC95A5FE405B14A567" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_E4ED9AD9ED0B38A8B28FFE405B146B36" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_D0EA2001DA34D3BC95A5FE405B14A567" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DevelopedTechnologyRightsMember" xlink:label="loc_us-gaap_DevelopedTechnologyRightsMember_D429B2705C6644923BB1FE405B14D94D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_D0EA2001DA34D3BC95A5FE405B14A567" xlink:to="loc_us-gaap_DevelopedTechnologyRightsMember_D429B2705C6644923BB1FE405B14D94D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InternetDomainNamesMember" xlink:label="loc_us-gaap_InternetDomainNamesMember_27D351EBFB3B4B015595FE405B140738" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_D0EA2001DA34D3BC95A5FE405B14A567" xlink:to="loc_us-gaap_InternetDomainNamesMember_27D351EBFB3B4B015595FE405B140738" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife" xlink:label="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife_0DE4323DF723E1B590B7FE405B148D5C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsLineItems_8B2A8902A593B9EF94BCFE405B1410BB" xlink:to="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife_0DE4323DF723E1B590B7FE405B148D5C" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/AcquiredIntangibleAssetsNetFutureAmortizationExpenseDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.mongodb.com/role/AcquiredIntangibleAssetsNetScheduleOfIntangibleAssetsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AcquiredFiniteLivedIntangibleAssetsLineItems" xlink:label="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsLineItems_D7260953B6A13D6B8855E34D8C6EBE4A" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfAcquiredFiniteLivedIntangibleAssetByMajorClassTable" xlink:label="loc_us-gaap_ScheduleOfAcquiredFiniteLivedIntangibleAssetByMajorClassTable_00F5C3DE2A460C8A94A8E34D8C6D074B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsLineItems_D7260953B6A13D6B8855E34D8C6EBE4A" xlink:to="loc_us-gaap_ScheduleOfAcquiredFiniteLivedIntangibleAssetByMajorClassTable_00F5C3DE2A460C8A94A8E34D8C6D074B" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_2B716800D6B7586AA6C9E34D8C6DA150" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAcquiredFiniteLivedIntangibleAssetByMajorClassTable_00F5C3DE2A460C8A94A8E34D8C6D074B" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_2B716800D6B7586AA6C9E34D8C6DA150" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_3AF79F3D79D8759F19B2E34D8C6EFF2C_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_2B716800D6B7586AA6C9E34D8C6DA150" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_3AF79F3D79D8759F19B2E34D8C6EFF2C_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_3AF79F3D79D8759F19B2E34D8C6EFF2C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_2B716800D6B7586AA6C9E34D8C6DA150" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_3AF79F3D79D8759F19B2E34D8C6EFF2C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DevelopedTechnologyRightsMember" xlink:label="loc_us-gaap_DevelopedTechnologyRightsMember_258186B78946769D0618E34E05D64CDC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_3AF79F3D79D8759F19B2E34D8C6EFF2C" xlink:to="loc_us-gaap_DevelopedTechnologyRightsMember_258186B78946769D0618E34E05D64CDC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InternetDomainNamesMember" xlink:label="loc_us-gaap_InternetDomainNamesMember_84F6ADCE5CC1266667F0E34E52518D52" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_3AF79F3D79D8759F19B2E34D8C6EFF2C" xlink:to="loc_us-gaap_InternetDomainNamesMember_84F6ADCE5CC1266667F0E34E52518D52" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsGross" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsGross_7E0C1A69B0B721A62B22E34F8E83A334" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsLineItems_D7260953B6A13D6B8855E34D8C6EBE4A" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsGross_7E0C1A69B0B721A62B22E34F8E83A334" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_510175DA6D6696A3EE21E34FA4A29886" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsLineItems_D7260953B6A13D6B8855E34D8C6EBE4A" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_510175DA6D6696A3EE21E34FA4A29886" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsNet" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_9DC85FE5BE73500B7EC1E34FD18F48FF" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsLineItems_D7260953B6A13D6B8855E34D8C6EBE4A" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsNet_9DC85FE5BE73500B7EC1E34FD18F48FF" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/AcquiredIntangibleAssetsNetTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.mongodb.com/role/CommitmentsAndContingencies" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.mongodb.com/role/CommitmentsAndContingenciesAdditionalInformationDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LossContingenciesLineItems" xlink:label="loc_us-gaap_LossContingenciesLineItems_E469BFB61F104025A0E73FD82EB5B513" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LossContingenciesTable" xlink:label="loc_us-gaap_LossContingenciesTable_677BEFBE01D77F95047D3FD82EB32719" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_LossContingenciesLineItems_E469BFB61F104025A0E73FD82EB5B513" xlink:to="loc_us-gaap_LossContingenciesTable_677BEFBE01D77F95047D3FD82EB32719" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LeaseArrangementTypeAxis" xlink:label="loc_us-gaap_LeaseArrangementTypeAxis_CBA1B57E3A087CCFB0E83FD82EB3346E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LossContingenciesTable_677BEFBE01D77F95047D3FD82EB32719" xlink:to="loc_us-gaap_LeaseArrangementTypeAxis_CBA1B57E3A087CCFB0E83FD82EB3346E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LeaseArrangementTypeDomain" xlink:label="loc_us-gaap_LeaseArrangementTypeDomain_7A229E791558822F0BAC3FD82EB4DB25_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LeaseArrangementTypeAxis_CBA1B57E3A087CCFB0E83FD82EB3346E" xlink:to="loc_us-gaap_LeaseArrangementTypeDomain_7A229E791558822F0BAC3FD82EB4DB25_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LeaseArrangementTypeDomain" xlink:label="loc_us-gaap_LeaseArrangementTypeDomain_7A229E791558822F0BAC3FD82EB4DB25" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LeaseArrangementTypeAxis_CBA1B57E3A087CCFB0E83FD82EB3346E" xlink:to="loc_us-gaap_LeaseArrangementTypeDomain_7A229E791558822F0BAC3FD82EB4DB25" xlink:type="arc" />
    <link:loc xlink:href="mdb-20180131.xsd#mdb_OperatingLeaseinNewYorkMember" xlink:label="loc_mdb_OperatingLeaseinNewYorkMember_52ABA066E9DF170EF9A93FD82EB47136" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LeaseArrangementTypeDomain_7A229E791558822F0BAC3FD82EB4DB25" xlink:to="loc_mdb_OperatingLeaseinNewYorkMember_52ABA066E9DF170EF9A93FD82EB47136" xlink:type="arc" />
    <link:loc xlink:href="mdb-20180131.xsd#mdb_OperatingLeaseinTexasMember" xlink:label="loc_mdb_OperatingLeaseinTexasMember_97C609CBD8EBBF9CE2083FD82EB47D7E" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LeaseArrangementTypeDomain_7A229E791558822F0BAC3FD82EB4DB25" xlink:to="loc_mdb_OperatingLeaseinTexasMember_97C609CBD8EBBF9CE2083FD82EB47D7E" xlink:type="arc" />
    <link:loc xlink:href="mdb-20180131.xsd#mdb_OperatingLeaseinAustraliaMember" xlink:label="loc_mdb_OperatingLeaseinAustraliaMember_921837678F081691C2AE3FD82EB4CF41" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LeaseArrangementTypeDomain_7A229E791558822F0BAC3FD82EB4DB25" xlink:to="loc_mdb_OperatingLeaseinAustraliaMember_921837678F081691C2AE3FD82EB4CF41" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherCommitmentsAxis" xlink:label="loc_us-gaap_OtherCommitmentsAxis_CD64752D895020F56AB33FD82EB4A453" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LossContingenciesTable_677BEFBE01D77F95047D3FD82EB32719" xlink:to="loc_us-gaap_OtherCommitmentsAxis_CD64752D895020F56AB33FD82EB4A453" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherCommitmentsDomain" xlink:label="loc_us-gaap_OtherCommitmentsDomain_39418C8BF1F3DDD813983FD82EB4E447_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_OtherCommitmentsAxis_CD64752D895020F56AB33FD82EB4A453" xlink:to="loc_us-gaap_OtherCommitmentsDomain_39418C8BF1F3DDD813983FD82EB4E447_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherCommitmentsDomain" xlink:label="loc_us-gaap_OtherCommitmentsDomain_39418C8BF1F3DDD813983FD82EB4E447" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_OtherCommitmentsAxis_CD64752D895020F56AB33FD82EB4A453" xlink:to="loc_us-gaap_OtherCommitmentsDomain_39418C8BF1F3DDD813983FD82EB4E447" xlink:type="arc" />
    <link:loc xlink:href="mdb-20180131.xsd#mdb_EnterprisePartnershipArrangementMember" xlink:label="loc_mdb_EnterprisePartnershipArrangementMember_87E3E5CF963E552482623FD82EB459C5" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherCommitmentsDomain_39418C8BF1F3DDD813983FD82EB4E447" xlink:to="loc_mdb_EnterprisePartnershipArrangementMember_87E3E5CF963E552482623FD82EB459C5" xlink:type="arc" />
    <link:loc xlink:href="mdb-20180131.xsd#mdb_EnterprisePartnershipArrangementNonCancelableCommitmentMember" xlink:label="loc_mdb_EnterprisePartnershipArrangementNonCancelableCommitmentMember_4F983EEFAA883E66449B3FD82EB415FB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mdb_EnterprisePartnershipArrangementMember_87E3E5CF963E552482623FD82EB459C5" xlink:to="loc_mdb_EnterprisePartnershipArrangementNonCancelableCommitmentMember_4F983EEFAA883E66449B3FD82EB415FB" xlink:type="arc" />
    <link:loc xlink:href="mdb-20180131.xsd#mdb_EnterprisePartnershipArrangementCapacityCommitmentsMember" xlink:label="loc_mdb_EnterprisePartnershipArrangementCapacityCommitmentsMember_67B5C819E05F919A41493FD82EB50234" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mdb_EnterprisePartnershipArrangementMember_87E3E5CF963E552482623FD82EB459C5" xlink:to="loc_mdb_EnterprisePartnershipArrangementCapacityCommitmentsMember_67B5C819E05F919A41493FD82EB50234" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LettersOfCreditOutstandingAmount" xlink:label="loc_us-gaap_LettersOfCreditOutstandingAmount_E56A70A4D9D63DE9684B3FD82EB5A477" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_E469BFB61F104025A0E73FD82EB5B513" xlink:to="loc_us-gaap_LettersOfCreditOutstandingAmount_E56A70A4D9D63DE9684B3FD82EB5A477" xlink:type="arc" />
    <link:loc xlink:href="mdb-20180131.xsd#mdb_OperatingLeasesNetRentableArea" xlink:label="loc_mdb_OperatingLeasesNetRentableArea_8FBB51062397D348848C3FD82EB5801C" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_E469BFB61F104025A0E73FD82EB5B513" xlink:to="loc_mdb_OperatingLeasesNetRentableArea_8FBB51062397D348848C3FD82EB5801C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LesseeLeasingArrangementsOperatingLeasesTermOfContract" xlink:label="loc_us-gaap_LesseeLeasingArrangementsOperatingLeasesTermOfContract_62FE760FFB52E39E6D2D3FD82EB5A727" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_E469BFB61F104025A0E73FD82EB5B513" xlink:to="loc_us-gaap_LesseeLeasingArrangementsOperatingLeasesTermOfContract_62FE760FFB52E39E6D2D3FD82EB5A727" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OperatingLeasesRentExpenseMinimumRentals" xlink:label="loc_us-gaap_OperatingLeasesRentExpenseMinimumRentals_3E62DE64A47D7821D7283FD82EB65D63" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_E469BFB61F104025A0E73FD82EB5B513" xlink:to="loc_us-gaap_OperatingLeasesRentExpenseMinimumRentals_3E62DE64A47D7821D7283FD82EB65D63" xlink:type="arc" />
    <link:loc xlink:href="mdb-20180131.xsd#mdb_OperatingLeasesRentExpensePeriodPaymentsBeginAfterDeliveryOfPremises" xlink:label="loc_mdb_OperatingLeasesRentExpensePeriodPaymentsBeginAfterDeliveryOfPremises_C858A7D7F99DB38E906B3FD82EB66D37" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_E469BFB61F104025A0E73FD82EB5B513" xlink:to="loc_mdb_OperatingLeasesRentExpensePeriodPaymentsBeginAfterDeliveryOfPremises_C858A7D7F99DB38E906B3FD82EB66D37" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherCommitment" xlink:label="loc_us-gaap_OtherCommitment_0A6CD37E080775290E273FD82EB50242" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_E469BFB61F104025A0E73FD82EB5B513" xlink:to="loc_us-gaap_OtherCommitment_0A6CD37E080775290E273FD82EB50242" xlink:type="arc" />
    <link:loc xlink:href="mdb-20180131.xsd#mdb_OtherCommitmentPeriod" xlink:label="loc_mdb_OtherCommitmentPeriod_11BD4F9FC9F13A27FC7F3FD82EB5CCFD" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_E469BFB61F104025A0E73FD82EB5B513" xlink:to="loc_mdb_OtherCommitmentPeriod_11BD4F9FC9F13A27FC7F3FD82EB5CCFD" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/CommitmentsAndContingenciesFutureMinimumOperatingLeaseAndOtherNonCancellableAgreementPaymentsDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.mongodb.com/role/CommitmentsAndContingenciesTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.mongodb.com/role/ConsolidatedBalanceSheets" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaap_StatementLineItems_673006EC14876F26A01C698733061642" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaap_StatementTable_BA0A8255D8CB619114BA6987330604AB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_673006EC14876F26A01C698733061642" xlink:to="loc_us-gaap_StatementTable_BA0A8255D8CB619114BA6987330604AB" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementClassOfStockAxis" xlink:label="loc_us-gaap_StatementClassOfStockAxis_08B171234B31A3B60C63698733069E1B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_BA0A8255D8CB619114BA6987330604AB" xlink:to="loc_us-gaap_StatementClassOfStockAxis_08B171234B31A3B60C63698733069E1B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_698B83EB4CE5452745DB6987330629F6_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_08B171234B31A3B60C63698733069E1B" xlink:to="loc_us-gaap_ClassOfStockDomain_698B83EB4CE5452745DB6987330629F6_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_698B83EB4CE5452745DB6987330629F6" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_08B171234B31A3B60C63698733069E1B" xlink:to="loc_us-gaap_ClassOfStockDomain_698B83EB4CE5452745DB6987330629F6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CommonClassAMember" xlink:label="loc_us-gaap_CommonClassAMember_F9E096C4D4D091FD870A698733063033" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_698B83EB4CE5452745DB6987330629F6" xlink:to="loc_us-gaap_CommonClassAMember_F9E096C4D4D091FD870A698733063033" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CommonClassBMember" xlink:label="loc_us-gaap_CommonClassBMember_1E0EF377BE37885B115D69873306E9CA" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_698B83EB4CE5452745DB6987330629F6" xlink:to="loc_us-gaap_CommonClassBMember_1E0EF377BE37885B115D69873306E9CA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AssetsAbstract" xlink:label="loc_us-gaap_AssetsAbstract_4B098C0C03F4EBACD32669873306A38B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_673006EC14876F26A01C698733061642" xlink:to="loc_us-gaap_AssetsAbstract_4B098C0C03F4EBACD32669873306A38B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AssetsCurrentAbstract" xlink:label="loc_us-gaap_AssetsCurrentAbstract_3035BEB06B50563D852469873307B97C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_4B098C0C03F4EBACD32669873306A38B" xlink:to="loc_us-gaap_AssetsCurrentAbstract_3035BEB06B50563D852469873307B97C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_800DF369EC79AF9CAC0869873307F674" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_3035BEB06B50563D852469873307B97C" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_800DF369EC79AF9CAC0869873307F674" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecuritiesCurrent" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecuritiesCurrent_3E0EDF2031A5FC5D8E4F6987330753C2" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_3035BEB06B50563D852469873307B97C" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecuritiesCurrent_3E0EDF2031A5FC5D8E4F6987330753C2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccountsReceivableNetCurrent" xlink:label="loc_us-gaap_AccountsReceivableNetCurrent_A86C4AE2DA49D4AF6E7F698733071899" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_3035BEB06B50563D852469873307B97C" xlink:to="loc_us-gaap_AccountsReceivableNetCurrent_A86C4AE2DA49D4AF6E7F698733071899" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DeferredCostsCurrent" xlink:label="loc_us-gaap_DeferredCostsCurrent_A45A659A453A3FD51DF76987330747EB" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_3035BEB06B50563D852469873307B97C" xlink:to="loc_us-gaap_DeferredCostsCurrent_A45A659A453A3FD51DF76987330747EB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PrepaidExpenseAndOtherAssetsCurrent" xlink:label="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_AFC74092AE71255B9EAA69873307E7AE" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_3035BEB06B50563D852469873307B97C" xlink:to="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_AFC74092AE71255B9EAA69873307E7AE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AssetsCurrent" xlink:label="loc_us-gaap_AssetsCurrent_3DF8D553B9C519043D7469873307E108" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_3035BEB06B50563D852469873307B97C" xlink:to="loc_us-gaap_AssetsCurrent_3DF8D553B9C519043D7469873307E108" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNet" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_8F0A472EE6478B7D8E4469873307E58E" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_4B098C0C03F4EBACD32669873306A38B" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_8F0A472EE6478B7D8E4469873307E58E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_Goodwill" xlink:label="loc_us-gaap_Goodwill_4E9B347711EC82CCBDDB69873307E5BC" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_4B098C0C03F4EBACD32669873306A38B" xlink:to="loc_us-gaap_Goodwill_4E9B347711EC82CCBDDB69873307E5BC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsNet" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_E490DBB80D6C13944F806987330719AD" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_4B098C0C03F4EBACD32669873306A38B" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsNet_E490DBB80D6C13944F806987330719AD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DeferredIncomeTaxAssetsNet" xlink:label="loc_us-gaap_DeferredIncomeTaxAssetsNet_221FE69009CD361B0329698733071ADD" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_4B098C0C03F4EBACD32669873306A38B" xlink:to="loc_us-gaap_DeferredIncomeTaxAssetsNet_221FE69009CD361B0329698733071ADD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherAssetsNoncurrent" xlink:label="loc_us-gaap_OtherAssetsNoncurrent_B36FEAEEF1BB3C31EF2D69873307053E" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_4B098C0C03F4EBACD32669873306A38B" xlink:to="loc_us-gaap_OtherAssetsNoncurrent_B36FEAEEF1BB3C31EF2D69873307053E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_Assets" xlink:label="loc_us-gaap_Assets_782978824BD6E641768D698733070ED1" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_4B098C0C03F4EBACD32669873306A38B" xlink:to="loc_us-gaap_Assets_782978824BD6E641768D698733070ED1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LiabilitiesAndStockholdersEquityAbstract" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_E95C75B87654E0B6F93669873307BC6D" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_673006EC14876F26A01C698733061642" xlink:to="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_E95C75B87654E0B6F93669873307BC6D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LiabilitiesCurrentAbstract" xlink:label="loc_us-gaap_LiabilitiesCurrentAbstract_2E790D221B89EB217F3B69873307F818" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_E95C75B87654E0B6F93669873307BC6D" xlink:to="loc_us-gaap_LiabilitiesCurrentAbstract_2E790D221B89EB217F3B69873307F818" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccountsPayableCurrent" xlink:label="loc_us-gaap_AccountsPayableCurrent_41AB09B8043C054BEFA369873307C5B3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_2E790D221B89EB217F3B69873307F818" xlink:to="loc_us-gaap_AccountsPayableCurrent_41AB09B8043C054BEFA369873307C5B3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EmployeeRelatedLiabilitiesCurrent" xlink:label="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_8EE44D83EA47055707A0698733071DEB" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_2E790D221B89EB217F3B69873307F818" xlink:to="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_8EE44D83EA47055707A0698733071DEB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccruedLiabilitiesCurrent" xlink:label="loc_us-gaap_AccruedLiabilitiesCurrent_EA5B3914447B5B7EBB38698733076C69" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_2E790D221B89EB217F3B69873307F818" xlink:to="loc_us-gaap_AccruedLiabilitiesCurrent_EA5B3914447B5B7EBB38698733076C69" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DeferredRevenueCurrent" xlink:label="loc_us-gaap_DeferredRevenueCurrent_E560884242FED17F2A0E69873307CFD3" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_2E790D221B89EB217F3B69873307F818" xlink:to="loc_us-gaap_DeferredRevenueCurrent_E560884242FED17F2A0E69873307CFD3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LiabilitiesCurrent" xlink:label="loc_us-gaap_LiabilitiesCurrent_0C2A55244F4083EA13A4698733078CD6" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_2E790D221B89EB217F3B69873307F818" xlink:to="loc_us-gaap_LiabilitiesCurrent_0C2A55244F4083EA13A4698733078CD6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_WarrantsAndRightsOutstanding" xlink:label="loc_us-gaap_WarrantsAndRightsOutstanding_C9606F3DD18EF507508269873308AA37" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_E95C75B87654E0B6F93669873307BC6D" xlink:to="loc_us-gaap_WarrantsAndRightsOutstanding_C9606F3DD18EF507508269873308AA37" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DeferredRentCreditNoncurrent" xlink:label="loc_us-gaap_DeferredRentCreditNoncurrent_3F70DDBC8AEFEA9353F96987330850BD" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_E95C75B87654E0B6F93669873307BC6D" xlink:to="loc_us-gaap_DeferredRentCreditNoncurrent_3F70DDBC8AEFEA9353F96987330850BD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DeferredIncomeTaxLiabilitiesNet" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet_5D130B1B534E9C5D7D4269873308748B" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_E95C75B87654E0B6F93669873307BC6D" xlink:to="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet_5D130B1B534E9C5D7D4269873308748B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DeferredRevenueNoncurrent" xlink:label="loc_us-gaap_DeferredRevenueNoncurrent_F4963E120CD067D909C4698733088086" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_E95C75B87654E0B6F93669873307BC6D" xlink:to="loc_us-gaap_DeferredRevenueNoncurrent_F4963E120CD067D909C4698733088086" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherLiabilitiesNoncurrent" xlink:label="loc_us-gaap_OtherLiabilitiesNoncurrent_4C3FD0CB0DEBDBF7453969873308A2ED" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_E95C75B87654E0B6F93669873307BC6D" xlink:to="loc_us-gaap_OtherLiabilitiesNoncurrent_4C3FD0CB0DEBDBF7453969873308A2ED" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_Liabilities" xlink:label="loc_us-gaap_Liabilities_74296625A93B8A9C8020698733083D10" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_E95C75B87654E0B6F93669873307BC6D" xlink:to="loc_us-gaap_Liabilities_74296625A93B8A9C8020698733083D10" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CommitmentsAndContingencies" xlink:label="loc_us-gaap_CommitmentsAndContingencies_C7274C041034914D7C5369873308D0C6" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_E95C75B87654E0B6F93669873307BC6D" xlink:to="loc_us-gaap_CommitmentsAndContingencies_C7274C041034914D7C5369873308D0C6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TemporaryEquityCarryingAmountAttributableToParent" xlink:label="loc_us-gaap_TemporaryEquityCarryingAmountAttributableToParent_AC52E6C4BB6D7E5A645369873308ED98" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_E95C75B87654E0B6F93669873307BC6D" xlink:to="loc_us-gaap_TemporaryEquityCarryingAmountAttributableToParent_AC52E6C4BB6D7E5A645369873308ED98" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockholdersEquityAbstract" xlink:label="loc_us-gaap_StockholdersEquityAbstract_0763B353F38E3BFFC68D6987330883D6" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_E95C75B87654E0B6F93669873307BC6D" xlink:to="loc_us-gaap_StockholdersEquityAbstract_0763B353F38E3BFFC68D6987330883D6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CommonStockValue" xlink:label="loc_us-gaap_CommonStockValue_D5DE9B963385358195996987330898A1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_0763B353F38E3BFFC68D6987330883D6" xlink:to="loc_us-gaap_CommonStockValue_D5DE9B963385358195996987330898A1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AdditionalPaidInCapital" xlink:label="loc_us-gaap_AdditionalPaidInCapital_22BE5548FD111D8BF49E69873308680E" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_0763B353F38E3BFFC68D6987330883D6" xlink:to="loc_us-gaap_AdditionalPaidInCapital_22BE5548FD111D8BF49E69873308680E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TreasuryStockValue" xlink:label="loc_us-gaap_TreasuryStockValue_D515C0BF670DD4B3E0CA6987330829AD" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_0763B353F38E3BFFC68D6987330883D6" xlink:to="loc_us-gaap_TreasuryStockValue_D515C0BF670DD4B3E0CA6987330829AD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_BA6E90911A6B183B7EFC6987330897DF" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_0763B353F38E3BFFC68D6987330883D6" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_BA6E90911A6B183B7EFC6987330897DF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RetainedEarningsAccumulatedDeficit" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_D414D457F3D23B0014116987330894DC" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_0763B353F38E3BFFC68D6987330883D6" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_D414D457F3D23B0014116987330894DC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockholdersEquity" xlink:label="loc_us-gaap_StockholdersEquity_8C033DDFAB628F3DDF5869873308B52D" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_0763B353F38E3BFFC68D6987330883D6" xlink:to="loc_us-gaap_StockholdersEquity_8C033DDFAB628F3DDF5869873308B52D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LiabilitiesAndStockholdersEquity" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_803CD4B0A147897B9B8B69873308B700" xlink:type="locator" />
    <link:definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_E95C75B87654E0B6F93669873307BC6D" xlink:to="loc_us-gaap_LiabilitiesAndStockholdersEquity_803CD4B0A147897B9B8B69873308B700" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/ConsolidatedBalanceSheetsParenthetical" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaap_StatementLineItems_DDBB162E2CA6B98AA9E76FD3196E2EF4" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaap_StatementTable_94D0FADA8E187856C8C86FD3196E65A0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_DDBB162E2CA6B98AA9E76FD3196E2EF4" xlink:to="loc_us-gaap_StatementTable_94D0FADA8E187856C8C86FD3196E65A0" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementClassOfStockAxis" xlink:label="loc_us-gaap_StatementClassOfStockAxis_A5B1166FD5ACDC127D476FD3196E85E3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_94D0FADA8E187856C8C86FD3196E65A0" xlink:to="loc_us-gaap_StatementClassOfStockAxis_A5B1166FD5ACDC127D476FD3196E85E3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_2B8E340B559A959444C26FD3196E1FE7_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_A5B1166FD5ACDC127D476FD3196E85E3" xlink:to="loc_us-gaap_ClassOfStockDomain_2B8E340B559A959444C26FD3196E1FE7_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_2B8E340B559A959444C26FD3196E1FE7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_A5B1166FD5ACDC127D476FD3196E85E3" xlink:to="loc_us-gaap_ClassOfStockDomain_2B8E340B559A959444C26FD3196E1FE7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CommonClassAMember" xlink:label="loc_us-gaap_CommonClassAMember_60E0CF7B0B0BDC2713B96FD3196E57C3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_2B8E340B559A959444C26FD3196E1FE7" xlink:to="loc_us-gaap_CommonClassAMember_60E0CF7B0B0BDC2713B96FD3196E57C3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CommonClassBMember" xlink:label="loc_us-gaap_CommonClassBMember_3FE71E2A95FB8811E99F6FD3196ED1F0" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_2B8E340B559A959444C26FD3196E1FE7" xlink:to="loc_us-gaap_CommonClassBMember_3FE71E2A95FB8811E99F6FD3196ED1F0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AssetsCurrentAbstract" xlink:label="loc_us-gaap_AssetsCurrentAbstract_F7BF3B4C26ECD80BF6026FD3196E2DBC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_DDBB162E2CA6B98AA9E76FD3196E2EF4" xlink:to="loc_us-gaap_AssetsCurrentAbstract_F7BF3B4C26ECD80BF6026FD3196E2DBC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AllowanceForDoubtfulAccountsReceivableCurrent" xlink:label="loc_us-gaap_AllowanceForDoubtfulAccountsReceivableCurrent_F30955DECD174D6CB8676FD3196E24F0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_F7BF3B4C26ECD80BF6026FD3196E2DBC" xlink:to="loc_us-gaap_AllowanceForDoubtfulAccountsReceivableCurrent_F30955DECD174D6CB8676FD3196E24F0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LiabilitiesAndStockholdersEquityAbstract" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_2C97DA5067E0895BD2996FD3196FBED7" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_DDBB162E2CA6B98AA9E76FD3196E2EF4" xlink:to="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_2C97DA5067E0895BD2996FD3196FBED7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TemporaryEquityParOrStatedValuePerShare" xlink:label="loc_us-gaap_TemporaryEquityParOrStatedValuePerShare_83E4F21D2269ABFB89446FD3196F4F1D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_2C97DA5067E0895BD2996FD3196FBED7" xlink:to="loc_us-gaap_TemporaryEquityParOrStatedValuePerShare_83E4F21D2269ABFB89446FD3196F4F1D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TemporaryEquitySharesAuthorized" xlink:label="loc_us-gaap_TemporaryEquitySharesAuthorized_841E80813F522CC581EC6FD3196F720A" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_2C97DA5067E0895BD2996FD3196FBED7" xlink:to="loc_us-gaap_TemporaryEquitySharesAuthorized_841E80813F522CC581EC6FD3196F720A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TemporaryEquitySharesIssued" xlink:label="loc_us-gaap_TemporaryEquitySharesIssued_CE19341B3A85AABD38F96FD3196F91DC" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_2C97DA5067E0895BD2996FD3196FBED7" xlink:to="loc_us-gaap_TemporaryEquitySharesIssued_CE19341B3A85AABD38F96FD3196F91DC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TemporaryEquitySharesOutstanding" xlink:label="loc_us-gaap_TemporaryEquitySharesOutstanding_8805575B65F77B7C13FF6FD3196F7D85" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_2C97DA5067E0895BD2996FD3196FBED7" xlink:to="loc_us-gaap_TemporaryEquitySharesOutstanding_8805575B65F77B7C13FF6FD3196F7D85" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TemporaryEquityLiquidationPreference" xlink:label="loc_us-gaap_TemporaryEquityLiquidationPreference_4D05103FB69365692DEA6FD3196F85E1" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_2C97DA5067E0895BD2996FD3196FBED7" xlink:to="loc_us-gaap_TemporaryEquityLiquidationPreference_4D05103FB69365692DEA6FD3196F85E1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockholdersEquityAbstract" xlink:label="loc_us-gaap_StockholdersEquityAbstract_9F17150DA5171DF9F6E66FD3196FF923" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_2C97DA5067E0895BD2996FD3196FBED7" xlink:to="loc_us-gaap_StockholdersEquityAbstract_9F17150DA5171DF9F6E66FD3196FF923" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CommonStockParOrStatedValuePerShare" xlink:label="loc_us-gaap_CommonStockParOrStatedValuePerShare_C118B2AF46E69D4FFD6B6FD3197084CC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_9F17150DA5171DF9F6E66FD3196FF923" xlink:to="loc_us-gaap_CommonStockParOrStatedValuePerShare_C118B2AF46E69D4FFD6B6FD3197084CC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CommonStockSharesAuthorized" xlink:label="loc_us-gaap_CommonStockSharesAuthorized_6B0B5E4914DF7817B3C36FD31970017F" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_9F17150DA5171DF9F6E66FD3196FF923" xlink:to="loc_us-gaap_CommonStockSharesAuthorized_6B0B5E4914DF7817B3C36FD31970017F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CommonStockSharesIssued" xlink:label="loc_us-gaap_CommonStockSharesIssued_6769CCD0ABC74057518F6FD319709E31" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_9F17150DA5171DF9F6E66FD3196FF923" xlink:to="loc_us-gaap_CommonStockSharesIssued_6769CCD0ABC74057518F6FD319709E31" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CommonStockSharesOutstanding" xlink:label="loc_us-gaap_CommonStockSharesOutstanding_B414A61570BE87C835BD6FD31970E1F0" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_9F17150DA5171DF9F6E66FD3196FF923" xlink:to="loc_us-gaap_CommonStockSharesOutstanding_B414A61570BE87C835BD6FD31970E1F0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TreasuryStockShares" xlink:label="loc_us-gaap_TreasuryStockShares_AB9CDD94DC19BD6D94966FD31970129C" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_9F17150DA5171DF9F6E66FD3196FF923" xlink:to="loc_us-gaap_TreasuryStockShares_AB9CDD94DC19BD6D94966FD31970129C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TreasuryStockAcquiredAverageCostPerShare" xlink:label="loc_us-gaap_TreasuryStockAcquiredAverageCostPerShare_4CB61116B0080FD1B0316FD319708C7A" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_9F17150DA5171DF9F6E66FD3196FF923" xlink:to="loc_us-gaap_TreasuryStockAcquiredAverageCostPerShare_4CB61116B0080FD1B0316FD319708C7A" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/ConsolidatedStatementOfRedeemableConvertiblePreferredStockAndStockholdersEquityDeficit" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaap_StatementLineItems_2F6ABB716FFB0E3E89EB77B66A6F5BD9" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaap_StatementTable_26F8294717C8F2A66E5877B66A6E17E9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_2F6ABB716FFB0E3E89EB77B66A6F5BD9" xlink:to="loc_us-gaap_StatementTable_26F8294717C8F2A66E5877B66A6E17E9" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementEquityComponentsAxis" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_797D9483AC05C6FC6F9377B66A6FA701" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_26F8294717C8F2A66E5877B66A6E17E9" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_797D9483AC05C6FC6F9377B66A6FA701" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_E7FFD45F9763E24DC4EE77B66A6FF4A6_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_797D9483AC05C6FC6F9377B66A6FA701" xlink:to="loc_us-gaap_EquityComponentDomain_E7FFD45F9763E24DC4EE77B66A6FF4A6_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_E7FFD45F9763E24DC4EE77B66A6FF4A6" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_797D9483AC05C6FC6F9377B66A6FA701" xlink:to="loc_us-gaap_EquityComponentDomain_E7FFD45F9763E24DC4EE77B66A6FF4A6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CommonStockMember" xlink:label="loc_us-gaap_CommonStockMember_03B51FEDBAF0EFED706277B66A6FFAB3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_E7FFD45F9763E24DC4EE77B66A6FF4A6" xlink:to="loc_us-gaap_CommonStockMember_03B51FEDBAF0EFED706277B66A6FFAB3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AdditionalPaidInCapitalMember" xlink:label="loc_us-gaap_AdditionalPaidInCapitalMember_037FE3A18E567271B06E77B66A6F0856" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_E7FFD45F9763E24DC4EE77B66A6FF4A6" xlink:to="loc_us-gaap_AdditionalPaidInCapitalMember_037FE3A18E567271B06E77B66A6F0856" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TreasuryStockMember" xlink:label="loc_us-gaap_TreasuryStockMember_14FE5957686F155078D977B66A6FCAE9" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_E7FFD45F9763E24DC4EE77B66A6FF4A6" xlink:to="loc_us-gaap_TreasuryStockMember_14FE5957686F155078D977B66A6FCAE9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeMember" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_9EE9550C279A95EC62EC77B66A6F7067" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_E7FFD45F9763E24DC4EE77B66A6FF4A6" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_9EE9550C279A95EC62EC77B66A6F7067" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RetainedEarningsMember" xlink:label="loc_us-gaap_RetainedEarningsMember_4FD8474A034F904CC22077B66A6F3CB7" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_E7FFD45F9763E24DC4EE77B66A6FF4A6" xlink:to="loc_us-gaap_RetainedEarningsMember_4FD8474A034F904CC22077B66A6F3CB7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AdjustmentsForNewAccountingPronouncementsAxis" xlink:label="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_8B70F473BB1C5C54DA0677B66A6FA49F" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_26F8294717C8F2A66E5877B66A6E17E9" xlink:to="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_8B70F473BB1C5C54DA0677B66A6FA49F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TypeOfAdoptionMember" xlink:label="loc_us-gaap_TypeOfAdoptionMember_EF7217C0AB7B881057B277B66A6F8DDB_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_8B70F473BB1C5C54DA0677B66A6FA49F" xlink:to="loc_us-gaap_TypeOfAdoptionMember_EF7217C0AB7B881057B277B66A6F8DDB_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TypeOfAdoptionMember" xlink:label="loc_us-gaap_TypeOfAdoptionMember_EF7217C0AB7B881057B277B66A6F8DDB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_8B70F473BB1C5C54DA0677B66A6FA49F" xlink:to="loc_us-gaap_TypeOfAdoptionMember_EF7217C0AB7B881057B277B66A6F8DDB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccountingStandardsUpdate201609Member" xlink:label="loc_us-gaap_AccountingStandardsUpdate201609Member_5A411AC2EDB78CAFB92477B66A6FE597" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TypeOfAdoptionMember_EF7217C0AB7B881057B277B66A6F8DDB" xlink:to="loc_us-gaap_AccountingStandardsUpdate201609Member_5A411AC2EDB78CAFB92477B66A6FE597" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncreaseDecreaseInTemporaryEquityRollForward" xlink:label="loc_us-gaap_IncreaseDecreaseInTemporaryEquityRollForward_EF8CAB4B4721783DAA8377B66A6FBF7B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_2F6ABB716FFB0E3E89EB77B66A6F5BD9" xlink:to="loc_us-gaap_IncreaseDecreaseInTemporaryEquityRollForward_EF8CAB4B4721783DAA8377B66A6FBF7B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TemporaryEquitySharesOutstanding" xlink:label="loc_us-gaap_TemporaryEquitySharesOutstanding_A4345DC0A1FE76B6106277B66A6FDFA2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInTemporaryEquityRollForward_EF8CAB4B4721783DAA8377B66A6FBF7B" xlink:to="loc_us-gaap_TemporaryEquitySharesOutstanding_A4345DC0A1FE76B6106277B66A6FDFA2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TemporaryEquityCarryingAmountAttributableToParent" xlink:label="loc_us-gaap_TemporaryEquityCarryingAmountAttributableToParent_AD25A067DFAF6B2BA4EC77B66A6F18F0" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInTemporaryEquityRollForward_EF8CAB4B4721783DAA8377B66A6FBF7B" xlink:to="loc_us-gaap_TemporaryEquityCarryingAmountAttributableToParent_AD25A067DFAF6B2BA4EC77B66A6F18F0" xlink:type="arc" />
    <link:loc xlink:href="mdb-20180131.xsd#mdb_TemporaryEquityIssuedDuringPeriodSharesNewIssues" xlink:label="loc_mdb_TemporaryEquityIssuedDuringPeriodSharesNewIssues_776C18E6BA47C8AEF3CE77B66A6F42E3" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInTemporaryEquityRollForward_EF8CAB4B4721783DAA8377B66A6FBF7B" xlink:to="loc_mdb_TemporaryEquityIssuedDuringPeriodSharesNewIssues_776C18E6BA47C8AEF3CE77B66A6F42E3" xlink:type="arc" />
    <link:loc xlink:href="mdb-20180131.xsd#mdb_TemporaryEquityStockIssuedDuringPeriodSharesNewIssuesForExerciseOfWarrants" xlink:label="loc_mdb_TemporaryEquityStockIssuedDuringPeriodSharesNewIssuesForExerciseOfWarrants_D4ABDEBDED1B2ED310A677B66A6FF386" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInTemporaryEquityRollForward_EF8CAB4B4721783DAA8377B66A6FBF7B" xlink:to="loc_mdb_TemporaryEquityStockIssuedDuringPeriodSharesNewIssuesForExerciseOfWarrants_D4ABDEBDED1B2ED310A677B66A6FF386" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TemporaryEquityStockIssuedDuringPeriodValueNewIssues" xlink:label="loc_us-gaap_TemporaryEquityStockIssuedDuringPeriodValueNewIssues_9570E1D53E8928CE8B5D77B66A6F5508" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInTemporaryEquityRollForward_EF8CAB4B4721783DAA8377B66A6FBF7B" xlink:to="loc_us-gaap_TemporaryEquityStockIssuedDuringPeriodValueNewIssues_9570E1D53E8928CE8B5D77B66A6F5508" xlink:type="arc" />
    <link:loc xlink:href="mdb-20180131.xsd#mdb_TemporaryEquityEliminationAsPartOfReorganizationShares" xlink:label="loc_mdb_TemporaryEquityEliminationAsPartOfReorganizationShares_D3EF2310DB28270F4AD577B66A6F21C0" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInTemporaryEquityRollForward_EF8CAB4B4721783DAA8377B66A6FBF7B" xlink:to="loc_mdb_TemporaryEquityEliminationAsPartOfReorganizationShares_D3EF2310DB28270F4AD577B66A6F21C0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TemporaryEquityEliminationAsPartofReorganization" xlink:label="loc_us-gaap_TemporaryEquityEliminationAsPartofReorganization_4D34761F62F5A010B4C177B66A6F0562" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInTemporaryEquityRollForward_EF8CAB4B4721783DAA8377B66A6FBF7B" xlink:to="loc_us-gaap_TemporaryEquityEliminationAsPartofReorganization_4D34761F62F5A010B4C177B66A6F0562" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncreaseDecreaseInStockholdersEquityRollForward" xlink:label="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_91C546DD91CD52012F6D77B66A706B53" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_2F6ABB716FFB0E3E89EB77B66A6F5BD9" xlink:to="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_91C546DD91CD52012F6D77B66A706B53" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CommonStockSharesOutstanding" xlink:label="loc_us-gaap_CommonStockSharesOutstanding_7DABBA65C8AC5E319A7C77B66A709E66" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_91C546DD91CD52012F6D77B66A706B53" xlink:to="loc_us-gaap_CommonStockSharesOutstanding_7DABBA65C8AC5E319A7C77B66A709E66" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockholdersEquity" xlink:label="loc_us-gaap_StockholdersEquity_F692CCD8684A666620E477B66A70BAD6" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_91C546DD91CD52012F6D77B66A706B53" xlink:to="loc_us-gaap_StockholdersEquity_F692CCD8684A666620E477B66A70BAD6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CumulativeEffectOfNewAccountingPrincipleInPeriodOfAdoption" xlink:label="loc_us-gaap_CumulativeEffectOfNewAccountingPrincipleInPeriodOfAdoption_5A8450E52F12C6F92BE477B66A700CC8" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_91C546DD91CD52012F6D77B66A706B53" xlink:to="loc_us-gaap_CumulativeEffectOfNewAccountingPrincipleInPeriodOfAdoption_5A8450E52F12C6F92BE477B66A700CC8" xlink:type="arc" />
    <link:loc xlink:href="mdb-20180131.xsd#mdb_StockIssuedDuringPeriodSharesNewIssuesforExerciseOfWarrants" xlink:label="loc_mdb_StockIssuedDuringPeriodSharesNewIssuesforExerciseOfWarrants_ABEB46F7E9E3FA4D40E977B66A707D97" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_91C546DD91CD52012F6D77B66A706B53" xlink:to="loc_mdb_StockIssuedDuringPeriodSharesNewIssuesforExerciseOfWarrants_ABEB46F7E9E3FA4D40E977B66A707D97" xlink:type="arc" />
    <link:loc xlink:href="mdb-20180131.xsd#mdb_StockIssuedDuringPeriodValueNewIssuesForExerciseOfWarrants" xlink:label="loc_mdb_StockIssuedDuringPeriodValueNewIssuesForExerciseOfWarrants_ECE1EB621300748319FB77B66A706BD4" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_91C546DD91CD52012F6D77B66A706B53" xlink:to="loc_mdb_StockIssuedDuringPeriodValueNewIssuesForExerciseOfWarrants_ECE1EB621300748319FB77B66A706BD4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised_9F09A021BED89D3B175177B66A703CB8" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_91C546DD91CD52012F6D77B66A706B53" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised_9F09A021BED89D3B175177B66A703CB8" xlink:type="arc" />
    <link:loc xlink:href="mdb-20180131.xsd#mdb_AdjustmentstoAdditionalPaidinCapitalExerciseofStockOptions" xlink:label="loc_mdb_AdjustmentstoAdditionalPaidinCapitalExerciseofStockOptions_7E795361055FEE72671E77B66A70B29F" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_91C546DD91CD52012F6D77B66A706B53" xlink:to="loc_mdb_AdjustmentstoAdditionalPaidinCapitalExerciseofStockOptions_7E795361055FEE72671E77B66A70B29F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockRepurchasedDuringPeriodShares" xlink:label="loc_us-gaap_StockRepurchasedDuringPeriodShares_147DB17379CA65D99F3E77B66A702B4F" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_91C546DD91CD52012F6D77B66A706B53" xlink:to="loc_us-gaap_StockRepurchasedDuringPeriodShares_147DB17379CA65D99F3E77B66A702B4F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesConversionOfConvertibleSecurities" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesConversionOfConvertibleSecurities_A69BD97B85A958F7BC8477B66A70A705" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_91C546DD91CD52012F6D77B66A706B53" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesConversionOfConvertibleSecurities_A69BD97B85A958F7BC8477B66A70A705" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockIssuedDuringPeriodValueConversionOfConvertibleSecurities" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueConversionOfConvertibleSecurities_11613B022617B8D3807B77B66A700D2F" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_91C546DD91CD52012F6D77B66A706B53" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueConversionOfConvertibleSecurities_11613B022617B8D3807B77B66A700D2F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesNewIssues" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesNewIssues_89A39962E0912CB4BDD977B66A70A5A6" xlink:type="locator" />
    <link:definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_91C546DD91CD52012F6D77B66A706B53" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesNewIssues_89A39962E0912CB4BDD977B66A70A5A6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockIssuedDuringPeriodValueNewIssues" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueNewIssues_EB8F40555EC966079C3877B66A70A135" xlink:type="locator" />
    <link:definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_91C546DD91CD52012F6D77B66A706B53" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueNewIssues_EB8F40555EC966079C3877B66A70A135" xlink:type="arc" />
    <link:loc xlink:href="mdb-20180131.xsd#mdb_AdjustmentsToAdditionalPaidinCapitalEarlyExerciseofStockOptions" xlink:label="loc_mdb_AdjustmentsToAdditionalPaidinCapitalEarlyExerciseofStockOptions_0E1C607333F7ABFBD89877B66A708CC4" xlink:type="locator" />
    <link:definitionArc order="13" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_91C546DD91CD52012F6D77B66A706B53" xlink:to="loc_mdb_AdjustmentsToAdditionalPaidinCapitalEarlyExerciseofStockOptions_0E1C607333F7ABFBD89877B66A708CC4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue" xlink:label="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_CB5A4A2193BB6F2A22BD77B66A70AF2C" xlink:type="locator" />
    <link:definitionArc order="14" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_91C546DD91CD52012F6D77B66A706B53" xlink:to="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_CB5A4A2193BB6F2A22BD77B66A70AF2C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParent" xlink:label="loc_us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParent_34B13BA0B82C5EBD9A3177B66A702CD7" xlink:type="locator" />
    <link:definitionArc order="15" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_91C546DD91CD52012F6D77B66A706B53" xlink:to="loc_us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParent_34B13BA0B82C5EBD9A3177B66A702CD7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationAdjustmentNetOfTaxPortionAttributableToParent" xlink:label="loc_us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationAdjustmentNetOfTaxPortionAttributableToParent_2079B9EF7B0CB556677B77B66A70692C" xlink:type="locator" />
    <link:definitionArc order="16" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_91C546DD91CD52012F6D77B66A706B53" xlink:to="loc_us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationAdjustmentNetOfTaxPortionAttributableToParent_2079B9EF7B0CB556677B77B66A70692C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss_567DDD4671C28A14BAAA77B66A704D8C" xlink:type="locator" />
    <link:definitionArc order="17" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_91C546DD91CD52012F6D77B66A706B53" xlink:to="loc_us-gaap_NetIncomeLoss_567DDD4671C28A14BAAA77B66A704D8C" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/ConsolidatedStatementOfRedeemableConvertiblePreferredStockAndStockholdersEquityDeficitParenthetical" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaap_StatementLineItems_5DB45F45A13544525DA8021D75462241" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaap_StatementTable_5295121F9A7B418C14D4021D75452522" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_5DB45F45A13544525DA8021D75462241" xlink:to="loc_us-gaap_StatementTable_5295121F9A7B418C14D4021D75452522" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementClassOfStockAxis" xlink:label="loc_us-gaap_StatementClassOfStockAxis_D0E2AF5519F3FF0E34C3021D7546E216" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_5295121F9A7B418C14D4021D75452522" xlink:to="loc_us-gaap_StatementClassOfStockAxis_D0E2AF5519F3FF0E34C3021D7546E216" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_6C06AC9B19B622438913021D75462045_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_D0E2AF5519F3FF0E34C3021D7546E216" xlink:to="loc_us-gaap_ClassOfStockDomain_6C06AC9B19B622438913021D75462045_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_6C06AC9B19B622438913021D75462045" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_D0E2AF5519F3FF0E34C3021D7546E216" xlink:to="loc_us-gaap_ClassOfStockDomain_6C06AC9B19B622438913021D75462045" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SeriesFPreferredStockMember" xlink:label="loc_us-gaap_SeriesFPreferredStockMember_D48975A9992BC7B02553021D75463170" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_6C06AC9B19B622438913021D75462045" xlink:to="loc_us-gaap_SeriesFPreferredStockMember_D48975A9992BC7B02553021D75463170" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PaymentsOfStockIssuanceCosts" xlink:label="loc_us-gaap_PaymentsOfStockIssuanceCosts_C48B689CDCA500C2EC24021D754676EE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_5DB45F45A13544525DA8021D75462241" xlink:to="loc_us-gaap_PaymentsOfStockIssuanceCosts_C48B689CDCA500C2EC24021D754676EE" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/ConsolidatedStatementsOfCashFlows" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.mongodb.com/role/ConsolidatedStatementsOfComprehensiveLoss" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.mongodb.com/role/ConsolidatedStatementsOfOperations" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.mongodb.com/role/DocumentAndEntityInformationDocument" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaap_StatementLineItems_AA9C7D5625A6A16163936FD3198084E1" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaap_StatementTable_3B56B3F325FB8B3E1EF56FD31980EB13" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_AA9C7D5625A6A16163936FD3198084E1" xlink:to="loc_us-gaap_StatementTable_3B56B3F325FB8B3E1EF56FD31980EB13" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementClassOfStockAxis" xlink:label="loc_us-gaap_StatementClassOfStockAxis_02015B8B2179A564BCBA6FD319807E66" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_3B56B3F325FB8B3E1EF56FD31980EB13" xlink:to="loc_us-gaap_StatementClassOfStockAxis_02015B8B2179A564BCBA6FD319807E66" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_2C45FC3B7A992439981B6FD319804B7F_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_02015B8B2179A564BCBA6FD319807E66" xlink:to="loc_us-gaap_ClassOfStockDomain_2C45FC3B7A992439981B6FD319804B7F_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_2C45FC3B7A992439981B6FD319804B7F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_02015B8B2179A564BCBA6FD319807E66" xlink:to="loc_us-gaap_ClassOfStockDomain_2C45FC3B7A992439981B6FD319804B7F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CommonClassAMember" xlink:label="loc_us-gaap_CommonClassAMember_FA5DD3B55E218752508C6FD31980A041" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_2C45FC3B7A992439981B6FD319804B7F" xlink:to="loc_us-gaap_CommonClassAMember_FA5DD3B55E218752508C6FD31980A041" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CommonClassBMember" xlink:label="loc_us-gaap_CommonClassBMember_04CE639A2D2E47D701A86FD319802F4B" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_2C45FC3B7A992439981B6FD319804B7F" xlink:to="loc_us-gaap_CommonClassBMember_04CE639A2D2E47D701A86FD319802F4B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityCommonStockSharesOutstanding" xlink:label="loc_dei_EntityCommonStockSharesOutstanding_C35AF83DABA1F5E991F36FD319803DDE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_AA9C7D5625A6A16163936FD3198084E1" xlink:to="loc_dei_EntityCommonStockSharesOutstanding_C35AF83DABA1F5E991F36FD319803DDE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityPublicFloat" xlink:label="loc_dei_EntityPublicFloat_E1F3DF134E5AB3ABE98F7004C7738A4F" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_AA9C7D5625A6A16163936FD3198084E1" xlink:to="loc_dei_EntityPublicFloat_E1F3DF134E5AB3ABE98F7004C7738A4F" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/EquityIncentivePlans" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.mongodb.com/role/EquityIncentivePlans2008And2016StockPlanDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_8E36A63594BAAE876B75E2636EC6B404" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_11D2D8DAE33BEDB84DA4E2636EC506B2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_8E36A63594BAAE876B75E2636EC6B404" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_11D2D8DAE33BEDB84DA4E2636EC506B2" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RangeAxis" xlink:label="loc_us-gaap_RangeAxis_2030C713FE0CB23F2180E2636EC5BA4F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_11D2D8DAE33BEDB84DA4E2636EC506B2" xlink:to="loc_us-gaap_RangeAxis_2030C713FE0CB23F2180E2636EC5BA4F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_5B837A5B501B00C1B705E2636EC50478_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RangeAxis_2030C713FE0CB23F2180E2636EC5BA4F" xlink:to="loc_us-gaap_RangeMember_5B837A5B501B00C1B705E2636EC50478_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_5B837A5B501B00C1B705E2636EC50478" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RangeAxis_2030C713FE0CB23F2180E2636EC5BA4F" xlink:to="loc_us-gaap_RangeMember_5B837A5B501B00C1B705E2636EC50478" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MinimumMember" xlink:label="loc_us-gaap_MinimumMember_E1FF34F565E1221D246DE2636EC5A7A2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_5B837A5B501B00C1B705E2636EC50478" xlink:to="loc_us-gaap_MinimumMember_E1FF34F565E1221D246DE2636EC5A7A2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TitleOfIndividualAxis" xlink:label="loc_us-gaap_TitleOfIndividualAxis_D52BFC9933FA6F92FDD0E2636EC5429C" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_11D2D8DAE33BEDB84DA4E2636EC506B2" xlink:to="loc_us-gaap_TitleOfIndividualAxis_D52BFC9933FA6F92FDD0E2636EC5429C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TitleOfIndividualWithRelationshipToEntityDomain" xlink:label="loc_us-gaap_TitleOfIndividualWithRelationshipToEntityDomain_D3E4237C3C9A7B7B7642E2636EC57FDA_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_TitleOfIndividualAxis_D52BFC9933FA6F92FDD0E2636EC5429C" xlink:to="loc_us-gaap_TitleOfIndividualWithRelationshipToEntityDomain_D3E4237C3C9A7B7B7642E2636EC57FDA_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TitleOfIndividualWithRelationshipToEntityDomain" xlink:label="loc_us-gaap_TitleOfIndividualWithRelationshipToEntityDomain_D3E4237C3C9A7B7B7642E2636EC57FDA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_TitleOfIndividualAxis_D52BFC9933FA6F92FDD0E2636EC5429C" xlink:to="loc_us-gaap_TitleOfIndividualWithRelationshipToEntityDomain_D3E4237C3C9A7B7B7642E2636EC57FDA" xlink:type="arc" />
    <link:loc xlink:href="mdb-20180131.xsd#mdb_Over10StockholderMember" xlink:label="loc_mdb_Over10StockholderMember_D3B40E70702877A94016E2636EC55ED4" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TitleOfIndividualWithRelationshipToEntityDomain_D3E4237C3C9A7B7B7642E2636EC57FDA" xlink:to="loc_mdb_Over10StockholderMember_D3B40E70702877A94016E2636EC55ED4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_VestingAxis" xlink:label="loc_us-gaap_VestingAxis_4592526C6D70177EF1A0E2636EC512A1" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_11D2D8DAE33BEDB84DA4E2636EC506B2" xlink:to="loc_us-gaap_VestingAxis_4592526C6D70177EF1A0E2636EC512A1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_VestingDomain" xlink:label="loc_us-gaap_VestingDomain_ADF659654B513893CD19E2636EC5D5ED_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_VestingAxis_4592526C6D70177EF1A0E2636EC512A1" xlink:to="loc_us-gaap_VestingDomain_ADF659654B513893CD19E2636EC5D5ED_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_VestingDomain" xlink:label="loc_us-gaap_VestingDomain_ADF659654B513893CD19E2636EC5D5ED" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_VestingAxis_4592526C6D70177EF1A0E2636EC512A1" xlink:to="loc_us-gaap_VestingDomain_ADF659654B513893CD19E2636EC5D5ED" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationAwardTrancheOneMember" xlink:label="loc_us-gaap_ShareBasedCompensationAwardTrancheOneMember_07C9524BE4271A88AE5EE2636EC68B4C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VestingDomain_ADF659654B513893CD19E2636EC5D5ED" xlink:to="loc_us-gaap_ShareBasedCompensationAwardTrancheOneMember_07C9524BE4271A88AE5EE2636EC68B4C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationAwardTrancheTwoMember" xlink:label="loc_us-gaap_ShareBasedCompensationAwardTrancheTwoMember_9C686DC3273216566500E2636EC68FE5" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VestingDomain_ADF659654B513893CD19E2636EC5D5ED" xlink:to="loc_us-gaap_ShareBasedCompensationAwardTrancheTwoMember_9C686DC3273216566500E2636EC68FE5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_6A6F26E0E79CCAF0520DE2636EC6524F" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_11D2D8DAE33BEDB84DA4E2636EC506B2" xlink:to="loc_us-gaap_AwardTypeAxis_6A6F26E0E79CCAF0520DE2636EC6524F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_67A647A45C5C896505B4E2636EC64D7B_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_6A6F26E0E79CCAF0520DE2636EC6524F" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_67A647A45C5C896505B4E2636EC64D7B_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_67A647A45C5C896505B4E2636EC64D7B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_6A6F26E0E79CCAF0520DE2636EC6524F" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_67A647A45C5C896505B4E2636EC64D7B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EmployeeStockOptionMember" xlink:label="loc_us-gaap_EmployeeStockOptionMember_1934729EA11938023281E2636EC643FE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_67A647A45C5C896505B4E2636EC64D7B" xlink:to="loc_us-gaap_EmployeeStockOptionMember_1934729EA11938023281E2636EC643FE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestrictedStockUnitsRSUMember" xlink:label="loc_us-gaap_RestrictedStockUnitsRSUMember_9D144D2E3B46E736E9EDE2636EC628F3" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_67A647A45C5C896505B4E2636EC64D7B" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember_9D144D2E3B46E736E9EDE2636EC628F3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardPurchasePriceOfCommonStockPercent" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardPurchasePriceOfCommonStockPercent_374BAA08590E7C59D484E2636EC6AADD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_8E36A63594BAAE876B75E2636EC6B404" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardPurchasePriceOfCommonStockPercent_374BAA08590E7C59D484E2636EC6AADD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardExpirationPeriod" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardExpirationPeriod_3B5B1D5C22006C6CFC28E2636EC6CB1E" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_8E36A63594BAAE876B75E2636EC6B404" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardExpirationPeriod_3B5B1D5C22006C6CFC28E2636EC6CB1E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_B3AB2B122EC62D26AFCDE2636EC6E2D3" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_8E36A63594BAAE876B75E2636EC6B404" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_B3AB2B122EC62D26AFCDE2636EC6E2D3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage_2C3611AC1E4D760053E7E2636EC6B5D6" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_8E36A63594BAAE876B75E2636EC6B404" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage_2C3611AC1E4D760053E7E2636EC6B5D6" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/EquityIncentivePlans2016ChinaStockAppreciationRightsPlanDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_34BDA00CC308F658D74DFE405AD321A2" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_38A48C25B8353516E693FE405AD2CC70" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_34BDA00CC308F658D74DFE405AD321A2" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_38A48C25B8353516E693FE405AD2CC70" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_B877DE251E3C7FC0CFD6FE405AD2E85E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_38A48C25B8353516E693FE405AD2CC70" xlink:to="loc_us-gaap_AwardTypeAxis_B877DE251E3C7FC0CFD6FE405AD2E85E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_22C72D86CC486DD868E8FE405AD22705_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_B877DE251E3C7FC0CFD6FE405AD2E85E" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_22C72D86CC486DD868E8FE405AD22705_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_22C72D86CC486DD868E8FE405AD22705" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_B877DE251E3C7FC0CFD6FE405AD2E85E" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_22C72D86CC486DD868E8FE405AD22705" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockAppreciationRightsSARSMember" xlink:label="loc_us-gaap_StockAppreciationRightsSARSMember_08CC90F80A4FFA27E941FE405AD2BB1A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_22C72D86CC486DD868E8FE405AD22705" xlink:to="loc_us-gaap_StockAppreciationRightsSARSMember_08CC90F80A4FFA27E941FE405AD2BB1A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_VestingAxis" xlink:label="loc_us-gaap_VestingAxis_115F5B1A9C2CDE15A87BFE405AD25C3C" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_38A48C25B8353516E693FE405AD2CC70" xlink:to="loc_us-gaap_VestingAxis_115F5B1A9C2CDE15A87BFE405AD25C3C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_VestingDomain" xlink:label="loc_us-gaap_VestingDomain_2288F198120A62C3A760FE405AD22385_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_VestingAxis_115F5B1A9C2CDE15A87BFE405AD25C3C" xlink:to="loc_us-gaap_VestingDomain_2288F198120A62C3A760FE405AD22385_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_VestingDomain" xlink:label="loc_us-gaap_VestingDomain_2288F198120A62C3A760FE405AD22385" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_VestingAxis_115F5B1A9C2CDE15A87BFE405AD25C3C" xlink:to="loc_us-gaap_VestingDomain_2288F198120A62C3A760FE405AD22385" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationAwardTrancheOneMember" xlink:label="loc_us-gaap_ShareBasedCompensationAwardTrancheOneMember_024BD81E2B53A85BE8C5FE405AD355DE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VestingDomain_2288F198120A62C3A760FE405AD22385" xlink:to="loc_us-gaap_ShareBasedCompensationAwardTrancheOneMember_024BD81E2B53A85BE8C5FE405AD355DE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationAwardTrancheTwoMember" xlink:label="loc_us-gaap_ShareBasedCompensationAwardTrancheTwoMember_0DDBD848A44BF6B7A40FFE405AD30192" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VestingDomain_2288F198120A62C3A760FE405AD22385" xlink:to="loc_us-gaap_ShareBasedCompensationAwardTrancheTwoMember_0DDBD848A44BF6B7A40FFE405AD30192" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_8204D38372FCCE51AC45FE405AD3588B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_34BDA00CC308F658D74DFE405AD321A2" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_8204D38372FCCE51AC45FE405AD3588B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage_A154E0804CA5740D3B79FE405AD36A10" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_34BDA00CC308F658D74DFE405AD321A2" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage_A154E0804CA5740D3B79FE405AD36A10" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsGranted" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsGranted_17ED6E84163CF8E45071FE405AD31C36" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_34BDA00CC308F658D74DFE405AD321A2" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsGranted_17ED6E84163CF8E45071FE405AD31C36" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_5EEBCDD04D878C23AAB3FE405AD37634" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_34BDA00CC308F658D74DFE405AD321A2" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_5EEBCDD04D878C23AAB3FE405AD37634" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_B3808F518856B143179AFE405AD3674C" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_34BDA00CC308F658D74DFE405AD321A2" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_B3808F518856B143179AFE405AD3674C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AllocatedShareBasedCompensationExpense" xlink:label="loc_us-gaap_AllocatedShareBasedCompensationExpense_9C957F0661A540FAF076FE405AD3D768" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_34BDA00CC308F658D74DFE405AD321A2" xlink:to="loc_us-gaap_AllocatedShareBasedCompensationExpense_9C957F0661A540FAF076FE405AD3D768" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/EquityIncentivePlans2017EmployeeStockPurchasePlanDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_01818C562EBDFFB8B5DFE37B7CEF2B14" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_2849C0664AE67B55D0D5E37B7CEE1A8A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_01818C562EBDFFB8B5DFE37B7CEF2B14" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_2849C0664AE67B55D0D5E37B7CEE1A8A" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_B00C26E5641319741E24E37B7CEE4E6C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_2849C0664AE67B55D0D5E37B7CEE1A8A" xlink:to="loc_us-gaap_AwardTypeAxis_B00C26E5641319741E24E37B7CEE4E6C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_A51712D65581FA286501E37B7CEE23C0_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_B00C26E5641319741E24E37B7CEE4E6C" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_A51712D65581FA286501E37B7CEE23C0_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_A51712D65581FA286501E37B7CEE23C0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_B00C26E5641319741E24E37B7CEE4E6C" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_A51712D65581FA286501E37B7CEE23C0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EmployeeStockMember" xlink:label="loc_us-gaap_EmployeeStockMember_C07F5828D4E1428F5D13E37B7CEFDAB9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_A51712D65581FA286501E37B7CEE23C0" xlink:to="loc_us-gaap_EmployeeStockMember_C07F5828D4E1428F5D13E37B7CEFDAB9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementClassOfStockAxis" xlink:label="loc_us-gaap_StatementClassOfStockAxis_98E68EBDE6B113B9BB2CE37B7CEFC0DD" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_2849C0664AE67B55D0D5E37B7CEE1A8A" xlink:to="loc_us-gaap_StatementClassOfStockAxis_98E68EBDE6B113B9BB2CE37B7CEFC0DD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_C5E3DCD7B8898761B599E37B7CEF5D33_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_98E68EBDE6B113B9BB2CE37B7CEFC0DD" xlink:to="loc_us-gaap_ClassOfStockDomain_C5E3DCD7B8898761B599E37B7CEF5D33_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_C5E3DCD7B8898761B599E37B7CEF5D33" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_98E68EBDE6B113B9BB2CE37B7CEFC0DD" xlink:to="loc_us-gaap_ClassOfStockDomain_C5E3DCD7B8898761B599E37B7CEF5D33" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CommonClassAMember" xlink:label="loc_us-gaap_CommonClassAMember_101B826EB327076D81C3E37B7CEF002D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_C5E3DCD7B8898761B599E37B7CEF5D33" xlink:to="loc_us-gaap_CommonClassAMember_101B826EB327076D81C3E37B7CEF002D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized_128634AEEC639E768D4CE37B7CEF257A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_01818C562EBDFFB8B5DFE37B7CEF2B14" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized_128634AEEC639E768D4CE37B7CEF257A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardMaximumEmployeeSubscriptionRate" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardMaximumEmployeeSubscriptionRate_5AFB03E61E96EC4864D3E37B7CEF7E7A" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_01818C562EBDFFB8B5DFE37B7CEF2B14" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardMaximumEmployeeSubscriptionRate_5AFB03E61E96EC4864D3E37B7CEF7E7A" xlink:type="arc" />
    <link:loc xlink:href="mdb-20180131.xsd#mdb_SharebasedCompensationArrangementbySharebasedPaymentAwardDurationOfOfferingPeriods" xlink:label="loc_mdb_SharebasedCompensationArrangementbySharebasedPaymentAwardDurationOfOfferingPeriods_3131FF14C893CCEF7CE9E37B7CEF97E3" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_01818C562EBDFFB8B5DFE37B7CEF2B14" xlink:to="loc_mdb_SharebasedCompensationArrangementbySharebasedPaymentAwardDurationOfOfferingPeriods_3131FF14C893CCEF7CE9E37B7CEF97E3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardPurchasePriceOfCommonStockPercent" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardPurchasePriceOfCommonStockPercent_4698E138BA831D5FD540E37B7CEF17E9" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_01818C562EBDFFB8B5DFE37B7CEF2B14" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardPurchasePriceOfCommonStockPercent_4698E138BA831D5FD540E37B7CEF17E9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesEmployeeStockPurchasePlans" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesEmployeeStockPurchasePlans_E295C611BBD78210937FE37B7CF06064" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_01818C562EBDFFB8B5DFE37B7CEF2B14" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesEmployeeStockPurchasePlans_E295C611BBD78210937FE37B7CF06064" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AllocatedShareBasedCompensationExpense" xlink:label="loc_us-gaap_AllocatedShareBasedCompensationExpense_94D65FF2CE366653B7F1E37B7CF0F911" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_01818C562EBDFFB8B5DFE37B7CEF2B14" xlink:to="loc_us-gaap_AllocatedShareBasedCompensationExpense_94D65FF2CE366653B7F1E37B7CF0F911" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/EquityIncentivePlansEarlyExerciseOfStockOptionsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_57F1F87F2962E2B9FF65E2636EAABDC7" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_6A0F23EB14D2BF4802E7E2636EA97144" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_57F1F87F2962E2B9FF65E2636EAABDC7" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_6A0F23EB14D2BF4802E7E2636EA97144" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_CAF568CA6DBB1BA28F3BE2636EAAE79B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_6A0F23EB14D2BF4802E7E2636EA97144" xlink:to="loc_us-gaap_AwardTypeAxis_CAF568CA6DBB1BA28F3BE2636EAAE79B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_340CD5CAE9F837132B67E2636EAA1884_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_CAF568CA6DBB1BA28F3BE2636EAAE79B" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_340CD5CAE9F837132B67E2636EAA1884_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_340CD5CAE9F837132B67E2636EAA1884" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_CAF568CA6DBB1BA28F3BE2636EAAE79B" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_340CD5CAE9F837132B67E2636EAA1884" xlink:type="arc" />
    <link:loc xlink:href="mdb-20180131.xsd#mdb_EarlyExercisedEmployeeStockOptionMember" xlink:label="loc_mdb_EarlyExercisedEmployeeStockOptionMember_861BC466EA93D138DCF0E2636EAA396E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_340CD5CAE9F837132B67E2636EAA1884" xlink:to="loc_mdb_EarlyExercisedEmployeeStockOptionMember_861BC466EA93D138DCF0E2636EAA396E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised_0B7707218DEDE496BE39E2636EAAEFC4" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_57F1F87F2962E2B9FF65E2636EAABDC7" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised_0B7707218DEDE496BE39E2636EAAEFC4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockRepurchasedDuringPeriodShares" xlink:label="loc_us-gaap_StockRepurchasedDuringPeriodShares_70114FCA628388FBF157E2636EAA2C5B" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_57F1F87F2962E2B9FF65E2636EAABDC7" xlink:to="loc_us-gaap_StockRepurchasedDuringPeriodShares_70114FCA628388FBF157E2636EAA2C5B" xlink:type="arc" />
    <link:loc xlink:href="mdb-20180131.xsd#mdb_SharebasedCompensationArrangementsbySharebasedPaymentAwardOptionsCommonStockSubjecttoRepurchaseShares" xlink:label="loc_mdb_SharebasedCompensationArrangementsbySharebasedPaymentAwardOptionsCommonStockSubjecttoRepurchaseShares_B619D113F598A30E58BAE2636EAA66F1" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_57F1F87F2962E2B9FF65E2636EAABDC7" xlink:to="loc_mdb_SharebasedCompensationArrangementsbySharebasedPaymentAwardOptionsCommonStockSubjecttoRepurchaseShares_B619D113F598A30E58BAE2636EAA66F1" xlink:type="arc" />
    <link:loc xlink:href="mdb-20180131.xsd#mdb_SharebasedCompensationArrangementsbySharebasedPaymentAwardOptionsFairValueofSharesSubjecttoRepurchase" xlink:label="loc_mdb_SharebasedCompensationArrangementsbySharebasedPaymentAwardOptionsFairValueofSharesSubjecttoRepurchase_3BF67B6257D6DC75520AE2636EAA89F6" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_57F1F87F2962E2B9FF65E2636EAABDC7" xlink:to="loc_mdb_SharebasedCompensationArrangementsbySharebasedPaymentAwardOptionsFairValueofSharesSubjecttoRepurchase_3BF67B6257D6DC75520AE2636EAA89F6" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/EquityIncentivePlansScheduleOfEsppValuationAssumptionsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_10E63511AA893D56DF9DE2636EA3BF1E" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_96BC7846797DEBEC5FC8E2636EA2E900" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_10E63511AA893D56DF9DE2636EA3BF1E" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_96BC7846797DEBEC5FC8E2636EA2E900" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RangeAxis" xlink:label="loc_us-gaap_RangeAxis_47AED7AB1CE05946FBE4E2636EA22879" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_96BC7846797DEBEC5FC8E2636EA2E900" xlink:to="loc_us-gaap_RangeAxis_47AED7AB1CE05946FBE4E2636EA22879" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_0FF4049470B8A00229F8E2636EA21EFB_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RangeAxis_47AED7AB1CE05946FBE4E2636EA22879" xlink:to="loc_us-gaap_RangeMember_0FF4049470B8A00229F8E2636EA21EFB_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_0FF4049470B8A00229F8E2636EA21EFB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RangeAxis_47AED7AB1CE05946FBE4E2636EA22879" xlink:to="loc_us-gaap_RangeMember_0FF4049470B8A00229F8E2636EA21EFB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MinimumMember" xlink:label="loc_us-gaap_MinimumMember_77DCE2D72E17B6D59A93E2636EA207F0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_0FF4049470B8A00229F8E2636EA21EFB" xlink:to="loc_us-gaap_MinimumMember_77DCE2D72E17B6D59A93E2636EA207F0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MaximumMember" xlink:label="loc_us-gaap_MaximumMember_05A3C82B1DE538D587C6E2636EA2970E" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_0FF4049470B8A00229F8E2636EA21EFB" xlink:to="loc_us-gaap_MaximumMember_05A3C82B1DE538D587C6E2636EA2970E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_65B1C51B073EA668EFF9E2636EA36736" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_96BC7846797DEBEC5FC8E2636EA2E900" xlink:to="loc_us-gaap_AwardTypeAxis_65B1C51B073EA668EFF9E2636EA36736" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_B76DCBFA09CDD18D5FC0E2636EA37A02_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_65B1C51B073EA668EFF9E2636EA36736" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_B76DCBFA09CDD18D5FC0E2636EA37A02_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_B76DCBFA09CDD18D5FC0E2636EA37A02" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_65B1C51B073EA668EFF9E2636EA36736" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_B76DCBFA09CDD18D5FC0E2636EA37A02" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EmployeeStockMember" xlink:label="loc_us-gaap_EmployeeStockMember_9EE9B4CA391F8E2D52DEE2636EA359D3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_B76DCBFA09CDD18D5FC0E2636EA37A02" xlink:to="loc_us-gaap_EmployeeStockMember_9EE9B4CA391F8E2D52DEE2636EA359D3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1_04469AAE91CE9E6C3525E2636EA3B159" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_10E63511AA893D56DF9DE2636EA3BF1E" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1_04469AAE91CE9E6C3525E2636EA3B159" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRateMinimum" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRateMinimum_E1B8EF1C67A07F835091E2636EA3C04A" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_10E63511AA893D56DF9DE2636EA3BF1E" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRateMinimum_E1B8EF1C67A07F835091E2636EA3C04A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRateMaximum" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRateMaximum_C70FB3758CB7EF531AC6E2636EA30459" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_10E63511AA893D56DF9DE2636EA3BF1E" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRateMaximum_C70FB3758CB7EF531AC6E2636EA30459" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate_C0F68C0CE10F260CFFEAE2636EA3D11C" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_10E63511AA893D56DF9DE2636EA3BF1E" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate_C0F68C0CE10F260CFFEAE2636EA3D11C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate_0FADFEB80EC5E35B3DBCE2636EA32FBA" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_10E63511AA893D56DF9DE2636EA3BF1E" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate_0FADFEB80EC5E35B3DBCE2636EA32FBA" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/EquityIncentivePlansScheduleOfStockOptionActivityDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_0A771FCED594E35DD20B6DE0D9D6032B" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_7648DDEFCE5D79D0526C6DE0D9D55D15" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_0A771FCED594E35DD20B6DE0D9D6032B" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_7648DDEFCE5D79D0526C6DE0D9D55D15" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_B67F1E2BBDE0B31C69866DE0D9D6C449" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_7648DDEFCE5D79D0526C6DE0D9D55D15" xlink:to="loc_us-gaap_AwardTypeAxis_B67F1E2BBDE0B31C69866DE0D9D6C449" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_22EDF8C7DF6C241DA7A26DE0D9D6B24D_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_B67F1E2BBDE0B31C69866DE0D9D6C449" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_22EDF8C7DF6C241DA7A26DE0D9D6B24D_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_22EDF8C7DF6C241DA7A26DE0D9D6B24D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_B67F1E2BBDE0B31C69866DE0D9D6C449" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_22EDF8C7DF6C241DA7A26DE0D9D6B24D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestrictedStockUnitsRSUMember" xlink:label="loc_us-gaap_RestrictedStockUnitsRSUMember_6FAC16B4B4FC20A043696DE0D9D62F56" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_22EDF8C7DF6C241DA7A26DE0D9D6B24D" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember_6FAC16B4B4FC20A043696DE0D9D62F56" xlink:type="arc" />
    <link:loc xlink:href="mdb-20180131.xsd#mdb_ShareBasedCompensationArrangementbySharebasedPaymentAwardSharesAvailableforGrantRollForward" xlink:label="loc_mdb_ShareBasedCompensationArrangementbySharebasedPaymentAwardSharesAvailableforGrantRollForward_891502BBB9D2F81D4FFF6DE0D9D6ED0B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_0A771FCED594E35DD20B6DE0D9D6032B" xlink:to="loc_mdb_ShareBasedCompensationArrangementbySharebasedPaymentAwardSharesAvailableforGrantRollForward_891502BBB9D2F81D4FFF6DE0D9D6ED0B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant_6164D77E0B5AF0CA03A86DE0D9D6EAC5" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mdb_ShareBasedCompensationArrangementbySharebasedPaymentAwardSharesAvailableforGrantRollForward_891502BBB9D2F81D4FFF6DE0D9D6ED0B" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant_6164D77E0B5AF0CA03A86DE0D9D6EAC5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfAdditionalSharesAuthorized" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfAdditionalSharesAuthorized_A6E113749727AC6BC1D96DE0D9D64621" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mdb_ShareBasedCompensationArrangementbySharebasedPaymentAwardSharesAvailableforGrantRollForward_891502BBB9D2F81D4FFF6DE0D9D6ED0B" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfAdditionalSharesAuthorized_A6E113749727AC6BC1D96DE0D9D64621" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross_8499D4AA742E821A439B6DE0D9D69806" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mdb_ShareBasedCompensationArrangementbySharebasedPaymentAwardSharesAvailableforGrantRollForward_891502BBB9D2F81D4FFF6DE0D9D6ED0B" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross_8499D4AA742E821A439B6DE0D9D69806" xlink:type="arc" />
    <link:loc xlink:href="mdb-20180131.xsd#mdb_ShareBasedCompensationByShareBasedPaymentAwardEarlyExercisesinPeriodSharesAvailableforGrant" xlink:label="loc_mdb_ShareBasedCompensationByShareBasedPaymentAwardEarlyExercisesinPeriodSharesAvailableforGrant_2846A70146443B755F796DE0D9D63C75" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mdb_ShareBasedCompensationArrangementbySharebasedPaymentAwardSharesAvailableforGrantRollForward_891502BBB9D2F81D4FFF6DE0D9D6ED0B" xlink:to="loc_mdb_ShareBasedCompensationByShareBasedPaymentAwardEarlyExercisesinPeriodSharesAvailableforGrant_2846A70146443B755F796DE0D9D63C75" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresAndExpirationsInPeriod" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresAndExpirationsInPeriod_CA391FF432919C40677B6DE0D9D6D0D6" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mdb_ShareBasedCompensationArrangementbySharebasedPaymentAwardSharesAvailableforGrantRollForward_891502BBB9D2F81D4FFF6DE0D9D6ED0B" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresAndExpirationsInPeriod_CA391FF432919C40677B6DE0D9D6D0D6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_8A08FE5296BAA68DD6B76DE0D9D6C0C7" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mdb_ShareBasedCompensationArrangementbySharebasedPaymentAwardSharesAvailableforGrantRollForward_891502BBB9D2F81D4FFF6DE0D9D6ED0B" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_8A08FE5296BAA68DD6B76DE0D9D6C0C7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingRollForward" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingRollForward_154A94EEC95DFC4E74296DE0D9D6E001" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_0A771FCED594E35DD20B6DE0D9D6032B" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingRollForward_154A94EEC95DFC4E74296DE0D9D6E001" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber_0F7FD869D0D096B5D5206DE0D9D65E0A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingRollForward_154A94EEC95DFC4E74296DE0D9D6E001" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber_0F7FD869D0D096B5D5206DE0D9D65E0A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised_503291AA89F6DAAD9B6F6DE0D9D7723F" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingRollForward_154A94EEC95DFC4E74296DE0D9D6E001" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised_503291AA89F6DAAD9B6F6DE0D9D7723F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableNumber" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableNumber_34B3A4A08BE653322F526DE0D9D7B295" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_0A771FCED594E35DD20B6DE0D9D6032B" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableNumber_34B3A4A08BE653322F526DE0D9D7B295" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestExercisableNumber" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestExercisableNumber_90CF4F0C56E00249A6B86DE0D9D74228" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_0A771FCED594E35DD20B6DE0D9D6032B" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestExercisableNumber_90CF4F0C56E00249A6B86DE0D9D74228" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePriceRollforward" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePriceRollforward_C7F0DC1B2ECB6E97AF676DE0D9D7D876" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_0A771FCED594E35DD20B6DE0D9D6032B" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePriceRollforward_C7F0DC1B2ECB6E97AF676DE0D9D7D876" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice_E23DAB026E58198841476DE0D9D7A77C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePriceRollforward_C7F0DC1B2ECB6E97AF676DE0D9D7D876" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice_E23DAB026E58198841476DE0D9D7A77C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageExercisePrice" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageExercisePrice_37C04CE5EB15407763F96DE0D9D735C0" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePriceRollforward_C7F0DC1B2ECB6E97AF676DE0D9D7D876" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageExercisePrice_37C04CE5EB15407763F96DE0D9D735C0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExercisesInPeriodWeightedAverageExercisePrice" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExercisesInPeriodWeightedAverageExercisePrice_D6A3500C22AE1FC230146DE0D9DCE6B6" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePriceRollforward_C7F0DC1B2ECB6E97AF676DE0D9D7D876" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExercisesInPeriodWeightedAverageExercisePrice_D6A3500C22AE1FC230146DE0D9DCE6B6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresAndExpirationsInPeriodWeightedAverageExercisePrice" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresAndExpirationsInPeriodWeightedAverageExercisePrice_21AAA813905A42082E816DE0D9DC72A8" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePriceRollforward_C7F0DC1B2ECB6E97AF676DE0D9D7D876" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresAndExpirationsInPeriodWeightedAverageExercisePrice_21AAA813905A42082E816DE0D9DC72A8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableWeightedAverageExercisePrice" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableWeightedAverageExercisePrice_61BE8080995F0AD213B06DE0D9DC8398" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_0A771FCED594E35DD20B6DE0D9D6032B" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableWeightedAverageExercisePrice_61BE8080995F0AD213B06DE0D9DC8398" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingWeightedAverageExercisePrice" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingWeightedAverageExercisePrice_AB9E28469FDAB2F576416DE0D9DC1965" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_0A771FCED594E35DD20B6DE0D9D6032B" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingWeightedAverageExercisePrice_AB9E28469FDAB2F576416DE0D9DC1965" xlink:type="arc" />
    <link:loc xlink:href="mdb-20180131.xsd#mdb_ShareBasedCompensationArrangementbySharebasedPaymentAwardWeightedAverageRemainingContractualTermRollForward" xlink:label="loc_mdb_ShareBasedCompensationArrangementbySharebasedPaymentAwardWeightedAverageRemainingContractualTermRollForward_C6F021CB3DB03B42381A6DE0D9DD4C4A" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_0A771FCED594E35DD20B6DE0D9D6032B" xlink:to="loc_mdb_ShareBasedCompensationArrangementbySharebasedPaymentAwardWeightedAverageRemainingContractualTermRollForward_C6F021CB3DB03B42381A6DE0D9DD4C4A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsOutstandingWeightedAverageRemainingContractualTerm2" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsOutstandingWeightedAverageRemainingContractualTerm2_4EBA216B5BB2065F6D2F6DE0D9DD2717" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mdb_ShareBasedCompensationArrangementbySharebasedPaymentAwardWeightedAverageRemainingContractualTermRollForward_C6F021CB3DB03B42381A6DE0D9DD4C4A" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsOutstandingWeightedAverageRemainingContractualTerm2_4EBA216B5BB2065F6D2F6DE0D9DD2717" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableWeightedAverageRemainingContractualTerm1" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableWeightedAverageRemainingContractualTerm1_04C8F4082590A2E472746E56EE548CD6" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mdb_ShareBasedCompensationArrangementbySharebasedPaymentAwardWeightedAverageRemainingContractualTermRollForward_C6F021CB3DB03B42381A6DE0D9DD4C4A" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableWeightedAverageRemainingContractualTerm1_04C8F4082590A2E472746E56EE548CD6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingWeightedAverageRemainingContractualTerm1" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingWeightedAverageRemainingContractualTerm1_BBA3A86C64EB2133F9786DE0D9DD58E5" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mdb_ShareBasedCompensationArrangementbySharebasedPaymentAwardWeightedAverageRemainingContractualTermRollForward_C6F021CB3DB03B42381A6DE0D9DD4C4A" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingWeightedAverageRemainingContractualTerm1_BBA3A86C64EB2133F9786DE0D9DD58E5" xlink:type="arc" />
    <link:loc xlink:href="mdb-20180131.xsd#mdb_ShareBasedCompensationArrangementbySharebasedPaymentAwardAggregateIntrinsicValueRollForward" xlink:label="loc_mdb_ShareBasedCompensationArrangementbySharebasedPaymentAwardAggregateIntrinsicValueRollForward_E9C91F1A64A2A17C84B76DE0D9DDED57" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_0A771FCED594E35DD20B6DE0D9D6032B" xlink:to="loc_mdb_ShareBasedCompensationArrangementbySharebasedPaymentAwardAggregateIntrinsicValueRollForward_E9C91F1A64A2A17C84B76DE0D9DDED57" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingIntrinsicValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingIntrinsicValue_022B0C497BA0D1E824FD6DE0D9DDC789" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mdb_ShareBasedCompensationArrangementbySharebasedPaymentAwardAggregateIntrinsicValueRollForward_E9C91F1A64A2A17C84B76DE0D9DDED57" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingIntrinsicValue_022B0C497BA0D1E824FD6DE0D9DDC789" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableIntrinsicValue1" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableIntrinsicValue1_DAAEA65C14B421D5FCBC6E5AA4C99561" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mdb_ShareBasedCompensationArrangementbySharebasedPaymentAwardAggregateIntrinsicValueRollForward_E9C91F1A64A2A17C84B76DE0D9DDED57" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableIntrinsicValue1_DAAEA65C14B421D5FCBC6E5AA4C99561" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingAggregateIntrinsicValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingAggregateIntrinsicValue_0B2698F8F5E366ABAD546DE0D9DDDCF3" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mdb_ShareBasedCompensationArrangementbySharebasedPaymentAwardAggregateIntrinsicValueRollForward_E9C91F1A64A2A17C84B76DE0D9DDED57" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingAggregateIntrinsicValue_0B2698F8F5E366ABAD546DE0D9DDDCF3" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/EquityIncentivePlansScheduleOfStockOptionValuationAssumptionsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_3832002BC4A1273464C1FE405ABAAFCF" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_B052204F7703A3DBFBF9FE405AB8E7F7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_3832002BC4A1273464C1FE405ABAAFCF" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_B052204F7703A3DBFBF9FE405AB8E7F7" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_C4B20F6457EF43588152FE405AB94E00" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_B052204F7703A3DBFBF9FE405AB8E7F7" xlink:to="loc_us-gaap_AwardTypeAxis_C4B20F6457EF43588152FE405AB94E00" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_168611C4D94BF9EEBC77FE405AB9DD17_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_C4B20F6457EF43588152FE405AB94E00" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_168611C4D94BF9EEBC77FE405AB9DD17_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_168611C4D94BF9EEBC77FE405AB9DD17" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_C4B20F6457EF43588152FE405AB94E00" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_168611C4D94BF9EEBC77FE405AB9DD17" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EmployeeStockOptionMember" xlink:label="loc_us-gaap_EmployeeStockOptionMember_D219704D16904B028B63FE405AB939EA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_168611C4D94BF9EEBC77FE405AB9DD17" xlink:to="loc_us-gaap_EmployeeStockOptionMember_D219704D16904B028B63FE405AB939EA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RangeAxis" xlink:label="loc_us-gaap_RangeAxis_3458DEAEEDF88D137FA3FE405AB92BB8" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_B052204F7703A3DBFBF9FE405AB8E7F7" xlink:to="loc_us-gaap_RangeAxis_3458DEAEEDF88D137FA3FE405AB92BB8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_8E8FD8CE1313E5642A8AFE405AB9AA3E_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RangeAxis_3458DEAEEDF88D137FA3FE405AB92BB8" xlink:to="loc_us-gaap_RangeMember_8E8FD8CE1313E5642A8AFE405AB9AA3E_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_8E8FD8CE1313E5642A8AFE405AB9AA3E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RangeAxis_3458DEAEEDF88D137FA3FE405AB92BB8" xlink:to="loc_us-gaap_RangeMember_8E8FD8CE1313E5642A8AFE405AB9AA3E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MinimumMember" xlink:label="loc_us-gaap_MinimumMember_C9F554BF9525547AF95DFE405AB94F85" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_8E8FD8CE1313E5642A8AFE405AB9AA3E" xlink:to="loc_us-gaap_MinimumMember_C9F554BF9525547AF95DFE405AB94F85" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MaximumMember" xlink:label="loc_us-gaap_MaximumMember_AEBE1219FF1727BDA074FE405AB9F847" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_8E8FD8CE1313E5642A8AFE405AB9AA3E" xlink:to="loc_us-gaap_MaximumMember_AEBE1219FF1727BDA074FE405AB9F847" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1_6B96E3786DB4865A640AFE405ABA6C52" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_3832002BC4A1273464C1FE405ABAAFCF" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1_6B96E3786DB4865A640AFE405ABA6C52" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate_496E1C83288182A7CFCDFE405ABAE96E" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_3832002BC4A1273464C1FE405ABAAFCF" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate_496E1C83288182A7CFCDFE405ABAE96E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRateMinimum" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRateMinimum_ED53B8AC5ED116C4B072FE405ABAF3C4" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_3832002BC4A1273464C1FE405ABAAFCF" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRateMinimum_ED53B8AC5ED116C4B072FE405ABAF3C4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRateMaximum" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRateMaximum_BC4EAE85263E86C9A23EFE405ABAB4E2" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_3832002BC4A1273464C1FE405ABAAFCF" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRateMaximum_BC4EAE85263E86C9A23EFE405ABAB4E2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRateMinimum" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRateMinimum_273B55A96DD6980FCC6FFE405ABAEC9C" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_3832002BC4A1273464C1FE405ABAAFCF" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRateMinimum_273B55A96DD6980FCC6FFE405ABAEC9C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRateMaximum" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRateMaximum_DD245877E9248F6A185BFE405ABAF322" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_3832002BC4A1273464C1FE405ABAAFCF" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRateMaximum_DD245877E9248F6A185BFE405ABAF322" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate_8AA9CB3CA50752D22021FE405ABA463D" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_3832002BC4A1273464C1FE405ABAAFCF" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate_8AA9CB3CA50752D22021FE405ABA463D" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/EquityIncentivePlansStockBasedCompensationExpenseRecognizedInStatementOfOperationsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_F7219E9A0EDC16481F7CFE405AAA1A5B" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_F6E0120E7154440CCF47FE405AA9F5B9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_F7219E9A0EDC16481F7CFE405AAA1A5B" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_F6E0120E7154440CCF47FE405AA9F5B9" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeStatementLocationAxis" xlink:label="loc_us-gaap_IncomeStatementLocationAxis_4F2DFE5663EAC7D987DBFE405AA94DCE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_F6E0120E7154440CCF47FE405AA9F5B9" xlink:to="loc_us-gaap_IncomeStatementLocationAxis_4F2DFE5663EAC7D987DBFE405AA94DCE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeStatementLocationDomain" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_BDA9223BE0A8E0C0870BFE405AA9B636_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_4F2DFE5663EAC7D987DBFE405AA94DCE" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_BDA9223BE0A8E0C0870BFE405AA9B636_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeStatementLocationDomain" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_BDA9223BE0A8E0C0870BFE405AA9B636" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_4F2DFE5663EAC7D987DBFE405AA94DCE" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_BDA9223BE0A8E0C0870BFE405AA9B636" xlink:type="arc" />
    <link:loc xlink:href="mdb-20180131.xsd#mdb_CostofRevenueSubscriptionMember" xlink:label="loc_mdb_CostofRevenueSubscriptionMember_4EFD33E63FCAC5A57011FE405AA9B931" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_BDA9223BE0A8E0C0870BFE405AA9B636" xlink:to="loc_mdb_CostofRevenueSubscriptionMember_4EFD33E63FCAC5A57011FE405AA9B931" xlink:type="arc" />
    <link:loc xlink:href="mdb-20180131.xsd#mdb_CostofRevenueServicesMember" xlink:label="loc_mdb_CostofRevenueServicesMember_1717BE59BE8BEF4D2A5AFE405AA96AA2" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_BDA9223BE0A8E0C0870BFE405AA9B636" xlink:to="loc_mdb_CostofRevenueServicesMember_1717BE59BE8BEF4D2A5AFE405AA96AA2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SellingAndMarketingExpenseMember" xlink:label="loc_us-gaap_SellingAndMarketingExpenseMember_F0B919CCD2E053F41904FE405AA99B7C" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_BDA9223BE0A8E0C0870BFE405AA9B636" xlink:to="loc_us-gaap_SellingAndMarketingExpenseMember_F0B919CCD2E053F41904FE405AA99B7C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ResearchAndDevelopmentExpenseMember" xlink:label="loc_us-gaap_ResearchAndDevelopmentExpenseMember_DF7B8E930AD1783A0966FE405AA9ABEB" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_BDA9223BE0A8E0C0870BFE405AA9B636" xlink:to="loc_us-gaap_ResearchAndDevelopmentExpenseMember_DF7B8E930AD1783A0966FE405AA9ABEB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_GeneralAndAdministrativeExpenseMember" xlink:label="loc_us-gaap_GeneralAndAdministrativeExpenseMember_2E22D0DF7F3A8A315C59FE405AA9CAF2" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_BDA9223BE0A8E0C0870BFE405AA9B636" xlink:to="loc_us-gaap_GeneralAndAdministrativeExpenseMember_2E22D0DF7F3A8A315C59FE405AA9CAF2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AllocatedShareBasedCompensationExpense" xlink:label="loc_us-gaap_AllocatedShareBasedCompensationExpense_E2012BBFA00CB9DBF490FE405AAA1089" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_F7219E9A0EDC16481F7CFE405AAA1A5B" xlink:to="loc_us-gaap_AllocatedShareBasedCompensationExpense_E2012BBFA00CB9DBF490FE405AAA1089" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/EquityIncentivePlansStockOptionRepricingDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_BC0C82ED0BE9200385C2E37B7CE91202" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_CDC5F0DE452605B95C0BE37B7CE8A720" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_BC0C82ED0BE9200385C2E37B7CE91202" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_CDC5F0DE452605B95C0BE37B7CE8A720" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_B7539C60112B6B72FCCBE37B7CE8AD46" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_CDC5F0DE452605B95C0BE37B7CE8A720" xlink:to="loc_us-gaap_AwardTypeAxis_B7539C60112B6B72FCCBE37B7CE8AD46" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_D9EB1C6EE7C6A0E55A69E37B7CE8B704_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_B7539C60112B6B72FCCBE37B7CE8AD46" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_D9EB1C6EE7C6A0E55A69E37B7CE8B704_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_D9EB1C6EE7C6A0E55A69E37B7CE8B704" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_B7539C60112B6B72FCCBE37B7CE8AD46" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_D9EB1C6EE7C6A0E55A69E37B7CE8B704" xlink:type="arc" />
    <link:loc xlink:href="mdb-20180131.xsd#mdb_StockOptionRepricingMember" xlink:label="loc_mdb_StockOptionRepricingMember_9CD0818B5623A4618F15E37B7CE89638" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_D9EB1C6EE7C6A0E55A69E37B7CE8B704" xlink:to="loc_mdb_StockOptionRepricingMember_9CD0818B5623A4618F15E37B7CE89638" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RangeAxis" xlink:label="loc_us-gaap_RangeAxis_2328ACF67A0E2F9224E1E37B7CE8C112" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_CDC5F0DE452605B95C0BE37B7CE8A720" xlink:to="loc_us-gaap_RangeAxis_2328ACF67A0E2F9224E1E37B7CE8C112" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_C10A48F25411BCF9C403E37B7CE8E650_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RangeAxis_2328ACF67A0E2F9224E1E37B7CE8C112" xlink:to="loc_us-gaap_RangeMember_C10A48F25411BCF9C403E37B7CE8E650_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_C10A48F25411BCF9C403E37B7CE8E650" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RangeAxis_2328ACF67A0E2F9224E1E37B7CE8C112" xlink:to="loc_us-gaap_RangeMember_C10A48F25411BCF9C403E37B7CE8E650" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MinimumMember" xlink:label="loc_us-gaap_MinimumMember_73BCEBD1FE1C46552890E37B7CE81B3B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_C10A48F25411BCF9C403E37B7CE8E650" xlink:to="loc_us-gaap_MinimumMember_73BCEBD1FE1C46552890E37B7CE81B3B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TitleOfIndividualAxis" xlink:label="loc_us-gaap_TitleOfIndividualAxis_2F5FB98F8C56C46B98D2E37B7CE95454" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_CDC5F0DE452605B95C0BE37B7CE8A720" xlink:to="loc_us-gaap_TitleOfIndividualAxis_2F5FB98F8C56C46B98D2E37B7CE95454" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TitleOfIndividualWithRelationshipToEntityDomain" xlink:label="loc_us-gaap_TitleOfIndividualWithRelationshipToEntityDomain_41C196D0D0ECECDBD14EE37B7CE9DB98_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_TitleOfIndividualAxis_2F5FB98F8C56C46B98D2E37B7CE95454" xlink:to="loc_us-gaap_TitleOfIndividualWithRelationshipToEntityDomain_41C196D0D0ECECDBD14EE37B7CE9DB98_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TitleOfIndividualWithRelationshipToEntityDomain" xlink:label="loc_us-gaap_TitleOfIndividualWithRelationshipToEntityDomain_41C196D0D0ECECDBD14EE37B7CE9DB98" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_TitleOfIndividualAxis_2F5FB98F8C56C46B98D2E37B7CE95454" xlink:to="loc_us-gaap_TitleOfIndividualWithRelationshipToEntityDomain_41C196D0D0ECECDBD14EE37B7CE9DB98" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ExecutiveOfficerMember" xlink:label="loc_us-gaap_ExecutiveOfficerMember_91533FF56003EA95CB65E37B7CE9396A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TitleOfIndividualWithRelationshipToEntityDomain_41C196D0D0ECECDBD14EE37B7CE9DB98" xlink:to="loc_us-gaap_ExecutiveOfficerMember_91533FF56003EA95CB65E37B7CE9396A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SharebasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeOutstandingOptionsWeightedAverageExercisePriceBeginningBalance1" xlink:label="loc_us-gaap_SharebasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeOutstandingOptionsWeightedAverageExercisePriceBeginningBalance1_41848561899D2438BF91E37B7CE9BBF8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_BC0C82ED0BE9200385C2E37B7CE91202" xlink:to="loc_us-gaap_SharebasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeOutstandingOptionsWeightedAverageExercisePriceBeginningBalance1_41848561899D2438BF91E37B7CE9BBF8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber_AD6A1C6B191DC16A3A02E37B7CE95F93" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_BC0C82ED0BE9200385C2E37B7CE91202" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber_AD6A1C6B191DC16A3A02E37B7CE95F93" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardPlanModificationIncrementalCompensationCost" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardPlanModificationIncrementalCompensationCost_FCEFCFFA4E204CDB889DE37B7CE9F750" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_BC0C82ED0BE9200385C2E37B7CE91202" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardPlanModificationIncrementalCompensationCost_FCEFCFFA4E204CDB889DE37B7CE9F750" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/EquityIncentivePlansStockOptionsAndRestrictedStockUnitsAdditionalInformationDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_CDC31DD50DCD3782F184698731C97716" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_83D014C47CE17064144A698731C97B3D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_CDC31DD50DCD3782F184698731C97716" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_83D014C47CE17064144A698731C97B3D" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_DF3B24FE177A074ABE4E698731C95ECC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_83D014C47CE17064144A698731C97B3D" xlink:to="loc_us-gaap_AwardTypeAxis_DF3B24FE177A074ABE4E698731C95ECC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_76DFA67B57F2615EB689698731C9A845_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_DF3B24FE177A074ABE4E698731C95ECC" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_76DFA67B57F2615EB689698731C9A845_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_76DFA67B57F2615EB689698731C9A845" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_DF3B24FE177A074ABE4E698731C95ECC" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_76DFA67B57F2615EB689698731C9A845" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestrictedStockUnitsRSUMember" xlink:label="loc_us-gaap_RestrictedStockUnitsRSUMember_54F9AA0DCBB6D176019C698731C93589" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_76DFA67B57F2615EB689698731C9A845" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember_54F9AA0DCBB6D176019C698731C93589" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EmployeeStockOptionMember" xlink:label="loc_us-gaap_EmployeeStockOptionMember_DA2B4B3E239DB11664F3698731C9134D" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_76DFA67B57F2615EB689698731C9A845" xlink:to="loc_us-gaap_EmployeeStockOptionMember_DA2B4B3E239DB11664F3698731C9134D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_ABC908E524409C73B1BE698731C9F4FC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_CDC31DD50DCD3782F184698731C97716" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_ABC908E524409C73B1BE698731C9F4FC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue_3766039F2BED1DDF90156997A02A60E5" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_CDC31DD50DCD3782F184698731C97716" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue_3766039F2BED1DDF90156997A02A60E5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedInPeriodFairValue1" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedInPeriodFairValue1_07DA7C955868AADE9555698731C90567" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_CDC31DD50DCD3782F184698731C97716" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedInPeriodFairValue1_07DA7C955868AADE9555698731C90567" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedStockOptions" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedStockOptions_530AB43A2FB58F223DEC69A6CE921ACD" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_CDC31DD50DCD3782F184698731C97716" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedStockOptions_530AB43A2FB58F223DEC69A6CE921ACD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_5254425E73A0183DCB41698731C94113" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_CDC31DD50DCD3782F184698731C97716" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_5254425E73A0183DCB41698731C94113" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_E5559A91A3B03C5CBA24698731C9A043" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_CDC31DD50DCD3782F184698731C97716" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_E5559A91A3B03C5CBA24698731C9A043" xlink:type="arc" />
    <link:loc xlink:href="mdb-20180131.xsd#mdb_SharebasedCompensationArrangementbySharebasedPaymentAwardEquityInstrumentsOtherthanOptionsGrantsInPeriodGrantDateFairValue" xlink:label="loc_mdb_SharebasedCompensationArrangementbySharebasedPaymentAwardEquityInstrumentsOtherthanOptionsGrantsInPeriodGrantDateFairValue_0D667637E4CBD251DA25698731C9D5CE" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_CDC31DD50DCD3782F184698731C97716" xlink:to="loc_mdb_SharebasedCompensationArrangementbySharebasedPaymentAwardEquityInstrumentsOtherthanOptionsGrantsInPeriodGrantDateFairValue_0D667637E4CBD251DA25698731C9D5CE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_97B14B735B352C4950F1698731C99B28" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_CDC31DD50DCD3782F184698731C97716" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_97B14B735B352C4950F1698731C99B28" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod_64107D7117E1848C320E698731C946CE" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_CDC31DD50DCD3782F184698731C97716" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod_64107D7117E1848C320E698731C946CE" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/EquityIncentivePlansTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.mongodb.com/role/FairValueMeasurements" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.mongodb.com/role/FairValueMeasurementsScheduleOfFinancialAssetsAndLiabilitiesMeasuredAtFairValueDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_23A38BB2B78B7563EE8277B66A1E06EF" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_F6327EADFFFE67492D1677B66A1CC87E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_23A38BB2B78B7563EE8277B66A1E06EF" xlink:to="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_F6327EADFFFE67492D1677B66A1CC87E" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CashAndCashEquivalentsAxis" xlink:label="loc_us-gaap_CashAndCashEquivalentsAxis_24DE354E93661D10ED9277B66A1D1521" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_F6327EADFFFE67492D1677B66A1CC87E" xlink:to="loc_us-gaap_CashAndCashEquivalentsAxis_24DE354E93661D10ED9277B66A1D1521" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember" xlink:label="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember_E1ADA7AC9469CAACCD0C77B66A1DBA66_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_CashAndCashEquivalentsAxis_24DE354E93661D10ED9277B66A1D1521" xlink:to="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember_E1ADA7AC9469CAACCD0C77B66A1DBA66_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember" xlink:label="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember_E1ADA7AC9469CAACCD0C77B66A1DBA66" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_CashAndCashEquivalentsAxis_24DE354E93661D10ED9277B66A1D1521" xlink:to="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember_E1ADA7AC9469CAACCD0C77B66A1DBA66" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MoneyMarketFundsMember" xlink:label="loc_us-gaap_MoneyMarketFundsMember_5BE7BBC8A2C4B58540B377B66A1DB481" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember_E1ADA7AC9469CAACCD0C77B66A1DBA66" xlink:to="loc_us-gaap_MoneyMarketFundsMember_5BE7BBC8A2C4B58540B377B66A1DB481" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_USTreasurySecuritiesMember" xlink:label="loc_us-gaap_USTreasurySecuritiesMember_5DE1A069903B9D640A9177B66A1DEB7E" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember_E1ADA7AC9469CAACCD0C77B66A1DBA66" xlink:to="loc_us-gaap_USTreasurySecuritiesMember_5DE1A069903B9D640A9177B66A1DEB7E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_7FD5B9D933F57D3A069877B66A1DF021" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_F6327EADFFFE67492D1677B66A1CC87E" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_7FD5B9D933F57D3A069877B66A1DF021" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_D1E861C9198B1F7A243277B66A1D9960_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_7FD5B9D933F57D3A069877B66A1DF021" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_D1E861C9198B1F7A243277B66A1D9960_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_D1E861C9198B1F7A243277B66A1D9960" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_7FD5B9D933F57D3A069877B66A1DF021" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_D1E861C9198B1F7A243277B66A1D9960" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_USTreasurySecuritiesMember" xlink:label="loc_us-gaap_USTreasurySecuritiesMember_A337A26B6A1D107C18AE77B66A1DB854" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_D1E861C9198B1F7A243277B66A1D9960" xlink:to="loc_us-gaap_USTreasurySecuritiesMember_A337A26B6A1D107C18AE77B66A1DB854" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueByMeasurementFrequencyAxis" xlink:label="loc_us-gaap_FairValueByMeasurementFrequencyAxis_105660B86E2786253C6877B66A1D306E" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_F6327EADFFFE67492D1677B66A1CC87E" xlink:to="loc_us-gaap_FairValueByMeasurementFrequencyAxis_105660B86E2786253C6877B66A1D306E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueMeasurementFrequencyDomain" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_FA6D69E0799F7425F74077B66A1D2E4C_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_105660B86E2786253C6877B66A1D306E" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_FA6D69E0799F7425F74077B66A1D2E4C_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueMeasurementFrequencyDomain" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_FA6D69E0799F7425F74077B66A1D2E4C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_105660B86E2786253C6877B66A1D306E" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_FA6D69E0799F7425F74077B66A1D2E4C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueMeasurementsRecurringMember" xlink:label="loc_us-gaap_FairValueMeasurementsRecurringMember_3FD7F07C81EFB379251A77B66A1DB32E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementFrequencyDomain_FA6D69E0799F7425F74077B66A1D2E4C" xlink:to="loc_us-gaap_FairValueMeasurementsRecurringMember_3FD7F07C81EFB379251A77B66A1DB32E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_305EB7F78CD778E9996C77B66A1D781B" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_F6327EADFFFE67492D1677B66A1CC87E" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_305EB7F78CD778E9996C77B66A1D781B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_149C7B83CD165D2403B077B66A1DE342_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_305EB7F78CD778E9996C77B66A1D781B" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_149C7B83CD165D2403B077B66A1DE342_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_149C7B83CD165D2403B077B66A1DE342" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_305EB7F78CD778E9996C77B66A1D781B" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_149C7B83CD165D2403B077B66A1DE342" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueInputsLevel1Member" xlink:label="loc_us-gaap_FairValueInputsLevel1Member_9C826C83802D3F29EC8977B66A1D3F36" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_149C7B83CD165D2403B077B66A1DE342" xlink:to="loc_us-gaap_FairValueInputsLevel1Member_9C826C83802D3F29EC8977B66A1D3F36" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueInputsLevel2Member" xlink:label="loc_us-gaap_FairValueInputsLevel2Member_9E7A5D425F21DF81FDD977B66A1E4B4E" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_149C7B83CD165D2403B077B66A1DE342" xlink:to="loc_us-gaap_FairValueInputsLevel2Member_9E7A5D425F21DF81FDD977B66A1E4B4E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueInputsLevel3Member" xlink:label="loc_us-gaap_FairValueInputsLevel3Member_040E481B05C43D60F8ED77B66A1EE7FE" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_149C7B83CD165D2403B077B66A1DE342" xlink:to="loc_us-gaap_FairValueInputsLevel3Member_040E481B05C43D60F8ED77B66A1EE7FE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AssetsFairValueDisclosureAbstract" xlink:label="loc_us-gaap_AssetsFairValueDisclosureAbstract_7113BB809FD0EBB37B7E77B66A1E6022" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_23A38BB2B78B7563EE8277B66A1E06EF" xlink:to="loc_us-gaap_AssetsFairValueDisclosureAbstract_7113BB809FD0EBB37B7E77B66A1E6022" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CashAndCashEquivalentsAbstract" xlink:label="loc_us-gaap_CashAndCashEquivalentsAbstract_FC1830228048CAFC957077B66A1E940F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsFairValueDisclosureAbstract_7113BB809FD0EBB37B7E77B66A1E6022" xlink:to="loc_us-gaap_CashAndCashEquivalentsAbstract_FC1830228048CAFC957077B66A1E940F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CashAndCashEquivalentsFairValueDisclosure" xlink:label="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_1947464CA559D3BDC15977B66A1E4058" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CashAndCashEquivalentsAbstract_FC1830228048CAFC957077B66A1E940F" xlink:to="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_1947464CA559D3BDC15977B66A1E4058" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShortTermInvestmentsAbstract" xlink:label="loc_us-gaap_ShortTermInvestmentsAbstract_751F61BE90ED99F8206477B66A1E6203" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsFairValueDisclosureAbstract_7113BB809FD0EBB37B7E77B66A1E6022" xlink:to="loc_us-gaap_ShortTermInvestmentsAbstract_751F61BE90ED99F8206477B66A1E6203" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecurities" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_5E86B7566623EA04C33977B66A1EC89B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShortTermInvestmentsAbstract_751F61BE90ED99F8206477B66A1E6203" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_5E86B7566623EA04C33977B66A1EC89B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AssetsFairValueDisclosure" xlink:label="loc_us-gaap_AssetsFairValueDisclosure_2D1380E09DB981ED4C4277B66A1E0244" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsFairValueDisclosureAbstract_7113BB809FD0EBB37B7E77B66A1E6022" xlink:to="loc_us-gaap_AssetsFairValueDisclosure_2D1380E09DB981ED4C4277B66A1E0244" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FinancialLiabilitiesFairValueDisclosureAbstract" xlink:label="loc_us-gaap_FinancialLiabilitiesFairValueDisclosureAbstract_DD05DB556E8AD4AC5E4A77B66A1E0A6F" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_23A38BB2B78B7563EE8277B66A1E06EF" xlink:to="loc_us-gaap_FinancialLiabilitiesFairValueDisclosureAbstract_DD05DB556E8AD4AC5E4A77B66A1E0A6F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_WarrantsAndRightsOutstanding" xlink:label="loc_us-gaap_WarrantsAndRightsOutstanding_3CC56A6703222A602A4C77B66A1E90CD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancialLiabilitiesFairValueDisclosureAbstract_DD05DB556E8AD4AC5E4A77B66A1E0A6F" xlink:to="loc_us-gaap_WarrantsAndRightsOutstanding_3CC56A6703222A602A4C77B66A1E90CD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FinancialLiabilitiesFairValueDisclosure" xlink:label="loc_us-gaap_FinancialLiabilitiesFairValueDisclosure_70623AA287F17609272677B66A1FD008" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancialLiabilitiesFairValueDisclosureAbstract_DD05DB556E8AD4AC5E4A77B66A1E0A6F" xlink:to="loc_us-gaap_FinancialLiabilitiesFairValueDisclosure_70623AA287F17609272677B66A1FD008" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/FairValueMeasurementsScheduleOfReconciliationOfRedeemableConvertiblePreferredStockWarrantLiabilityDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationLineItems" xlink:label="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationLineItems_F60F8574F920E1052F32E2636EE47002" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationTable" xlink:label="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationTable_3AE4059248BBBA99156EE2636EE3134E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationLineItems_F60F8574F920E1052F32E2636EE47002" xlink:to="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationTable_3AE4059248BBBA99156EE2636EE3134E" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueByLiabilityClassAxis" xlink:label="loc_us-gaap_FairValueByLiabilityClassAxis_4C0B3E307619257CF3F2E2636EE35A76" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationTable_3AE4059248BBBA99156EE2636EE3134E" xlink:to="loc_us-gaap_FairValueByLiabilityClassAxis_4C0B3E307619257CF3F2E2636EE35A76" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationByLiabilityClassDomain" xlink:label="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationByLiabilityClassDomain_CE9130D2A22B17418616E2636EE48C00_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByLiabilityClassAxis_4C0B3E307619257CF3F2E2636EE35A76" xlink:to="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationByLiabilityClassDomain_CE9130D2A22B17418616E2636EE48C00_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationByLiabilityClassDomain" xlink:label="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationByLiabilityClassDomain_CE9130D2A22B17418616E2636EE48C00" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByLiabilityClassAxis_4C0B3E307619257CF3F2E2636EE35A76" xlink:to="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationByLiabilityClassDomain_CE9130D2A22B17418616E2636EE48C00" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_WarrantsAndRightsSubjectToMandatoryRedemptionMember" xlink:label="loc_us-gaap_WarrantsAndRightsSubjectToMandatoryRedemptionMember_34CB624286AF10DE75BFE2636EE43B14" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationByLiabilityClassDomain_CE9130D2A22B17418616E2636EE48C00" xlink:to="loc_us-gaap_WarrantsAndRightsSubjectToMandatoryRedemptionMember_34CB624286AF10DE75BFE2636EE43B14" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward" xlink:label="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward_0DE226EBF722B81BA17DE2636EE4A2EF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationLineItems_F60F8574F920E1052F32E2636EE47002" xlink:to="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward_0DE226EBF722B81BA17DE2636EE4A2EF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationsRecurringBasisLiabilityValue" xlink:label="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationsRecurringBasisLiabilityValue_79525A7B912DC5E61014E2636EE4EEFC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward_0DE226EBF722B81BA17DE2636EE4A2EF" xlink:to="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationsRecurringBasisLiabilityValue_79525A7B912DC5E61014E2636EE4EEFC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityIssues" xlink:label="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityIssues_F55A8FC66F7E38D4AAE3E2636EE47AE8" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward_0DE226EBF722B81BA17DE2636EE4A2EF" xlink:to="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityIssues_F55A8FC66F7E38D4AAE3E2636EE47AE8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilitySettlements" xlink:label="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilitySettlements_088F55563B4A74BD08D4E2636EE4BDEE" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward_0DE226EBF722B81BA17DE2636EE4A2EF" xlink:to="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilitySettlements_088F55563B4A74BD08D4E2636EE4BDEE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityGainLossIncludedInEarnings" xlink:label="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityGainLossIncludedInEarnings_05F9C0749432997DD93FE2636EE4A3DA" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward_0DE226EBF722B81BA17DE2636EE4A2EF" xlink:to="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityGainLossIncludedInEarnings_05F9C0749432997DD93FE2636EE4A3DA" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/FairValueMeasurementsTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.mongodb.com/role/IncomeTaxes" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.mongodb.com/role/IncomeTaxesAdditionalInformationDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OperatingLossCarryforwardsLineItems" xlink:label="loc_us-gaap_OperatingLossCarryforwardsLineItems_7902A03E206F1C37F77569873134FE37" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OperatingLossCarryforwardsTable" xlink:label="loc_us-gaap_OperatingLossCarryforwardsTable_C789F9A6B176BB6D3A62698731341E0E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_OperatingLossCarryforwardsLineItems_7902A03E206F1C37F77569873134FE37" xlink:to="loc_us-gaap_OperatingLossCarryforwardsTable_C789F9A6B176BB6D3A62698731341E0E" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeTaxAuthorityAxis" xlink:label="loc_us-gaap_IncomeTaxAuthorityAxis_1DFD9647BBE14210E41B69873134DEF8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_OperatingLossCarryforwardsTable_C789F9A6B176BB6D3A62698731341E0E" xlink:to="loc_us-gaap_IncomeTaxAuthorityAxis_1DFD9647BBE14210E41B69873134DEF8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeTaxAuthorityDomain" xlink:label="loc_us-gaap_IncomeTaxAuthorityDomain_5D13C2E9223E225A4B7369873134FC87_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeTaxAuthorityAxis_1DFD9647BBE14210E41B69873134DEF8" xlink:to="loc_us-gaap_IncomeTaxAuthorityDomain_5D13C2E9223E225A4B7369873134FC87_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeTaxAuthorityDomain" xlink:label="loc_us-gaap_IncomeTaxAuthorityDomain_5D13C2E9223E225A4B7369873134FC87" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeTaxAuthorityAxis_1DFD9647BBE14210E41B69873134DEF8" xlink:to="loc_us-gaap_IncomeTaxAuthorityDomain_5D13C2E9223E225A4B7369873134FC87" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DomesticCountryMember" xlink:label="loc_us-gaap_DomesticCountryMember_D369BDC93EBDD2D2310769873134AD0D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxAuthorityDomain_5D13C2E9223E225A4B7369873134FC87" xlink:to="loc_us-gaap_DomesticCountryMember_D369BDC93EBDD2D2310769873134AD0D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StateAndLocalJurisdictionMember" xlink:label="loc_us-gaap_StateAndLocalJurisdictionMember_8E54C449EBE9504DD31669873134DF45" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxAuthorityDomain_5D13C2E9223E225A4B7369873134FC87" xlink:to="loc_us-gaap_StateAndLocalJurisdictionMember_8E54C449EBE9504DD31669873134DF45" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ForeignCountryMember" xlink:label="loc_us-gaap_ForeignCountryMember_33FDA55FA495C86615A269873134F45A" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxAuthorityDomain_5D13C2E9223E225A4B7369873134FC87" xlink:to="loc_us-gaap_ForeignCountryMember_33FDA55FA495C86615A269873134F45A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OperatingLossCarryforwards" xlink:label="loc_us-gaap_OperatingLossCarryforwards_9966C15B280F7176991869873134DAA2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingLossCarryforwardsLineItems_7902A03E206F1C37F77569873134FE37" xlink:to="loc_us-gaap_OperatingLossCarryforwards_9966C15B280F7176991869873134DAA2" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/IncomeTaxesScheduleOfComponentsOfLossBeforeProvisionForIncomeTaxesDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.mongodb.com/role/IncomeTaxesScheduleOfComponentsOfProvisionForIncomeTaxDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.mongodb.com/role/IncomeTaxesScheduleOfDeferredTaxAssetsAndLiabilitiesDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.mongodb.com/role/IncomeTaxesScheduleOfEffectiveIncomeTaxRateDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.mongodb.com/role/IncomeTaxesScheduleOfUnrecognizedTaxBenefitsDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.mongodb.com/role/IncomeTaxesTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.mongodb.com/role/NetLossPerShareAttributableToCommonStockholders" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.mongodb.com/role/NetLossPerShareAttributableToCommonStockholdersScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfDilutedNetLossPerShareDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_10461AC554FF7715E14F6FD3189AA50B" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable" xlink:label="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_6DCAFB6146ACF6B06C976FD318998318" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_10461AC554FF7715E14F6FD3189AA50B" xlink:to="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_6DCAFB6146ACF6B06C976FD318998318" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_FB313186439B5014B41F6FD3189975C9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_6DCAFB6146ACF6B06C976FD318998318" xlink:to="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_FB313186439B5014B41F6FD3189975C9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AntidilutiveSecuritiesNameDomain" xlink:label="loc_us-gaap_AntidilutiveSecuritiesNameDomain_33D98AEBD583875A86AB6FD318998F91_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_FB313186439B5014B41F6FD3189975C9" xlink:to="loc_us-gaap_AntidilutiveSecuritiesNameDomain_33D98AEBD583875A86AB6FD318998F91_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AntidilutiveSecuritiesNameDomain" xlink:label="loc_us-gaap_AntidilutiveSecuritiesNameDomain_33D98AEBD583875A86AB6FD318998F91" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_FB313186439B5014B41F6FD3189975C9" xlink:to="loc_us-gaap_AntidilutiveSecuritiesNameDomain_33D98AEBD583875A86AB6FD318998F91" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RedeemableConvertiblePreferredStockMember" xlink:label="loc_us-gaap_RedeemableConvertiblePreferredStockMember_6159397736C0864D11AA6FD31899B798" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain_33D98AEBD583875A86AB6FD318998F91" xlink:to="loc_us-gaap_RedeemableConvertiblePreferredStockMember_6159397736C0864D11AA6FD31899B798" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_WarrantsAndRightsSubjectToMandatoryRedemptionMember" xlink:label="loc_us-gaap_WarrantsAndRightsSubjectToMandatoryRedemptionMember_70FD6D88986D1BBEB4E56FD31899E14D" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain_33D98AEBD583875A86AB6FD318998F91" xlink:to="loc_us-gaap_WarrantsAndRightsSubjectToMandatoryRedemptionMember_70FD6D88986D1BBEB4E56FD31899E14D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_WarrantMember" xlink:label="loc_us-gaap_WarrantMember_A771D3204E2D4B001B326FD318995DD1" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain_33D98AEBD583875A86AB6FD318998F91" xlink:to="loc_us-gaap_WarrantMember_A771D3204E2D4B001B326FD318995DD1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EmployeeStockOptionMember" xlink:label="loc_us-gaap_EmployeeStockOptionMember_44486AF84DF27D3756E86FD3189A885C" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain_33D98AEBD583875A86AB6FD318998F91" xlink:to="loc_us-gaap_EmployeeStockOptionMember_44486AF84DF27D3756E86FD3189A885C" xlink:type="arc" />
    <link:loc xlink:href="mdb-20180131.xsd#mdb_EarlyExercisedEmployeeStockOptionMember" xlink:label="loc_mdb_EarlyExercisedEmployeeStockOptionMember_DA3655C07DC9A05537B66FD3189A50BB" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain_33D98AEBD583875A86AB6FD318998F91" xlink:to="loc_mdb_EarlyExercisedEmployeeStockOptionMember_DA3655C07DC9A05537B66FD3189A50BB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementClassOfStockAxis" xlink:label="loc_us-gaap_StatementClassOfStockAxis_69986E906AC57F3259936FD3189ACE4E" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_6DCAFB6146ACF6B06C976FD318998318" xlink:to="loc_us-gaap_StatementClassOfStockAxis_69986E906AC57F3259936FD3189ACE4E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_7C5298D20F9A9618918A6FD3189A2A52_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_69986E906AC57F3259936FD3189ACE4E" xlink:to="loc_us-gaap_ClassOfStockDomain_7C5298D20F9A9618918A6FD3189A2A52_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_7C5298D20F9A9618918A6FD3189A2A52" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_69986E906AC57F3259936FD3189ACE4E" xlink:to="loc_us-gaap_ClassOfStockDomain_7C5298D20F9A9618918A6FD3189A2A52" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CommonClassBMember" xlink:label="loc_us-gaap_CommonClassBMember_C3EB6CAE42823B0FCC5D6FD3189A350C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_7C5298D20F9A9618918A6FD3189A2A52" xlink:to="loc_us-gaap_CommonClassBMember_C3EB6CAE42823B0FCC5D6FD3189A350C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CommonClassAMember" xlink:label="loc_us-gaap_CommonClassAMember_1D9D7D8F12C3E5F4E30A6FD3189A81F2" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_7C5298D20F9A9618918A6FD3189A2A52" xlink:to="loc_us-gaap_CommonClassAMember_1D9D7D8F12C3E5F4E30A6FD3189A81F2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_3E1BA6479AB0F1DAE0136FD3189A4B28" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_10461AC554FF7715E14F6FD3189AA50B" xlink:to="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_3E1BA6479AB0F1DAE0136FD3189A4B28" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/NetLossPerShareAttributableToCommonStockholdersScheduleOfBasicAndDilutedEarningsLossPerShareDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.mongodb.com/role/NetLossPerShareAttributableToCommonStockholdersTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.mongodb.com/role/OrganizationAndDescriptionOfBusiness" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.mongodb.com/role/OrganizationAndDescriptionOfBusinessInitialPublicOfferingDetails" xlink:type="extended">
    <link:loc xlink:href="mdb-20180131.xsd#mdb_OrganizationConsolidationandPresentationofFinancialStatementsLineItems" xlink:label="loc_mdb_OrganizationConsolidationandPresentationofFinancialStatementsLineItems_005716E043CFC3DDB75A6F939E5122E0" xlink:type="locator" />
    <link:loc xlink:href="mdb-20180131.xsd#mdb_OrganizationConsolidationandPresentationofFinancialStatementsTable" xlink:label="loc_mdb_OrganizationConsolidationandPresentationofFinancialStatementsTable_8FD6FCC9655D32C607266F939E50AE6B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_mdb_OrganizationConsolidationandPresentationofFinancialStatementsLineItems_005716E043CFC3DDB75A6F939E5122E0" xlink:to="loc_mdb_OrganizationConsolidationandPresentationofFinancialStatementsTable_8FD6FCC9655D32C607266F939E50AE6B" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementClassOfStockAxis" xlink:label="loc_us-gaap_StatementClassOfStockAxis_C0090ADC67BAD2043CD46F939E50CFE0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_mdb_OrganizationConsolidationandPresentationofFinancialStatementsTable_8FD6FCC9655D32C607266F939E50AE6B" xlink:to="loc_us-gaap_StatementClassOfStockAxis_C0090ADC67BAD2043CD46F939E50CFE0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_3F53DBA81620BCF8A7016F939E504097_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_C0090ADC67BAD2043CD46F939E50CFE0" xlink:to="loc_us-gaap_ClassOfStockDomain_3F53DBA81620BCF8A7016F939E504097_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_3F53DBA81620BCF8A7016F939E504097" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_C0090ADC67BAD2043CD46F939E50CFE0" xlink:to="loc_us-gaap_ClassOfStockDomain_3F53DBA81620BCF8A7016F939E504097" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CommonClassAMember" xlink:label="loc_us-gaap_CommonClassAMember_5664D5FE763037FE800B6F939E504902" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_3F53DBA81620BCF8A7016F939E504097" xlink:to="loc_us-gaap_CommonClassAMember_5664D5FE763037FE800B6F939E504902" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RedeemablePreferredStockMember" xlink:label="loc_us-gaap_RedeemablePreferredStockMember_ECECB93CB1B806FFAC8B6F939E504B37" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_3F53DBA81620BCF8A7016F939E504097" xlink:to="loc_us-gaap_RedeemablePreferredStockMember_ECECB93CB1B806FFAC8B6F939E504B37" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementEquityComponentsAxis" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_F44F14CFBA07C6EA200B6F939E50AA38" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_mdb_OrganizationConsolidationandPresentationofFinancialStatementsTable_8FD6FCC9655D32C607266F939E50AE6B" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_F44F14CFBA07C6EA200B6F939E50AA38" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_32C9679A9EDD5E01E35A6F939E501367_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_F44F14CFBA07C6EA200B6F939E50AA38" xlink:to="loc_us-gaap_EquityComponentDomain_32C9679A9EDD5E01E35A6F939E501367_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_32C9679A9EDD5E01E35A6F939E501367" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_F44F14CFBA07C6EA200B6F939E50AA38" xlink:to="loc_us-gaap_EquityComponentDomain_32C9679A9EDD5E01E35A6F939E501367" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CommonStockMember" xlink:label="loc_us-gaap_CommonStockMember_88993ED10E1927432B476F939E50BA34" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_32C9679A9EDD5E01E35A6F939E501367" xlink:to="loc_us-gaap_CommonStockMember_88993ED10E1927432B476F939E50BA34" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SubsidiarySaleOfStockAxis" xlink:label="loc_us-gaap_SubsidiarySaleOfStockAxis_1640E0F847874675038E6F939E502738" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_mdb_OrganizationConsolidationandPresentationofFinancialStatementsTable_8FD6FCC9655D32C607266F939E50AE6B" xlink:to="loc_us-gaap_SubsidiarySaleOfStockAxis_1640E0F847874675038E6F939E502738" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SaleOfStockNameOfTransactionDomain" xlink:label="loc_us-gaap_SaleOfStockNameOfTransactionDomain_C38D2C4CE54B01E167596F939E50F1FF_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_SubsidiarySaleOfStockAxis_1640E0F847874675038E6F939E502738" xlink:to="loc_us-gaap_SaleOfStockNameOfTransactionDomain_C38D2C4CE54B01E167596F939E50F1FF_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SaleOfStockNameOfTransactionDomain" xlink:label="loc_us-gaap_SaleOfStockNameOfTransactionDomain_C38D2C4CE54B01E167596F939E50F1FF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_SubsidiarySaleOfStockAxis_1640E0F847874675038E6F939E502738" xlink:to="loc_us-gaap_SaleOfStockNameOfTransactionDomain_C38D2C4CE54B01E167596F939E50F1FF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IPOMember" xlink:label="loc_us-gaap_IPOMember_6E0DDA10D437E2BE96F26F939E5099CE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SaleOfStockNameOfTransactionDomain_C38D2C4CE54B01E167596F939E50F1FF" xlink:to="loc_us-gaap_IPOMember_6E0DDA10D437E2BE96F26F939E5099CE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OverAllotmentOptionMember" xlink:label="loc_us-gaap_OverAllotmentOptionMember_C756D662C0DDED62C8F56F939E50F7D1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IPOMember_6E0DDA10D437E2BE96F26F939E5099CE" xlink:to="loc_us-gaap_OverAllotmentOptionMember_C756D662C0DDED62C8F56F939E50F7D1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SaleOfStockNumberOfSharesIssuedInTransaction" xlink:label="loc_us-gaap_SaleOfStockNumberOfSharesIssuedInTransaction_5244018196D9B1E01C476F939E51C00D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mdb_OrganizationConsolidationandPresentationofFinancialStatementsLineItems_005716E043CFC3DDB75A6F939E5122E0" xlink:to="loc_us-gaap_SaleOfStockNumberOfSharesIssuedInTransaction_5244018196D9B1E01C476F939E51C00D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SaleOfStockPricePerShare" xlink:label="loc_us-gaap_SaleOfStockPricePerShare_DEE1390E562E112259A86F939E51C28F" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mdb_OrganizationConsolidationandPresentationofFinancialStatementsLineItems_005716E043CFC3DDB75A6F939E5122E0" xlink:to="loc_us-gaap_SaleOfStockPricePerShare_DEE1390E562E112259A86F939E51C28F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SaleOfStockConsiderationReceivedOnTransaction" xlink:label="loc_us-gaap_SaleOfStockConsiderationReceivedOnTransaction_34AEE9093FC503CC7E696F939E51C2ED" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mdb_OrganizationConsolidationandPresentationofFinancialStatementsLineItems_005716E043CFC3DDB75A6F939E5122E0" xlink:to="loc_us-gaap_SaleOfStockConsiderationReceivedOnTransaction_34AEE9093FC503CC7E696F939E51C2ED" xlink:type="arc" />
    <link:loc xlink:href="mdb-20180131.xsd#mdb_SaleofStockDiscountsandCommissions" xlink:label="loc_mdb_SaleofStockDiscountsandCommissions_461C9C82DDF4567E3F676F939E51F6FA" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mdb_OrganizationConsolidationandPresentationofFinancialStatementsLineItems_005716E043CFC3DDB75A6F939E5122E0" xlink:to="loc_mdb_SaleofStockDiscountsandCommissions_461C9C82DDF4567E3F676F939E51F6FA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AdjustmentsToAdditionalPaidInCapitalStockIssuedIssuanceCosts" xlink:label="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalStockIssuedIssuanceCosts_6526019309A1CEDDFDB96F939E5100D4" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mdb_OrganizationConsolidationandPresentationofFinancialStatementsLineItems_005716E043CFC3DDB75A6F939E5122E0" xlink:to="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalStockIssuedIssuanceCosts_6526019309A1CEDDFDB96F939E5100D4" xlink:type="arc" />
    <link:loc xlink:href="mdb-20180131.xsd#mdb_TemporaryEquityEliminationAsPartOfReorganizationShares" xlink:label="loc_mdb_TemporaryEquityEliminationAsPartOfReorganizationShares_32276523CBF926A5CCC16F939E5119A7" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mdb_OrganizationConsolidationandPresentationofFinancialStatementsLineItems_005716E043CFC3DDB75A6F939E5122E0" xlink:to="loc_mdb_TemporaryEquityEliminationAsPartOfReorganizationShares_32276523CBF926A5CCC16F939E5119A7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesConversionOfConvertibleSecurities" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesConversionOfConvertibleSecurities_4A2247388F49772A3DDA6F939E517103" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mdb_OrganizationConsolidationandPresentationofFinancialStatementsLineItems_005716E043CFC3DDB75A6F939E5122E0" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesConversionOfConvertibleSecurities_4A2247388F49772A3DDA6F939E517103" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TemporaryEquityEliminationAsPartofReorganization" xlink:label="loc_us-gaap_TemporaryEquityEliminationAsPartofReorganization_096A2067196862D87F176F939E512AA0" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mdb_OrganizationConsolidationandPresentationofFinancialStatementsLineItems_005716E043CFC3DDB75A6F939E5122E0" xlink:to="loc_us-gaap_TemporaryEquityEliminationAsPartofReorganization_096A2067196862D87F176F939E512AA0" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/OrganizationAndDescriptionOfBusinessReverseStockSplitDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ClassOfStockLineItems" xlink:label="loc_us-gaap_ClassOfStockLineItems_6480A55DA39AA2ABA140E2636F00ACB6" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfStockByClassTable" xlink:label="loc_us-gaap_ScheduleOfStockByClassTable_C5FCC911D9F24AFED053E2636F00E3CA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ClassOfStockLineItems_6480A55DA39AA2ABA140E2636F00ACB6" xlink:to="loc_us-gaap_ScheduleOfStockByClassTable_C5FCC911D9F24AFED053E2636F00E3CA" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementEquityComponentsAxis" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_9C07F6A956B519F1F0B9E2636F0075DD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfStockByClassTable_C5FCC911D9F24AFED053E2636F00E3CA" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_9C07F6A956B519F1F0B9E2636F0075DD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_8DDD56F85D4902EDA3FFE2636F0004CD_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_9C07F6A956B519F1F0B9E2636F0075DD" xlink:to="loc_us-gaap_EquityComponentDomain_8DDD56F85D4902EDA3FFE2636F0004CD_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_8DDD56F85D4902EDA3FFE2636F0004CD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_9C07F6A956B519F1F0B9E2636F0075DD" xlink:to="loc_us-gaap_EquityComponentDomain_8DDD56F85D4902EDA3FFE2636F0004CD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CommonStockMember" xlink:label="loc_us-gaap_CommonStockMember_0246F54E852CC37683D8E2636F007A9B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_8DDD56F85D4902EDA3FFE2636F0004CD" xlink:to="loc_us-gaap_CommonStockMember_0246F54E852CC37683D8E2636F007A9B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementClassOfStockAxis" xlink:label="loc_us-gaap_StatementClassOfStockAxis_B0FC8C7F914E668D7A21E2636F00A1D6" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfStockByClassTable_C5FCC911D9F24AFED053E2636F00E3CA" xlink:to="loc_us-gaap_StatementClassOfStockAxis_B0FC8C7F914E668D7A21E2636F00A1D6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_AE3002DD8E7E97D4DBB6E2636F00F612_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_B0FC8C7F914E668D7A21E2636F00A1D6" xlink:to="loc_us-gaap_ClassOfStockDomain_AE3002DD8E7E97D4DBB6E2636F00F612_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_AE3002DD8E7E97D4DBB6E2636F00F612" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_B0FC8C7F914E668D7A21E2636F00A1D6" xlink:to="loc_us-gaap_ClassOfStockDomain_AE3002DD8E7E97D4DBB6E2636F00F612" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SeriesAPreferredStockMember" xlink:label="loc_us-gaap_SeriesAPreferredStockMember_EC65961F8EBC62B2BD83E2636F00306B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_AE3002DD8E7E97D4DBB6E2636F00F612" xlink:to="loc_us-gaap_SeriesAPreferredStockMember_EC65961F8EBC62B2BD83E2636F00306B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SeriesBPreferredStockMember" xlink:label="loc_us-gaap_SeriesBPreferredStockMember_216CBBD8CA0193ACF38BE2636F007E41" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_AE3002DD8E7E97D4DBB6E2636F00F612" xlink:to="loc_us-gaap_SeriesBPreferredStockMember_216CBBD8CA0193ACF38BE2636F007E41" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SeriesCPreferredStockMember" xlink:label="loc_us-gaap_SeriesCPreferredStockMember_D2C3CD494F17C0B36526E2636F00B3FD" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_AE3002DD8E7E97D4DBB6E2636F00F612" xlink:to="loc_us-gaap_SeriesCPreferredStockMember_D2C3CD494F17C0B36526E2636F00B3FD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SeriesDPreferredStockMember" xlink:label="loc_us-gaap_SeriesDPreferredStockMember_3742AE2F5335D39496AFE2636F005FA8" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_AE3002DD8E7E97D4DBB6E2636F00F612" xlink:to="loc_us-gaap_SeriesDPreferredStockMember_3742AE2F5335D39496AFE2636F005FA8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SeriesEPreferredStockMember" xlink:label="loc_us-gaap_SeriesEPreferredStockMember_6D5ED05486B953A21F08E2636F00B038" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_AE3002DD8E7E97D4DBB6E2636F00F612" xlink:to="loc_us-gaap_SeriesEPreferredStockMember_6D5ED05486B953A21F08E2636F00B038" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SeriesFPreferredStockMember" xlink:label="loc_us-gaap_SeriesFPreferredStockMember_FA6F8055E869F76A4136E2636F006124" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_AE3002DD8E7E97D4DBB6E2636F00F612" xlink:to="loc_us-gaap_SeriesFPreferredStockMember_FA6F8055E869F76A4136E2636F006124" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockholdersEquityNoteStockSplitConversionRatio1" xlink:label="loc_us-gaap_StockholdersEquityNoteStockSplitConversionRatio1_435DE82AB20B47FA5721E2636F00A8D0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_6480A55DA39AA2ABA140E2636F00ACB6" xlink:to="loc_us-gaap_StockholdersEquityNoteStockSplitConversionRatio1_435DE82AB20B47FA5721E2636F00A8D0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConvertiblePreferredStockSharesIssuedUponConversion" xlink:label="loc_us-gaap_ConvertiblePreferredStockSharesIssuedUponConversion_8A5BE4D2DBBD4652F24AE2636F0148C2" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_6480A55DA39AA2ABA140E2636F00ACB6" xlink:to="loc_us-gaap_ConvertiblePreferredStockSharesIssuedUponConversion_8A5BE4D2DBBD4652F24AE2636F0148C2" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/PropertyAndEquipmentNet" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.mongodb.com/role/PropertyAndEquipmentNetAdditionalInformationDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.mongodb.com/role/PropertyAndEquipmentNetScheduleDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentLineItems" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentLineItems_780258CC082168579C2F6987325C5888" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfPropertyPlantAndEquipmentTable" xlink:label="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_62E004D5FF78EBC7D3776987325BC051" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_780258CC082168579C2F6987325C5888" xlink:to="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_62E004D5FF78EBC7D3776987325BC051" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentByTypeAxis" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_AC4199622E1F9983E84D6987325B8BE4" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_62E004D5FF78EBC7D3776987325BC051" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_AC4199622E1F9983E84D6987325B8BE4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_87F23F524A8817BDC26C6987325B19C2_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_AC4199622E1F9983E84D6987325B8BE4" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_87F23F524A8817BDC26C6987325B19C2_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_87F23F524A8817BDC26C6987325B19C2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_AC4199622E1F9983E84D6987325B8BE4" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_87F23F524A8817BDC26C6987325B19C2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ComputerEquipmentMember" xlink:label="loc_us-gaap_ComputerEquipmentMember_3DA81300857FFE23DF556987325B15F4" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_87F23F524A8817BDC26C6987325B19C2" xlink:to="loc_us-gaap_ComputerEquipmentMember_3DA81300857FFE23DF556987325B15F4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FurnitureAndFixturesMember" xlink:label="loc_us-gaap_FurnitureAndFixturesMember_97F5A832592BE3CFF7BE6987325B8288" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_87F23F524A8817BDC26C6987325B19C2" xlink:to="loc_us-gaap_FurnitureAndFixturesMember_97F5A832592BE3CFF7BE6987325B8288" xlink:type="arc" />
    <link:loc xlink:href="mdb-20180131.xsd#mdb_ComputerAndOfficeEquipmentMember" xlink:label="loc_mdb_ComputerAndOfficeEquipmentMember_FAF69BBCB96EB6929A4E6987325B696B" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_87F23F524A8817BDC26C6987325B19C2" xlink:to="loc_mdb_ComputerAndOfficeEquipmentMember_FAF69BBCB96EB6929A4E6987325B696B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SoftwareAndSoftwareDevelopmentCostsMember" xlink:label="loc_us-gaap_SoftwareAndSoftwareDevelopmentCostsMember_0860782ADE3F12AED7BC69883889229C" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_87F23F524A8817BDC26C6987325B19C2" xlink:to="loc_us-gaap_SoftwareAndSoftwareDevelopmentCostsMember_0860782ADE3F12AED7BC69883889229C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LeaseholdImprovementsMember" xlink:label="loc_us-gaap_LeaseholdImprovementsMember_B994F5EBC37CB70EE69A6987325B327A" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_87F23F524A8817BDC26C6987325B19C2" xlink:to="loc_us-gaap_LeaseholdImprovementsMember_B994F5EBC37CB70EE69A6987325B327A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConstructionInProgressMember" xlink:label="loc_us-gaap_ConstructionInProgressMember_A8ADBC57F5BE07375F266987325C9128" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_87F23F524A8817BDC26C6987325B19C2" xlink:to="loc_us-gaap_ConstructionInProgressMember_A8ADBC57F5BE07375F266987325C9128" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BuildingMember" xlink:label="loc_us-gaap_BuildingMember_8F572FF774F5819DB69D6987325C3450" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_87F23F524A8817BDC26C6987325B19C2" xlink:to="loc_us-gaap_BuildingMember_8F572FF774F5819DB69D6987325C3450" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentGross" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentGross_4DF02D260A6E99263A186987325C493F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_780258CC082168579C2F6987325C5888" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentGross_4DF02D260A6E99263A186987325C493F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment" xlink:label="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_5CFBBEAEBA53418AC5246987325CAD29" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_780258CC082168579C2F6987325C5888" xlink:to="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_5CFBBEAEBA53418AC5246987325CAD29" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNet" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_FCB890E1B78A302D6CDF6987325CE376" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_780258CC082168579C2F6987325C5888" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_FCB890E1B78A302D6CDF6987325CE376" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/PropertyAndEquipmentNetTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.mongodb.com/role/SegmentsAndGeographicRevenue" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.mongodb.com/role/SegmentsAndGeographicRevenueAdditionalInformationDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConcentrationRiskLineItems" xlink:label="loc_us-gaap_ConcentrationRiskLineItems_4BCD4B93A69C0F8F76CCFE405A41BDB7" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConcentrationRiskTable" xlink:label="loc_us-gaap_ConcentrationRiskTable_700DAE5037E616F729F2FE405A40D8DB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ConcentrationRiskLineItems_4BCD4B93A69C0F8F76CCFE405A41BDB7" xlink:to="loc_us-gaap_ConcentrationRiskTable_700DAE5037E616F729F2FE405A40D8DB" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConcentrationRiskByTypeAxis" xlink:label="loc_us-gaap_ConcentrationRiskByTypeAxis_E70F1592AEA9763860A7FE405A40D66C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ConcentrationRiskTable_700DAE5037E616F729F2FE405A40D8DB" xlink:to="loc_us-gaap_ConcentrationRiskByTypeAxis_E70F1592AEA9763860A7FE405A40D66C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConcentrationRiskTypeDomain" xlink:label="loc_us-gaap_ConcentrationRiskTypeDomain_980E6B5B718DC50F96D9FE405A407854_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConcentrationRiskByTypeAxis_E70F1592AEA9763860A7FE405A40D66C" xlink:to="loc_us-gaap_ConcentrationRiskTypeDomain_980E6B5B718DC50F96D9FE405A407854_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConcentrationRiskTypeDomain" xlink:label="loc_us-gaap_ConcentrationRiskTypeDomain_980E6B5B718DC50F96D9FE405A407854" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConcentrationRiskByTypeAxis_E70F1592AEA9763860A7FE405A40D66C" xlink:to="loc_us-gaap_ConcentrationRiskTypeDomain_980E6B5B718DC50F96D9FE405A407854" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_GeographicConcentrationRiskMember" xlink:label="loc_us-gaap_GeographicConcentrationRiskMember_C620A849BD7D5E1FE57FFE405A416998" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskTypeDomain_980E6B5B718DC50F96D9FE405A407854" xlink:to="loc_us-gaap_GeographicConcentrationRiskMember_C620A849BD7D5E1FE57FFE405A416998" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConcentrationRiskByBenchmarkAxis" xlink:label="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_939CF7BD5BAF28895493FE405A417430" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ConcentrationRiskTable_700DAE5037E616F729F2FE405A40D8DB" xlink:to="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_939CF7BD5BAF28895493FE405A417430" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConcentrationRiskBenchmarkDomain" xlink:label="loc_us-gaap_ConcentrationRiskBenchmarkDomain_D013073F20EF85D625F1FE405A41D93C_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_939CF7BD5BAF28895493FE405A417430" xlink:to="loc_us-gaap_ConcentrationRiskBenchmarkDomain_D013073F20EF85D625F1FE405A41D93C_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConcentrationRiskBenchmarkDomain" xlink:label="loc_us-gaap_ConcentrationRiskBenchmarkDomain_D013073F20EF85D625F1FE405A41D93C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_939CF7BD5BAF28895493FE405A417430" xlink:to="loc_us-gaap_ConcentrationRiskBenchmarkDomain_D013073F20EF85D625F1FE405A41D93C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SalesRevenueNetMember" xlink:label="loc_us-gaap_SalesRevenueNetMember_2E60BBDAE94AB55620E8FE405A41A074" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskBenchmarkDomain_D013073F20EF85D625F1FE405A41D93C" xlink:to="loc_us-gaap_SalesRevenueNetMember_2E60BBDAE94AB55620E8FE405A41A074" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementGeographicalAxis" xlink:label="loc_us-gaap_StatementGeographicalAxis_D5C1778930D7B537A590FE405A41B8BA" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ConcentrationRiskTable_700DAE5037E616F729F2FE405A40D8DB" xlink:to="loc_us-gaap_StatementGeographicalAxis_D5C1778930D7B537A590FE405A41B8BA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SegmentGeographicalDomain" xlink:label="loc_us-gaap_SegmentGeographicalDomain_5F5273F1CF0374BA5A68FE405A41DCA6_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementGeographicalAxis_D5C1778930D7B537A590FE405A41B8BA" xlink:to="loc_us-gaap_SegmentGeographicalDomain_5F5273F1CF0374BA5A68FE405A41DCA6_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SegmentGeographicalDomain" xlink:label="loc_us-gaap_SegmentGeographicalDomain_5F5273F1CF0374BA5A68FE405A41DCA6" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementGeographicalAxis_D5C1778930D7B537A590FE405A41B8BA" xlink:to="loc_us-gaap_SegmentGeographicalDomain_5F5273F1CF0374BA5A68FE405A41DCA6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/country/2017/country-2017-01-31.xsd#country_US" xlink:label="loc_country_US_1759572779B8878A326DFE405A418E8A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentGeographicalDomain_5F5273F1CF0374BA5A68FE405A41DCA6" xlink:to="loc_country_US_1759572779B8878A326DFE405A418E8A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/country/2017/country-2017-01-31.xsd#country_GB" xlink:label="loc_country_GB_0231A61392E390D57384FE405A41A9C3" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentGeographicalDomain_5F5273F1CF0374BA5A68FE405A41DCA6" xlink:to="loc_country_GB_0231A61392E390D57384FE405A41A9C3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConcentrationRiskPercentage1" xlink:label="loc_us-gaap_ConcentrationRiskPercentage1_424D92D459847C4203E4FE405A4168FF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskLineItems_4BCD4B93A69C0F8F76CCFE405A41BDB7" xlink:to="loc_us-gaap_ConcentrationRiskPercentage1_424D92D459847C4203E4FE405A4168FF" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/SegmentsAndGeographicRevenueScheduleOfTotalRevenueByGeographicAreasDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RevenuesFromExternalCustomersAndLongLivedAssetsLineItems" xlink:label="loc_us-gaap_RevenuesFromExternalCustomersAndLongLivedAssetsLineItems_E8D10C28E8897C5DA2F2FE405A3B3E93" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfRevenuesFromExternalCustomersAndLongLivedAssetsTable" xlink:label="loc_us-gaap_ScheduleOfRevenuesFromExternalCustomersAndLongLivedAssetsTable_012F1A2A1349468C0917FE405A3800C2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RevenuesFromExternalCustomersAndLongLivedAssetsLineItems_E8D10C28E8897C5DA2F2FE405A3B3E93" xlink:to="loc_us-gaap_ScheduleOfRevenuesFromExternalCustomersAndLongLivedAssetsTable_012F1A2A1349468C0917FE405A3800C2" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementGeographicalAxis" xlink:label="loc_us-gaap_StatementGeographicalAxis_B3B70531D141252ABB9CFE405A38F899" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRevenuesFromExternalCustomersAndLongLivedAssetsTable_012F1A2A1349468C0917FE405A3800C2" xlink:to="loc_us-gaap_StatementGeographicalAxis_B3B70531D141252ABB9CFE405A38F899" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SegmentGeographicalDomain" xlink:label="loc_us-gaap_SegmentGeographicalDomain_B512BC815178CE4DE986FE405A38F15E_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementGeographicalAxis_B3B70531D141252ABB9CFE405A38F899" xlink:to="loc_us-gaap_SegmentGeographicalDomain_B512BC815178CE4DE986FE405A38F15E_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SegmentGeographicalDomain" xlink:label="loc_us-gaap_SegmentGeographicalDomain_B512BC815178CE4DE986FE405A38F15E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementGeographicalAxis_B3B70531D141252ABB9CFE405A38F899" xlink:to="loc_us-gaap_SegmentGeographicalDomain_B512BC815178CE4DE986FE405A38F15E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AmericasMember" xlink:label="loc_us-gaap_AmericasMember_4430DEDEA93EF6150250FE405A38A01F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentGeographicalDomain_B512BC815178CE4DE986FE405A38F15E" xlink:to="loc_us-gaap_AmericasMember_4430DEDEA93EF6150250FE405A38A01F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EuropeMember" xlink:label="loc_us-gaap_EuropeMember_94887E260E9C5FE0AA8EFE405A3B3895" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentGeographicalDomain_B512BC815178CE4DE986FE405A38F15E" xlink:to="loc_us-gaap_EuropeMember_94887E260E9C5FE0AA8EFE405A3B3895" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AsiaPacificMember" xlink:label="loc_us-gaap_AsiaPacificMember_2F42F8F96A6F077B48EEFE405A3BA2A8" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentGeographicalDomain_B512BC815178CE4DE986FE405A38F15E" xlink:to="loc_us-gaap_AsiaPacificMember_2F42F8F96A6F077B48EEFE405A3BA2A8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SalesRevenueNet" xlink:label="loc_us-gaap_SalesRevenueNet_8566C429652489C2F506FE405A3B2A5C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RevenuesFromExternalCustomersAndLongLivedAssetsLineItems_E8D10C28E8897C5DA2F2FE405A3B3E93" xlink:to="loc_us-gaap_SalesRevenueNet_8566C429652489C2F506FE405A3B2A5C" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/SegmentsAndGeographicRevenueTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.mongodb.com/role/StockholdersEquityDeficit" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.mongodb.com/role/StockholdersEquityDeficitDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ClassOfStockLineItems" xlink:label="loc_us-gaap_ClassOfStockLineItems_4BF256D7A92706B342C4E2636ED56733" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfStockByClassTable" xlink:label="loc_us-gaap_ScheduleOfStockByClassTable_DEF190737548EF43A05FE2636ED436C9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ClassOfStockLineItems_4BF256D7A92706B342C4E2636ED56733" xlink:to="loc_us-gaap_ScheduleOfStockByClassTable_DEF190737548EF43A05FE2636ED436C9" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementEquityComponentsAxis" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_04C4A8A258579760A01AE2636ED48861" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfStockByClassTable_DEF190737548EF43A05FE2636ED436C9" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_04C4A8A258579760A01AE2636ED48861" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_D0DA3B5735319A93BD00E2636ED422B0_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_04C4A8A258579760A01AE2636ED48861" xlink:to="loc_us-gaap_EquityComponentDomain_D0DA3B5735319A93BD00E2636ED422B0_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_D0DA3B5735319A93BD00E2636ED422B0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_04C4A8A258579760A01AE2636ED48861" xlink:to="loc_us-gaap_EquityComponentDomain_D0DA3B5735319A93BD00E2636ED422B0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CommonStockMember" xlink:label="loc_us-gaap_CommonStockMember_AAE0BC8F3CAC3769F4FCE2636ED4F2D3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_D0DA3B5735319A93BD00E2636ED422B0" xlink:to="loc_us-gaap_CommonStockMember_AAE0BC8F3CAC3769F4FCE2636ED4F2D3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementClassOfStockAxis" xlink:label="loc_us-gaap_StatementClassOfStockAxis_0A25B6089299626C9131E2636ED4ED61" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfStockByClassTable_DEF190737548EF43A05FE2636ED436C9" xlink:to="loc_us-gaap_StatementClassOfStockAxis_0A25B6089299626C9131E2636ED4ED61" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_344C31EB7986081524A7E2636ED5D244_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_0A25B6089299626C9131E2636ED4ED61" xlink:to="loc_us-gaap_ClassOfStockDomain_344C31EB7986081524A7E2636ED5D244_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_344C31EB7986081524A7E2636ED5D244" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_0A25B6089299626C9131E2636ED4ED61" xlink:to="loc_us-gaap_ClassOfStockDomain_344C31EB7986081524A7E2636ED5D244" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CommonClassAMember" xlink:label="loc_us-gaap_CommonClassAMember_4647517216F3485236C8E2636ED51218" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_344C31EB7986081524A7E2636ED5D244" xlink:to="loc_us-gaap_CommonClassAMember_4647517216F3485236C8E2636ED51218" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CommonClassBMember" xlink:label="loc_us-gaap_CommonClassBMember_DFDF26E83942ECFAD008E2636ED56BC5" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_344C31EB7986081524A7E2636ED5D244" xlink:to="loc_us-gaap_CommonClassBMember_DFDF26E83942ECFAD008E2636ED56BC5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesConversionOfConvertibleSecurities" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesConversionOfConvertibleSecurities_2487BCFA01DD21F99275E2636ED5B9C3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_4BF256D7A92706B342C4E2636ED56733" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesConversionOfConvertibleSecurities_2487BCFA01DD21F99275E2636ED5B9C3" xlink:type="arc" />
    <link:loc xlink:href="mdb-20180131.xsd#mdb_CommonStockVotingRightsNumberofVotesPerShare" xlink:label="loc_mdb_CommonStockVotingRightsNumberofVotesPerShare_7E0372B5AA2E7EC87A07E2636ED531D6" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_4BF256D7A92706B342C4E2636ED56733" xlink:to="loc_mdb_CommonStockVotingRightsNumberofVotesPerShare_7E0372B5AA2E7EC87A07E2636ED531D6" xlink:type="arc" />
    <link:loc xlink:href="mdb-20180131.xsd#mdb_CommonStockConversionFeaturePeriodOfAutomaticConversionAfterDeathOfFounder" xlink:label="loc_mdb_CommonStockConversionFeaturePeriodOfAutomaticConversionAfterDeathOfFounder_DB22C1981C5D9C0CEFC1E2636ED5CA00" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_4BF256D7A92706B342C4E2636ED56733" xlink:to="loc_mdb_CommonStockConversionFeaturePeriodOfAutomaticConversionAfterDeathOfFounder_DB22C1981C5D9C0CEFC1E2636ED5CA00" xlink:type="arc" />
    <link:loc xlink:href="mdb-20180131.xsd#mdb_CommonStockConversionFeaturePercentofOutstandingStock" xlink:label="loc_mdb_CommonStockConversionFeaturePercentofOutstandingStock_A34B1325315813862A45E2636ED59FF0" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_4BF256D7A92706B342C4E2636ED56733" xlink:to="loc_mdb_CommonStockConversionFeaturePercentofOutstandingStock_A34B1325315813862A45E2636ED59FF0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CommonStockSharesAuthorized" xlink:label="loc_us-gaap_CommonStockSharesAuthorized_6FD910544ED0C6FE750AE2636ED5F440" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_4BF256D7A92706B342C4E2636ED56733" xlink:to="loc_us-gaap_CommonStockSharesAuthorized_6FD910544ED0C6FE750AE2636ED5F440" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CommonStockParOrStatedValuePerShare" xlink:label="loc_us-gaap_CommonStockParOrStatedValuePerShare_BC96E067EF5314D1FDBEE2636ED533EC" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_4BF256D7A92706B342C4E2636ED56733" xlink:to="loc_us-gaap_CommonStockParOrStatedValuePerShare_BC96E067EF5314D1FDBEE2636ED533EC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CommonStockSharesIssued" xlink:label="loc_us-gaap_CommonStockSharesIssued_F60CCE8371AAB1F9703EE2636ED57E4F" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_4BF256D7A92706B342C4E2636ED56733" xlink:to="loc_us-gaap_CommonStockSharesIssued_F60CCE8371AAB1F9703EE2636ED57E4F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CommonStockSharesOutstanding" xlink:label="loc_us-gaap_CommonStockSharesOutstanding_38F4EBA03E9F75BAE1ACE2636ED57014" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_4BF256D7A92706B342C4E2636ED56733" xlink:to="loc_us-gaap_CommonStockSharesOutstanding_38F4EBA03E9F75BAE1ACE2636ED57014" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/SummaryOfSignificantAccountingPolicies" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.mongodb.com/role/SummaryOfSignificantAccountingPoliciesAdvertisingDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.mongodb.com/role/SummaryOfSignificantAccountingPoliciesCapitalizedSoftwareCostsDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.mongodb.com/role/SummaryOfSignificantAccountingPoliciesDeferredCommissionsAndCommissionsExpenseDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.mongodb.com/role/SummaryOfSignificantAccountingPoliciesLongLivedAssetsIncludingGoodwillAndOtherAcquiredIntangibleAssetsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AcquiredFiniteLivedIntangibleAssetsLineItems" xlink:label="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsLineItems_6557D79EBDEEBE5BBDEDE762856868B8" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfAcquiredFiniteLivedIntangibleAssetByMajorClassTable" xlink:label="loc_us-gaap_ScheduleOfAcquiredFiniteLivedIntangibleAssetByMajorClassTable_8444D1789AA4AE12FD6DE762856865C3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsLineItems_6557D79EBDEEBE5BBDEDE762856868B8" xlink:to="loc_us-gaap_ScheduleOfAcquiredFiniteLivedIntangibleAssetByMajorClassTable_8444D1789AA4AE12FD6DE762856865C3" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RangeAxis" xlink:label="loc_us-gaap_RangeAxis_BA19DF72564D6572DFF9E7628568BCDF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAcquiredFiniteLivedIntangibleAssetByMajorClassTable_8444D1789AA4AE12FD6DE762856865C3" xlink:to="loc_us-gaap_RangeAxis_BA19DF72564D6572DFF9E7628568BCDF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_F4B616D295CA32D65EA6E76285683D27_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RangeAxis_BA19DF72564D6572DFF9E7628568BCDF" xlink:to="loc_us-gaap_RangeMember_F4B616D295CA32D65EA6E76285683D27_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_F4B616D295CA32D65EA6E76285683D27" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RangeAxis_BA19DF72564D6572DFF9E7628568BCDF" xlink:to="loc_us-gaap_RangeMember_F4B616D295CA32D65EA6E76285683D27" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MinimumMember" xlink:label="loc_us-gaap_MinimumMember_38878B74B0DC6ADB8B56E76285684C3A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_F4B616D295CA32D65EA6E76285683D27" xlink:to="loc_us-gaap_MinimumMember_38878B74B0DC6ADB8B56E76285684C3A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MaximumMember" xlink:label="loc_us-gaap_MaximumMember_28E6F64D61AB0CCAECF1E76285688A8A" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_F4B616D295CA32D65EA6E76285683D27" xlink:to="loc_us-gaap_MaximumMember_28E6F64D61AB0CCAECF1E76285688A8A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife" xlink:label="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife_5E4AF5B301AB39406569E76285680EBC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsLineItems_6557D79EBDEEBE5BBDEDE762856868B8" xlink:to="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife_5E4AF5B301AB39406569E76285680EBC" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/SummaryOfSignificantAccountingPoliciesMarketableSecuritiesDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.mongodb.com/role/SummaryOfSignificantAccountingPoliciesPolicies" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.mongodb.com/role/SummaryOfSignificantAccountingPoliciesRecentlyAdoptedAccountingPronouncementsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems" xlink:label="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems_DF6C34F8E1314697D917FE405B425264" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable" xlink:label="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable_D197B46162263FCE45B7FE405B41E09C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems_DF6C34F8E1314697D917FE405B425264" xlink:to="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable_D197B46162263FCE45B7FE405B41E09C" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementEquityComponentsAxis" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_C7AA4FB85D23222B7046FE405B42BD04" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable_D197B46162263FCE45B7FE405B41E09C" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_C7AA4FB85D23222B7046FE405B42BD04" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_290C661D961AD8A6FE15FE405B428083_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_C7AA4FB85D23222B7046FE405B42BD04" xlink:to="loc_us-gaap_EquityComponentDomain_290C661D961AD8A6FE15FE405B428083_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_290C661D961AD8A6FE15FE405B428083" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_C7AA4FB85D23222B7046FE405B42BD04" xlink:to="loc_us-gaap_EquityComponentDomain_290C661D961AD8A6FE15FE405B428083" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RetainedEarningsMember" xlink:label="loc_us-gaap_RetainedEarningsMember_B4C7D60168060C59087AFE405B429325" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_290C661D961AD8A6FE15FE405B428083" xlink:to="loc_us-gaap_RetainedEarningsMember_B4C7D60168060C59087AFE405B429325" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AdditionalPaidInCapitalMember" xlink:label="loc_us-gaap_AdditionalPaidInCapitalMember_BCA66316F3770FB86CE1FE405B42AF1F" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_290C661D961AD8A6FE15FE405B428083" xlink:to="loc_us-gaap_AdditionalPaidInCapitalMember_BCA66316F3770FB86CE1FE405B42AF1F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AdjustmentsForNewAccountingPronouncementsAxis" xlink:label="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_80C913F1270F3E823E74FE405B421D11" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable_D197B46162263FCE45B7FE405B41E09C" xlink:to="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_80C913F1270F3E823E74FE405B421D11" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TypeOfAdoptionMember" xlink:label="loc_us-gaap_TypeOfAdoptionMember_E753C5041AC9A41AAB44FE405B426A93_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_80C913F1270F3E823E74FE405B421D11" xlink:to="loc_us-gaap_TypeOfAdoptionMember_E753C5041AC9A41AAB44FE405B426A93_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TypeOfAdoptionMember" xlink:label="loc_us-gaap_TypeOfAdoptionMember_E753C5041AC9A41AAB44FE405B426A93" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_80C913F1270F3E823E74FE405B421D11" xlink:to="loc_us-gaap_TypeOfAdoptionMember_E753C5041AC9A41AAB44FE405B426A93" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccountingStandardsUpdate201609Member" xlink:label="loc_us-gaap_AccountingStandardsUpdate201609Member_7F96CFF728B295208BE2FE405B4236C1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TypeOfAdoptionMember_E753C5041AC9A41AAB44FE405B426A93" xlink:to="loc_us-gaap_AccountingStandardsUpdate201609Member_7F96CFF728B295208BE2FE405B4236C1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CumulativeEffectOfNewAccountingPrincipleInPeriodOfAdoption" xlink:label="loc_us-gaap_CumulativeEffectOfNewAccountingPrincipleInPeriodOfAdoption_CFB0EAC50C69030CDC91FE405B42BCD8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems_DF6C34F8E1314697D917FE405B425264" xlink:to="loc_us-gaap_CumulativeEffectOfNewAccountingPrincipleInPeriodOfAdoption_CFB0EAC50C69030CDC91FE405B42BCD8" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/SummaryOfSignificantAccountingPoliciesRelatedPartyTransactionsDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.mongodb.com/role/SummaryOfSignificantAccountingPoliciesRestrictedCashDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.mongodb.com/role/SummaryOfSignificantAccountingPoliciesScheduleOfPropertyPlantAndEquipmentUsefulLivesDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentLineItems" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentLineItems_4CE48A71F3933626AD6F698732BAF5D5" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfPropertyPlantAndEquipmentTable" xlink:label="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_DA39C481D66EC228C206698732B9A86C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_4CE48A71F3933626AD6F698732BAF5D5" xlink:to="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_DA39C481D66EC228C206698732B9A86C" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentByTypeAxis" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_CB92C4B326142973E5FD698732B96DBE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_DA39C481D66EC228C206698732B9A86C" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_CB92C4B326142973E5FD698732B96DBE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_A06F71529632E1FEDEB1698732B93FB4_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_CB92C4B326142973E5FD698732B96DBE" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_A06F71529632E1FEDEB1698732B93FB4_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_A06F71529632E1FEDEB1698732B93FB4" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_CB92C4B326142973E5FD698732B96DBE" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_A06F71529632E1FEDEB1698732B93FB4" xlink:type="arc" />
    <link:loc xlink:href="mdb-20180131.xsd#mdb_ComputerAndOfficeEquipmentMember" xlink:label="loc_mdb_ComputerAndOfficeEquipmentMember_1E87C2C31E605589D037698732B9B424" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_A06F71529632E1FEDEB1698732B93FB4" xlink:to="loc_mdb_ComputerAndOfficeEquipmentMember_1E87C2C31E605589D037698732B9B424" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SoftwareAndSoftwareDevelopmentCostsMember" xlink:label="loc_us-gaap_SoftwareAndSoftwareDevelopmentCostsMember_FBCAF8BF39BCD47176F369ADD7740FEC" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_A06F71529632E1FEDEB1698732B93FB4" xlink:to="loc_us-gaap_SoftwareAndSoftwareDevelopmentCostsMember_FBCAF8BF39BCD47176F369ADD7740FEC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ComputerEquipmentMember" xlink:label="loc_us-gaap_ComputerEquipmentMember_CC2991EA087EFECEE5E6698732B94A66" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_A06F71529632E1FEDEB1698732B93FB4" xlink:to="loc_us-gaap_ComputerEquipmentMember_CC2991EA087EFECEE5E6698732B94A66" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FurnitureAndFixturesMember" xlink:label="loc_us-gaap_FurnitureAndFixturesMember_D1F5E12201F8BCCC2947698732B9490B" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_A06F71529632E1FEDEB1698732B93FB4" xlink:to="loc_us-gaap_FurnitureAndFixturesMember_D1F5E12201F8BCCC2947698732B9490B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RangeAxis" xlink:label="loc_us-gaap_RangeAxis_FA61CF0CFD7891EF9985698732B96873" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_DA39C481D66EC228C206698732B9A86C" xlink:to="loc_us-gaap_RangeAxis_FA61CF0CFD7891EF9985698732B96873" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_1CF0DCEE88464609561C698732B9D949_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RangeAxis_FA61CF0CFD7891EF9985698732B96873" xlink:to="loc_us-gaap_RangeMember_1CF0DCEE88464609561C698732B9D949_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_1CF0DCEE88464609561C698732B9D949" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RangeAxis_FA61CF0CFD7891EF9985698732B96873" xlink:to="loc_us-gaap_RangeMember_1CF0DCEE88464609561C698732B9D949" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MinimumMember" xlink:label="loc_us-gaap_MinimumMember_AF3605BC3F6885785688698732B9700D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_1CF0DCEE88464609561C698732B9D949" xlink:to="loc_us-gaap_MinimumMember_AF3605BC3F6885785688698732B9700D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MaximumMember" xlink:label="loc_us-gaap_MaximumMember_46ADD62CD0E588509F19698732B93234" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_1CF0DCEE88464609561C698732B9D949" xlink:to="loc_us-gaap_MaximumMember_46ADD62CD0E588509F19698732B93234" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentUsefulLife" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentUsefulLife_2095026F1BE22801BE16698732BA2E47" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_4CE48A71F3933626AD6F698732BAF5D5" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentUsefulLife_2095026F1BE22801BE16698732BA2E47" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/SummaryOfSignificantAccountingPoliciesSegmentInformationDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.mongodb.com/role/SummaryOfSignificantAccountingPoliciesTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.mongodb.com/role/Warrants" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.mongodb.com/role/WarrantsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ClassOfWarrantOrRightLineItems" xlink:label="loc_us-gaap_ClassOfWarrantOrRightLineItems_975C5E00C8B3BF1F9B6377B669E4CEDB" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ClassOfWarrantOrRightTable" xlink:label="loc_us-gaap_ClassOfWarrantOrRightTable_D0B7D2733A1BB4B5250477B669E2E205" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ClassOfWarrantOrRightLineItems_975C5E00C8B3BF1F9B6377B669E4CEDB" xlink:to="loc_us-gaap_ClassOfWarrantOrRightTable_D0B7D2733A1BB4B5250477B669E2E205" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementClassOfStockAxis" xlink:label="loc_us-gaap_StatementClassOfStockAxis_4FF18B59FB76382ABC1D77B669E29E70" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ClassOfWarrantOrRightTable_D0B7D2733A1BB4B5250477B669E2E205" xlink:to="loc_us-gaap_StatementClassOfStockAxis_4FF18B59FB76382ABC1D77B669E29E70" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_00747470BF9A87CBE80A77B669E3D9E3_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_4FF18B59FB76382ABC1D77B669E29E70" xlink:to="loc_us-gaap_ClassOfStockDomain_00747470BF9A87CBE80A77B669E3D9E3_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_00747470BF9A87CBE80A77B669E3D9E3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_4FF18B59FB76382ABC1D77B669E29E70" xlink:to="loc_us-gaap_ClassOfStockDomain_00747470BF9A87CBE80A77B669E3D9E3" xlink:type="arc" />
    <link:loc xlink:href="mdb-20180131.xsd#mdb_SeriesEAndSeriesFRedeemableConvertiblePreferredStockMember" xlink:label="loc_mdb_SeriesEAndSeriesFRedeemableConvertiblePreferredStockMember_F106BE93667E607CB82B77B669E34772" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_00747470BF9A87CBE80A77B669E3D9E3" xlink:to="loc_mdb_SeriesEAndSeriesFRedeemableConvertiblePreferredStockMember_F106BE93667E607CB82B77B669E34772" xlink:type="arc" />
    <link:loc xlink:href="mdb-20180131.xsd#mdb_SeriesERedeemableConvertiblePreferredStockMember" xlink:label="loc_mdb_SeriesERedeemableConvertiblePreferredStockMember_B7555219DE2E0D6A747177B669E3D40D" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_00747470BF9A87CBE80A77B669E3D9E3" xlink:to="loc_mdb_SeriesERedeemableConvertiblePreferredStockMember_B7555219DE2E0D6A747177B669E3D40D" xlink:type="arc" />
    <link:loc xlink:href="mdb-20180131.xsd#mdb_SeriesFRedeemableConvertiblePreferredStockMember" xlink:label="loc_mdb_SeriesFRedeemableConvertiblePreferredStockMember_7E874DB7AEAE9027215377B669E333BB" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_00747470BF9A87CBE80A77B669E3D9E3" xlink:to="loc_mdb_SeriesFRedeemableConvertiblePreferredStockMember_7E874DB7AEAE9027215377B669E333BB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CommonClassBMember" xlink:label="loc_us-gaap_CommonClassBMember_EF14971F0D1A7CA446E277B669E3518B" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_00747470BF9A87CBE80A77B669E3D9E3" xlink:to="loc_us-gaap_CommonClassBMember_EF14971F0D1A7CA446E277B669E3518B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementEquityComponentsAxis" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_8A7BD3323CB4DE0AE02477B669E333ED" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ClassOfWarrantOrRightTable_D0B7D2733A1BB4B5250477B669E2E205" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_8A7BD3323CB4DE0AE02477B669E333ED" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_69A5E4DDF9C1FB52A81577B669E30400_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_8A7BD3323CB4DE0AE02477B669E333ED" xlink:to="loc_us-gaap_EquityComponentDomain_69A5E4DDF9C1FB52A81577B669E30400_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_69A5E4DDF9C1FB52A81577B669E30400" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_8A7BD3323CB4DE0AE02477B669E333ED" xlink:to="loc_us-gaap_EquityComponentDomain_69A5E4DDF9C1FB52A81577B669E30400" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_WarrantMember" xlink:label="loc_us-gaap_WarrantMember_3C8D17739EE7876C4F9D77B669E3E6E6" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_69A5E4DDF9C1FB52A81577B669E30400" xlink:to="loc_us-gaap_WarrantMember_3C8D17739EE7876C4F9D77B669E3E6E6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CommonStockMember" xlink:label="loc_us-gaap_CommonStockMember_C18B98C7F46BFF051FCF77B669E3407F" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_69A5E4DDF9C1FB52A81577B669E30400" xlink:to="loc_us-gaap_CommonStockMember_C18B98C7F46BFF051FCF77B669E3407F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ClassOfWarrantOrRightAxis" xlink:label="loc_us-gaap_ClassOfWarrantOrRightAxis_5333E59468A802036BF977B669E349F5" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ClassOfWarrantOrRightTable_D0B7D2733A1BB4B5250477B669E2E205" xlink:to="loc_us-gaap_ClassOfWarrantOrRightAxis_5333E59468A802036BF977B669E349F5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ClassOfWarrantOrRightDomain" xlink:label="loc_us-gaap_ClassOfWarrantOrRightDomain_BB60F9CD351C46172EDA77B669E32CDE_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ClassOfWarrantOrRightAxis_5333E59468A802036BF977B669E349F5" xlink:to="loc_us-gaap_ClassOfWarrantOrRightDomain_BB60F9CD351C46172EDA77B669E32CDE_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ClassOfWarrantOrRightDomain" xlink:label="loc_us-gaap_ClassOfWarrantOrRightDomain_BB60F9CD351C46172EDA77B669E32CDE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ClassOfWarrantOrRightAxis_5333E59468A802036BF977B669E349F5" xlink:to="loc_us-gaap_ClassOfWarrantOrRightDomain_BB60F9CD351C46172EDA77B669E32CDE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SeriesEPreferredStockMember" xlink:label="loc_us-gaap_SeriesEPreferredStockMember_716D8401360453BA559577B669E31E0B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfWarrantOrRightDomain_BB60F9CD351C46172EDA77B669E32CDE" xlink:to="loc_us-gaap_SeriesEPreferredStockMember_716D8401360453BA559577B669E31E0B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SeriesFPreferredStockMember" xlink:label="loc_us-gaap_SeriesFPreferredStockMember_6217DC0E5225BCB9DC6677B669E3F778" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfWarrantOrRightDomain_BB60F9CD351C46172EDA77B669E32CDE" xlink:to="loc_us-gaap_SeriesFPreferredStockMember_6217DC0E5225BCB9DC6677B669E3F778" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CommonClassBMember" xlink:label="loc_us-gaap_CommonClassBMember_9F778BB4F10180461B5577B669E48B16" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfWarrantOrRightDomain_BB60F9CD351C46172EDA77B669E32CDE" xlink:to="loc_us-gaap_CommonClassBMember_9F778BB4F10180461B5577B669E48B16" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CounterpartyNameAxis" xlink:label="loc_us-gaap_CounterpartyNameAxis_03392FC100469A54611B77B669E4D36B" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ClassOfWarrantOrRightTable_D0B7D2733A1BB4B5250477B669E2E205" xlink:to="loc_us-gaap_CounterpartyNameAxis_03392FC100469A54611B77B669E4D36B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RepurchaseAgreementCounterpartyNameDomain" xlink:label="loc_us-gaap_RepurchaseAgreementCounterpartyNameDomain_117A82605FB19D2CB59877B669E4673A_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_CounterpartyNameAxis_03392FC100469A54611B77B669E4D36B" xlink:to="loc_us-gaap_RepurchaseAgreementCounterpartyNameDomain_117A82605FB19D2CB59877B669E4673A_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RepurchaseAgreementCounterpartyNameDomain" xlink:label="loc_us-gaap_RepurchaseAgreementCounterpartyNameDomain_117A82605FB19D2CB59877B669E4673A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_CounterpartyNameAxis_03392FC100469A54611B77B669E4D36B" xlink:to="loc_us-gaap_RepurchaseAgreementCounterpartyNameDomain_117A82605FB19D2CB59877B669E4673A" xlink:type="arc" />
    <link:loc xlink:href="mdb-20180131.xsd#mdb_FinancialInstitutionOneMember" xlink:label="loc_mdb_FinancialInstitutionOneMember_E9BA5BA5DC60DD4FCFA677B669E4EB0B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RepurchaseAgreementCounterpartyNameDomain_117A82605FB19D2CB59877B669E4673A" xlink:to="loc_mdb_FinancialInstitutionOneMember_E9BA5BA5DC60DD4FCFA677B669E4EB0B" xlink:type="arc" />
    <link:loc xlink:href="mdb-20180131.xsd#mdb_FinancialInstitutionTwoMember" xlink:label="loc_mdb_FinancialInstitutionTwoMember_FAC684F38E2525528B3177B669E4369D" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RepurchaseAgreementCounterpartyNameDomain_117A82605FB19D2CB59877B669E4673A" xlink:to="loc_mdb_FinancialInstitutionTwoMember_FAC684F38E2525528B3177B669E4369D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1" xlink:label="loc_us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1_FD17912F54884195EF2C77B669E46665" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfWarrantOrRightLineItems_975C5E00C8B3BF1F9B6377B669E4CEDB" xlink:to="loc_us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1_FD17912F54884195EF2C77B669E46665" xlink:type="arc" />
    <link:loc xlink:href="mdb-20180131.xsd#mdb_TemporaryEquityStockIssuedDuringPeriodSharesNewIssuesForExerciseOfWarrants" xlink:label="loc_mdb_TemporaryEquityStockIssuedDuringPeriodSharesNewIssuesForExerciseOfWarrants_F062AE9D20AB1B1677C877B669E46692" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfWarrantOrRightLineItems_975C5E00C8B3BF1F9B6377B669E4CEDB" xlink:to="loc_mdb_TemporaryEquityStockIssuedDuringPeriodSharesNewIssuesForExerciseOfWarrants_F062AE9D20AB1B1677C877B669E46692" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TemporaryEquityStockIssuedDuringPeriodValueNewIssues" xlink:label="loc_us-gaap_TemporaryEquityStockIssuedDuringPeriodValueNewIssues_C01D99E5CE658845FD4277B669E4F3B4" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfWarrantOrRightLineItems_975C5E00C8B3BF1F9B6377B669E4CEDB" xlink:to="loc_us-gaap_TemporaryEquityStockIssuedDuringPeriodValueNewIssues_C01D99E5CE658845FD4277B669E4F3B4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesConversionOfConvertibleSecurities" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesConversionOfConvertibleSecurities_8F7BFF92E0994981507D77B669E4F606" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfWarrantOrRightLineItems_975C5E00C8B3BF1F9B6377B669E4CEDB" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesConversionOfConvertibleSecurities_8F7BFF92E0994981507D77B669E4F606" xlink:type="arc" />
    <link:loc xlink:href="mdb-20180131.xsd#mdb_StockIssuedDuringPeriodSharesNewIssuesforExerciseOfWarrants" xlink:label="loc_mdb_StockIssuedDuringPeriodSharesNewIssuesforExerciseOfWarrants_DBDA905CA4E4686F7F5B77B669E45537" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfWarrantOrRightLineItems_975C5E00C8B3BF1F9B6377B669E4CEDB" xlink:to="loc_mdb_StockIssuedDuringPeriodSharesNewIssuesforExerciseOfWarrants_DBDA905CA4E4686F7F5B77B669E45537" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights" xlink:label="loc_us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights_903F026E08BED8A0150377B669E40B4E" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfWarrantOrRightLineItems_975C5E00C8B3BF1F9B6377B669E4CEDB" xlink:to="loc_us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights_903F026E08BED8A0150377B669E40B4E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ClassOfWarrantOrRightOutstanding" xlink:label="loc_us-gaap_ClassOfWarrantOrRightOutstanding_21150F069586A537333977B669E48D11" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfWarrantOrRightLineItems_975C5E00C8B3BF1F9B6377B669E4CEDB" xlink:to="loc_us-gaap_ClassOfWarrantOrRightOutstanding_21150F069586A537333977B669E48D11" xlink:type="arc" />
  </link:definitionLink>
</link:linkbase>
