<?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/CommitmentsAndContingencies" xlink:href="mdb-20180430.xsd#CommitmentsAndContingencies" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/CommitmentsAndContingenciesDetails" xlink:href="mdb-20180430.xsd#CommitmentsAndContingenciesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/CondensedConsolidatedBalanceSheets" xlink:href="mdb-20180430.xsd#CondensedConsolidatedBalanceSheets" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/CondensedConsolidatedBalanceSheetsParentheticals" xlink:href="mdb-20180430.xsd#CondensedConsolidatedBalanceSheetsParentheticals" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/CondensedConsolidatedStatementsOfCashFlows" xlink:href="mdb-20180430.xsd#CondensedConsolidatedStatementsOfCashFlows" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/CondensedConsolidatedStatementsOfOperations" xlink:href="mdb-20180430.xsd#CondensedConsolidatedStatementsOfOperations" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/ConsolidatedStatementsOfComprehensiveLoss" xlink:href="mdb-20180430.xsd#ConsolidatedStatementsOfComprehensiveLoss" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/DocumentAndEntityInformation" xlink:href="mdb-20180430.xsd#DocumentAndEntityInformation" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/EquityIncentivePlansAndEmployeeStockPurchasePlan" xlink:href="mdb-20180430.xsd#EquityIncentivePlansAndEmployeeStockPurchasePlan" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/EquityIncentivePlansAndEmployeeStockPurchasePlanEmployeeStockPurchasePlanDetails" xlink:href="mdb-20180430.xsd#EquityIncentivePlansAndEmployeeStockPurchasePlanEmployeeStockPurchasePlanDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/EquityIncentivePlansAndEmployeeStockPurchasePlanRestrictedStockUnitsAdditionalInformationDetails" xlink:href="mdb-20180430.xsd#EquityIncentivePlansAndEmployeeStockPurchasePlanRestrictedStockUnitsAdditionalInformationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/EquityIncentivePlansAndEmployeeStockPurchasePlanScheduleOfRestrictedStockUnitActivityDetails" xlink:href="mdb-20180430.xsd#EquityIncentivePlansAndEmployeeStockPurchasePlanScheduleOfRestrictedStockUnitActivityDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/EquityIncentivePlansAndEmployeeStockPurchasePlanScheduleOfStockOptionActivityDetails" xlink:href="mdb-20180430.xsd#EquityIncentivePlansAndEmployeeStockPurchasePlanScheduleOfStockOptionActivityDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/EquityIncentivePlansAndEmployeeStockPurchasePlanStockBasedCompensationExpenseRecognizedInStatementOfOperationsDetails" xlink:href="mdb-20180430.xsd#EquityIncentivePlansAndEmployeeStockPurchasePlanStockBasedCompensationExpenseRecognizedInStatementOfOperationsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/EquityIncentivePlansAndEmployeeStockPurchasePlanStockOptionsDetails" xlink:href="mdb-20180430.xsd#EquityIncentivePlansAndEmployeeStockPurchasePlanStockOptionsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/EquityIncentivePlansAndEmployeeStockPurchasePlanTables" xlink:href="mdb-20180430.xsd#EquityIncentivePlansAndEmployeeStockPurchasePlanTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/FairValueMeasurements" xlink:href="mdb-20180430.xsd#FairValueMeasurements" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/FairValueMeasurementsScheduleOfFinancialAssetsAndLiabilitiesDetails" xlink:href="mdb-20180430.xsd#FairValueMeasurementsScheduleOfFinancialAssetsAndLiabilitiesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/FairValueMeasurementsTables" xlink:href="mdb-20180430.xsd#FairValueMeasurementsTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/IncomeTaxes" xlink:href="mdb-20180430.xsd#IncomeTaxes" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/IncomeTaxesDetails" xlink:href="mdb-20180430.xsd#IncomeTaxesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/NetLossPerShare" xlink:href="mdb-20180430.xsd#NetLossPerShare" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/NetLossPerShareAdditionalInformationDetails" xlink:href="mdb-20180430.xsd#NetLossPerShareAdditionalInformationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/NetLossPerShareScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfDilutedNetLossPerShareDetails" xlink:href="mdb-20180430.xsd#NetLossPerShareScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfDilutedNetLossPerShareDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/NetLossPerShareScheduleOfBasicAndDilutedEarningsLossPerShareDetails" xlink:href="mdb-20180430.xsd#NetLossPerShareScheduleOfBasicAndDilutedEarningsLossPerShareDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/NetLossPerShareTables" xlink:href="mdb-20180430.xsd#NetLossPerShareTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/OrganizationAndDescriptionOfBusiness" xlink:href="mdb-20180430.xsd#OrganizationAndDescriptionOfBusiness" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/SegmentsAndGeographicRevenue" xlink:href="mdb-20180430.xsd#SegmentsAndGeographicRevenue" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/SegmentsAndGeographicRevenueAdditionalInformationDetails" xlink:href="mdb-20180430.xsd#SegmentsAndGeographicRevenueAdditionalInformationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/SegmentsAndGeographicRevenueScheduleOfTotalRevenueByGeographicAreasDetails" xlink:href="mdb-20180430.xsd#SegmentsAndGeographicRevenueScheduleOfTotalRevenueByGeographicAreasDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/SegmentsAndGeographicRevenueTables" xlink:href="mdb-20180430.xsd#SegmentsAndGeographicRevenueTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/SummaryOfSignificantAccountingPolicies" xlink:href="mdb-20180430.xsd#SummaryOfSignificantAccountingPolicies" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/SummaryOfSignificantAccountingPoliciesDetails" xlink:href="mdb-20180430.xsd#SummaryOfSignificantAccountingPoliciesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/SummaryOfSignificantAccountingPoliciesPolicies" xlink:href="mdb-20180430.xsd#SummaryOfSignificantAccountingPoliciesPolicies" 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/CommitmentsAndContingencies" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.mongodb.com/role/CommitmentsAndContingenciesDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.mongodb.com/role/CondensedConsolidatedBalanceSheets" 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_B4C2B3CA8BD18943A47FAC53104BC430" 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_C6279672031852E6B06AAC53104B84B9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_B4C2B3CA8BD18943A47FAC53104BC430" xlink:to="loc_us-gaap_StatementTable_C6279672031852E6B06AAC53104B84B9" 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_40A6C289C99C6FBE6D5DAC53104BFAE8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_C6279672031852E6B06AAC53104B84B9" xlink:to="loc_us-gaap_StatementClassOfStockAxis_40A6C289C99C6FBE6D5DAC53104BFAE8" 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_2F5D32751B51830EB90EAC53104B0965_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_40A6C289C99C6FBE6D5DAC53104BFAE8" xlink:to="loc_us-gaap_ClassOfStockDomain_2F5D32751B51830EB90EAC53104B0965_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_2F5D32751B51830EB90EAC53104B0965" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_40A6C289C99C6FBE6D5DAC53104BFAE8" xlink:to="loc_us-gaap_ClassOfStockDomain_2F5D32751B51830EB90EAC53104B0965" 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_6453033BF2D6D8F8DAD7AC53104B5DEB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_2F5D32751B51830EB90EAC53104B0965" xlink:to="loc_us-gaap_CommonClassAMember_6453033BF2D6D8F8DAD7AC53104B5DEB" 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_B647F9F5C2FFAD33CF04AC53104B12B1" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_2F5D32751B51830EB90EAC53104B0965" xlink:to="loc_us-gaap_CommonClassBMember_B647F9F5C2FFAD33CF04AC53104B12B1" 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_27393B2000209E07501EAC53104BB611" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_B4C2B3CA8BD18943A47FAC53104BC430" xlink:to="loc_us-gaap_AssetsAbstract_27393B2000209E07501EAC53104BB611" 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_C6BEA4A89B5EBA8D98A8AC53104BDAA2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_27393B2000209E07501EAC53104BB611" xlink:to="loc_us-gaap_AssetsCurrentAbstract_C6BEA4A89B5EBA8D98A8AC53104BDAA2" 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_12846ACAB5FD8AEE160CAC53104BB816" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_C6BEA4A89B5EBA8D98A8AC53104BDAA2" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_12846ACAB5FD8AEE160CAC53104BB816" 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_6F335AD69FEEA9D848A6AC53104B0107" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_C6BEA4A89B5EBA8D98A8AC53104BDAA2" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecuritiesCurrent_6F335AD69FEEA9D848A6AC53104B0107" 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_C16F239D3DA596D4172CAC53104BD985" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_C6BEA4A89B5EBA8D98A8AC53104BDAA2" xlink:to="loc_us-gaap_AccountsReceivableNetCurrent_C16F239D3DA596D4172CAC53104BD985" 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_55EC8FC308501849B06EAC53104B1CBD" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_C6BEA4A89B5EBA8D98A8AC53104BDAA2" xlink:to="loc_us-gaap_DeferredCostsCurrent_55EC8FC308501849B06EAC53104B1CBD" 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_C603B7A4A4A0F01C3812AC53104CB858" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_C6BEA4A89B5EBA8D98A8AC53104BDAA2" xlink:to="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_C603B7A4A4A0F01C3812AC53104CB858" 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_2992AE33895FC38185ACAC53104C4D45" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_C6BEA4A89B5EBA8D98A8AC53104BDAA2" xlink:to="loc_us-gaap_AssetsCurrent_2992AE33895FC38185ACAC53104C4D45" 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_9B28067A1D571FCD1029AC53104C116F" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_27393B2000209E07501EAC53104BB611" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_9B28067A1D571FCD1029AC53104C116F" 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_8A4C69372F7D91D08D0EAC53104CF887" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_27393B2000209E07501EAC53104BB611" xlink:to="loc_us-gaap_Goodwill_8A4C69372F7D91D08D0EAC53104CF887" 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_A63A1AF0958CCB3D4D94AC53104CCE6E" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_27393B2000209E07501EAC53104BB611" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsNet_A63A1AF0958CCB3D4D94AC53104CCE6E" 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_AB755E2970376AA9AF85AC53104C1FE9" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_27393B2000209E07501EAC53104BB611" xlink:to="loc_us-gaap_DeferredIncomeTaxAssetsNet_AB755E2970376AA9AF85AC53104C1FE9" 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_44B154F5B2ECA7EE62B9AC53104CF968" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_27393B2000209E07501EAC53104BB611" xlink:to="loc_us-gaap_OtherAssetsNoncurrent_44B154F5B2ECA7EE62B9AC53104CF968" 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_E43349204BD8D9753E5DAC53104C33B2" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_27393B2000209E07501EAC53104BB611" xlink:to="loc_us-gaap_Assets_E43349204BD8D9753E5DAC53104C33B2" 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_B8B55B8ED0A7B218E60AAC53104CDD1A" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_B4C2B3CA8BD18943A47FAC53104BC430" xlink:to="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_B8B55B8ED0A7B218E60AAC53104CDD1A" 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_D89178710DD1D8962870AC53104C11CE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_B8B55B8ED0A7B218E60AAC53104CDD1A" xlink:to="loc_us-gaap_LiabilitiesCurrentAbstract_D89178710DD1D8962870AC53104C11CE" 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_62558FCDA83D040E2EB8AC53104CE3EA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_D89178710DD1D8962870AC53104C11CE" xlink:to="loc_us-gaap_AccountsPayableCurrent_62558FCDA83D040E2EB8AC53104CE3EA" 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_8E05B445A81ED017B272AC53104C3404" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_D89178710DD1D8962870AC53104C11CE" xlink:to="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_8E05B445A81ED017B272AC53104C3404" 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_793A5EB32CCF2F8D78DEAC53104CCFA4" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_D89178710DD1D8962870AC53104C11CE" xlink:to="loc_us-gaap_AccruedLiabilitiesCurrent_793A5EB32CCF2F8D78DEAC53104CCFA4" 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_0A7200093B44A5F61C44AC53104CCA6B" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_D89178710DD1D8962870AC53104C11CE" xlink:to="loc_us-gaap_DeferredRevenueCurrent_0A7200093B44A5F61C44AC53104CCA6B" 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_E6FA857BFB831FF73B94AC53104CB16F" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_D89178710DD1D8962870AC53104C11CE" xlink:to="loc_us-gaap_LiabilitiesCurrent_E6FA857BFB831FF73B94AC53104CB16F" 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_4AF9344948BC2FDE318FAC53104C73B0" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_B8B55B8ED0A7B218E60AAC53104CDD1A" xlink:to="loc_us-gaap_DeferredRentCreditNoncurrent_4AF9344948BC2FDE318FAC53104C73B0" 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_D1F9493C32A81652A92BAC53104C61B2" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_B8B55B8ED0A7B218E60AAC53104CDD1A" xlink:to="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet_D1F9493C32A81652A92BAC53104C61B2" 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_C3083396294C5F980D38AC53104C325C" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_B8B55B8ED0A7B218E60AAC53104CDD1A" xlink:to="loc_us-gaap_DeferredRevenueNoncurrent_C3083396294C5F980D38AC53104C325C" 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_B19F160F0A351CE98077AC53104C6CC8" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_B8B55B8ED0A7B218E60AAC53104CDD1A" xlink:to="loc_us-gaap_OtherLiabilitiesNoncurrent_B19F160F0A351CE98077AC53104C6CC8" 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_443ABBEFFB8B48A6867CAC53104DFA5E" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_B8B55B8ED0A7B218E60AAC53104CDD1A" xlink:to="loc_us-gaap_Liabilities_443ABBEFFB8B48A6867CAC53104DFA5E" 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_8A86D8B334CB90EA1F1EAC53104D7AC1" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_B8B55B8ED0A7B218E60AAC53104CDD1A" xlink:to="loc_us-gaap_CommitmentsAndContingencies_8A86D8B334CB90EA1F1EAC53104D7AC1" 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_CC4D43D54ED61E6DF852AC53104D8D4F" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_B8B55B8ED0A7B218E60AAC53104CDD1A" xlink:to="loc_us-gaap_StockholdersEquityAbstract_CC4D43D54ED61E6DF852AC53104D8D4F" 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_70299B7BCF87D8D03A86AC53104D9414" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_CC4D43D54ED61E6DF852AC53104D8D4F" xlink:to="loc_us-gaap_CommonStockValue_70299B7BCF87D8D03A86AC53104D9414" 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_480DB264969C20048768AC53104DF8CF" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_CC4D43D54ED61E6DF852AC53104D8D4F" xlink:to="loc_us-gaap_AdditionalPaidInCapital_480DB264969C20048768AC53104DF8CF" 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_270FA86CC279E559EB78AC53104DC0A5" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_CC4D43D54ED61E6DF852AC53104D8D4F" xlink:to="loc_us-gaap_TreasuryStockValue_270FA86CC279E559EB78AC53104DC0A5" 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_B438EA796044E30C63C5AC53104D9807" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_CC4D43D54ED61E6DF852AC53104D8D4F" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_B438EA796044E30C63C5AC53104D9807" 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_0676D3D55A60AB4F8288AC53104D025F" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_CC4D43D54ED61E6DF852AC53104D8D4F" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_0676D3D55A60AB4F8288AC53104D025F" 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_E82859258A8F4846C7D8AC53104D5F92" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_CC4D43D54ED61E6DF852AC53104D8D4F" xlink:to="loc_us-gaap_StockholdersEquity_E82859258A8F4846C7D8AC53104D5F92" 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_FD943BC7B447387FC47AAC53104D9795" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_B8B55B8ED0A7B218E60AAC53104CDD1A" xlink:to="loc_us-gaap_LiabilitiesAndStockholdersEquity_FD943BC7B447387FC47AAC53104D9795" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/CondensedConsolidatedBalanceSheetsParentheticals" 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_9607561590F2C275F38D69570F909D49" 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_7FB423A5B92382D281A569570F8FBE8D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_9607561590F2C275F38D69570F909D49" xlink:to="loc_us-gaap_StatementTable_7FB423A5B92382D281A569570F8FBE8D" 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_A9E651BE7D59DA14D71C69570F8FC632" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_7FB423A5B92382D281A569570F8FBE8D" xlink:to="loc_us-gaap_StatementClassOfStockAxis_A9E651BE7D59DA14D71C69570F8FC632" 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_9967BBD69CE24C7CFBF069570F8F6D12_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_A9E651BE7D59DA14D71C69570F8FC632" xlink:to="loc_us-gaap_ClassOfStockDomain_9967BBD69CE24C7CFBF069570F8F6D12_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_9967BBD69CE24C7CFBF069570F8F6D12" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_A9E651BE7D59DA14D71C69570F8FC632" xlink:to="loc_us-gaap_ClassOfStockDomain_9967BBD69CE24C7CFBF069570F8F6D12" 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_79066F0BD899CB3207C969570F901436" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_9967BBD69CE24C7CFBF069570F8F6D12" xlink:to="loc_us-gaap_CommonClassAMember_79066F0BD899CB3207C969570F901436" 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_2E61E9210AF9328597E169570F9073F1" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_9967BBD69CE24C7CFBF069570F8F6D12" xlink:to="loc_us-gaap_CommonClassBMember_2E61E9210AF9328597E169570F9073F1" 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_E1C12D01DEA00E59A5DD69570F90DD6E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_9607561590F2C275F38D69570F909D49" xlink:to="loc_us-gaap_AssetsCurrentAbstract_E1C12D01DEA00E59A5DD69570F90DD6E" 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_59D9DF4E3F36C097F26069570F90EB57" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_E1C12D01DEA00E59A5DD69570F90DD6E" xlink:to="loc_us-gaap_AllowanceForDoubtfulAccountsReceivableCurrent_59D9DF4E3F36C097F26069570F90EB57" 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_1B76F7C5713D5375053469570F90FA00" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_9607561590F2C275F38D69570F909D49" xlink:to="loc_us-gaap_StockholdersEquityAbstract_1B76F7C5713D5375053469570F90FA00" 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_DFDA9D623A9C543FDE3069570F9086F9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_1B76F7C5713D5375053469570F90FA00" xlink:to="loc_us-gaap_CommonStockParOrStatedValuePerShare_DFDA9D623A9C543FDE3069570F9086F9" 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_ED6E39AF9DAC3C4FD7A269570F904CB7" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_1B76F7C5713D5375053469570F90FA00" xlink:to="loc_us-gaap_CommonStockSharesAuthorized_ED6E39AF9DAC3C4FD7A269570F904CB7" 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_BC3FA077B392C91D09AA69570F90D1FC" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_1B76F7C5713D5375053469570F90FA00" xlink:to="loc_us-gaap_CommonStockSharesIssued_BC3FA077B392C91D09AA69570F90D1FC" 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_D78E6689256AE7AA6BE069570F900B91" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_1B76F7C5713D5375053469570F90FA00" xlink:to="loc_us-gaap_CommonStockSharesOutstanding_D78E6689256AE7AA6BE069570F900B91" 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_2F2D3637FC9363A5148B69570F9012BF" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_1B76F7C5713D5375053469570F90FA00" xlink:to="loc_us-gaap_TreasuryStockShares_2F2D3637FC9363A5148B69570F9012BF" 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_F7776DDC7DF813D32BFC69570F9098A0" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_1B76F7C5713D5375053469570F90FA00" xlink:to="loc_us-gaap_TreasuryStockAcquiredAverageCostPerShare_F7776DDC7DF813D32BFC69570F9098A0" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/CondensedConsolidatedStatementsOfCashFlows" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.mongodb.com/role/CondensedConsolidatedStatementsOfOperations" 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/DocumentAndEntityInformation" 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_64EFCAC58088D1A91B6ED6BD5E38E75E" 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_A5E3C885E8A4B1E2540AD6BD5E371424" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_64EFCAC58088D1A91B6ED6BD5E38E75E" xlink:to="loc_us-gaap_StatementTable_A5E3C885E8A4B1E2540AD6BD5E371424" 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_E14FF12BE6D214157AA0D6BD5E37B0FB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_A5E3C885E8A4B1E2540AD6BD5E371424" xlink:to="loc_us-gaap_StatementClassOfStockAxis_E14FF12BE6D214157AA0D6BD5E37B0FB" 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_7C0CEEB3EFB29FF90E4FD6BD5E37561D_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_E14FF12BE6D214157AA0D6BD5E37B0FB" xlink:to="loc_us-gaap_ClassOfStockDomain_7C0CEEB3EFB29FF90E4FD6BD5E37561D_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_7C0CEEB3EFB29FF90E4FD6BD5E37561D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_E14FF12BE6D214157AA0D6BD5E37B0FB" xlink:to="loc_us-gaap_ClassOfStockDomain_7C0CEEB3EFB29FF90E4FD6BD5E37561D" 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_00398D2B60CAF7602B93D6BD5E373605" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_7C0CEEB3EFB29FF90E4FD6BD5E37561D" xlink:to="loc_us-gaap_CommonClassAMember_00398D2B60CAF7602B93D6BD5E373605" 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_54A4925FAA6EFC73F9B7D6BD5E38CC80" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_7C0CEEB3EFB29FF90E4FD6BD5E37561D" xlink:to="loc_us-gaap_CommonClassBMember_54A4925FAA6EFC73F9B7D6BD5E38CC80" 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_BD940C1E3ECE86286D2AD6BD5E386DAD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_64EFCAC58088D1A91B6ED6BD5E38E75E" xlink:to="loc_dei_EntityCommonStockSharesOutstanding_BD940C1E3ECE86286D2AD6BD5E386DAD" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/EquityIncentivePlansAndEmployeeStockPurchasePlan" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.mongodb.com/role/EquityIncentivePlansAndEmployeeStockPurchasePlanEmployeeStockPurchasePlanDetails" 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_B5D9880BAA1EAE8FD5B7CC9F032C99E7" 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_1938BCE0CB65492E0E5ECC9F032B5912" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_B5D9880BAA1EAE8FD5B7CC9F032C99E7" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_1938BCE0CB65492E0E5ECC9F032B5912" 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_B69B2A5BC924D84D08D3CC9F032B6FE5" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_1938BCE0CB65492E0E5ECC9F032B5912" xlink:to="loc_us-gaap_AwardTypeAxis_B69B2A5BC924D84D08D3CC9F032B6FE5" 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_D0D79BE8A9A566AEF5A5CC9F032BD98F_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_B69B2A5BC924D84D08D3CC9F032B6FE5" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_D0D79BE8A9A566AEF5A5CC9F032BD98F_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_D0D79BE8A9A566AEF5A5CC9F032BD98F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_B69B2A5BC924D84D08D3CC9F032B6FE5" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_D0D79BE8A9A566AEF5A5CC9F032BD98F" 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_E5437DEF430EC582F9F2CC9F032BADCB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_D0D79BE8A9A566AEF5A5CC9F032BD98F" xlink:to="loc_us-gaap_EmployeeStockMember_E5437DEF430EC582F9F2CC9F032BADCB" 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_24C87F0136D18D30134DCC9F032C8040" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_1938BCE0CB65492E0E5ECC9F032B5912" xlink:to="loc_us-gaap_StatementClassOfStockAxis_24C87F0136D18D30134DCC9F032C8040" 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_12BF55797CE169DB649DCC9F032C95C3_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_24C87F0136D18D30134DCC9F032C8040" xlink:to="loc_us-gaap_ClassOfStockDomain_12BF55797CE169DB649DCC9F032C95C3_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_12BF55797CE169DB649DCC9F032C95C3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_24C87F0136D18D30134DCC9F032C8040" xlink:to="loc_us-gaap_ClassOfStockDomain_12BF55797CE169DB649DCC9F032C95C3" 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_6F0AB93AD44E3A16E686CC9F032C660A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_12BF55797CE169DB649DCC9F032C95C3" xlink:to="loc_us-gaap_CommonClassAMember_6F0AB93AD44E3A16E686CC9F032C660A" 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_A4FD092A97284C54F5F9CC9F032C0215" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_B5D9880BAA1EAE8FD5B7CC9F032C99E7" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized_A4FD092A97284C54F5F9CC9F032C0215" 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_AD520F8F2BFD1AA99AAFCC9F032C21D0" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_B5D9880BAA1EAE8FD5B7CC9F032C99E7" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardMaximumEmployeeSubscriptionRate_AD520F8F2BFD1AA99AAFCC9F032C21D0" xlink:type="arc" />
    <link:loc xlink:href="mdb-20180430.xsd#mdb_SharebasedCompensationArrangementbySharebasedPaymentAwardDurationOfOfferingPeriods" xlink:label="loc_mdb_SharebasedCompensationArrangementbySharebasedPaymentAwardDurationOfOfferingPeriods_EF59B0203865C5E560D5CC9F032C9FC4" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_B5D9880BAA1EAE8FD5B7CC9F032C99E7" xlink:to="loc_mdb_SharebasedCompensationArrangementbySharebasedPaymentAwardDurationOfOfferingPeriods_EF59B0203865C5E560D5CC9F032C9FC4" 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_28FAC8E19008C117184FCC9F032D7D00" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_B5D9880BAA1EAE8FD5B7CC9F032C99E7" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardPurchasePriceOfCommonStockPercent_28FAC8E19008C117184FCC9F032D7D00" 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_7D29597F751E6E05FEEECC9F032D7B27" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_B5D9880BAA1EAE8FD5B7CC9F032C99E7" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesEmployeeStockPurchasePlans_7D29597F751E6E05FEEECC9F032D7B27" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/EquityIncentivePlansAndEmployeeStockPurchasePlanRestrictedStockUnitsAdditionalInformationDetails" 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_3C60FE812BE6BF3D6667AC530F7B27A2" 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_8E1FE28184EADCC3DB46AC530F75EBB8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_3C60FE812BE6BF3D6667AC530F7B27A2" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_8E1FE28184EADCC3DB46AC530F75EBB8" 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_35B6A2766E5A30CE071BAC530F7A59F6" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_8E1FE28184EADCC3DB46AC530F75EBB8" xlink:to="loc_us-gaap_AwardTypeAxis_35B6A2766E5A30CE071BAC530F7A59F6" 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_BCD2BB4E468A0E018A53AC530F7ACAC1_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_35B6A2766E5A30CE071BAC530F7A59F6" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_BCD2BB4E468A0E018A53AC530F7ACAC1_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_BCD2BB4E468A0E018A53AC530F7ACAC1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_35B6A2766E5A30CE071BAC530F7A59F6" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_BCD2BB4E468A0E018A53AC530F7ACAC1" 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_B946570B9F8EE8C65444AC530F7B876B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_BCD2BB4E468A0E018A53AC530F7ACAC1" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember_B946570B9F8EE8C65444AC530F7B876B" 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_7859371193C0265F7051AC530F75B347" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_8E1FE28184EADCC3DB46AC530F75EBB8" xlink:to="loc_us-gaap_VestingAxis_7859371193C0265F7051AC530F75B347" 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_D682EABB281F68F299A6AC530F75DE6A_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_VestingAxis_7859371193C0265F7051AC530F75B347" xlink:to="loc_us-gaap_VestingDomain_D682EABB281F68F299A6AC530F75DE6A_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_D682EABB281F68F299A6AC530F75DE6A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_VestingAxis_7859371193C0265F7051AC530F75B347" xlink:to="loc_us-gaap_VestingDomain_D682EABB281F68F299A6AC530F75DE6A" 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_39AF6BA6D02C22F1C8CBAC530F75CF5B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VestingDomain_D682EABB281F68F299A6AC530F75DE6A" xlink:to="loc_us-gaap_ShareBasedCompensationAwardTrancheOneMember_39AF6BA6D02C22F1C8CBAC530F75CF5B" 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_1FFE31E6DA7CF6B4F326AC530F7532A5" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VestingDomain_D682EABB281F68F299A6AC530F75DE6A" xlink:to="loc_us-gaap_ShareBasedCompensationAwardTrancheTwoMember_1FFE31E6DA7CF6B4F326AC530F7532A5" 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_5E00776C6226902BF95AAC530F7B2C02" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_3C60FE812BE6BF3D6667AC530F7B27A2" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_5E00776C6226902BF95AAC530F7B2C02" 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_F4C9247F112988D60F4AAC530F7B2D4A" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_3C60FE812BE6BF3D6667AC530F7B27A2" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage_F4C9247F112988D60F4AAC530F7B2D4A" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/EquityIncentivePlansAndEmployeeStockPurchasePlanScheduleOfRestrictedStockUnitActivityDetails" 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_2728419CB7ED7854A1D5AC530F6B5C07" 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_76FE0DD33463536D7D05AC530F6B8CED" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_2728419CB7ED7854A1D5AC530F6B5C07" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_76FE0DD33463536D7D05AC530F6B8CED" 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_13523D19B75CCBB089E5AC530F6B49DD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_76FE0DD33463536D7D05AC530F6B8CED" xlink:to="loc_us-gaap_AwardTypeAxis_13523D19B75CCBB089E5AC530F6B49DD" 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_2710D1905564D8249659AC530F6B0B29_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_13523D19B75CCBB089E5AC530F6B49DD" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_2710D1905564D8249659AC530F6B0B29_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_2710D1905564D8249659AC530F6B0B29" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_13523D19B75CCBB089E5AC530F6B49DD" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_2710D1905564D8249659AC530F6B0B29" 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_2D19A7050A2D3082E7C7AC530F6B89B1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_2710D1905564D8249659AC530F6B0B29" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember_2D19A7050A2D3082E7C7AC530F6B89B1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_95A769F1EB03F6F473A2AC530F6B750C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_2728419CB7ED7854A1D5AC530F6B5C07" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_95A769F1EB03F6F473A2AC530F6B750C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_CC909C494BCE19F39CCFAC530F6BCD0B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_95A769F1EB03F6F473A2AC530F6B750C" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_CC909C494BCE19F39CCFAC530F6BCD0B" 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_4BCA0E0E4B2B25185CDFAC530F6BF007" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_95A769F1EB03F6F473A2AC530F6B750C" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_4BCA0E0E4B2B25185CDFAC530F6BF007" 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_FAF6E84A70EB3CD2920EAC530F6BE3FE" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_95A769F1EB03F6F473A2AC530F6B750C" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_FAF6E84A70EB3CD2920EAC530F6BE3FE" 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_71C5D753941C58989DC1AC530F6B4581" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_95A769F1EB03F6F473A2AC530F6B750C" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod_71C5D753941C58989DC1AC530F6B4581" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_66944BABA9D6CBBE5B19AC530F6BD713" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_2728419CB7ED7854A1D5AC530F6B5C07" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_66944BABA9D6CBBE5B19AC530F6BD713" 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_198B3966A96970C508ACAC530F6B5C35" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_66944BABA9D6CBBE5B19AC530F6BD713" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_198B3966A96970C508ACAC530F6B5C35" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_31F84C409C2DB8BF3E54AC530F714680" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_66944BABA9D6CBBE5B19AC530F6BD713" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_31F84C409C2DB8BF3E54AC530F714680" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue_80BB2F0693E451F510C1AC530F711BDB" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_66944BABA9D6CBBE5B19AC530F6BD713" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue_80BB2F0693E451F510C1AC530F711BDB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue_80ED4252342A41AAFD1AAC530F719A31" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_66944BABA9D6CBBE5B19AC530F6BD713" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue_80ED4252342A41AAFD1AAC530F719A31" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/EquityIncentivePlansAndEmployeeStockPurchasePlanScheduleOfStockOptionActivityDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.mongodb.com/role/EquityIncentivePlansAndEmployeeStockPurchasePlanStockBasedCompensationExpenseRecognizedInStatementOfOperationsDetails" 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_6497C3CF5C7B545AC5DFAC530F5892AA" 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_3E623371BEB691A90506AC530F58498A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_6497C3CF5C7B545AC5DFAC530F5892AA" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_3E623371BEB691A90506AC530F58498A" 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_F2E2248C1B7C4E6BDD2FAC530F585C2F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_3E623371BEB691A90506AC530F58498A" xlink:to="loc_us-gaap_IncomeStatementLocationAxis_F2E2248C1B7C4E6BDD2FAC530F585C2F" 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_5A57A44E404EF52A0230AC530F583DDD_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_F2E2248C1B7C4E6BDD2FAC530F585C2F" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_5A57A44E404EF52A0230AC530F583DDD_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_5A57A44E404EF52A0230AC530F583DDD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_F2E2248C1B7C4E6BDD2FAC530F585C2F" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_5A57A44E404EF52A0230AC530F583DDD" xlink:type="arc" />
    <link:loc xlink:href="mdb-20180430.xsd#mdb_CostofRevenueSubscriptionMember" xlink:label="loc_mdb_CostofRevenueSubscriptionMember_CC059993F38F681F8271AC530F58AB82" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_5A57A44E404EF52A0230AC530F583DDD" xlink:to="loc_mdb_CostofRevenueSubscriptionMember_CC059993F38F681F8271AC530F58AB82" xlink:type="arc" />
    <link:loc xlink:href="mdb-20180430.xsd#mdb_CostofRevenueServicesMember" xlink:label="loc_mdb_CostofRevenueServicesMember_B873BDF6D0122380D6E7AC530F58D29C" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_5A57A44E404EF52A0230AC530F583DDD" xlink:to="loc_mdb_CostofRevenueServicesMember_B873BDF6D0122380D6E7AC530F58D29C" 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_E8BD234038E353F9F78AAC530F58B328" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_5A57A44E404EF52A0230AC530F583DDD" xlink:to="loc_us-gaap_SellingAndMarketingExpenseMember_E8BD234038E353F9F78AAC530F58B328" 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_6A2C021B373C6E7EB716AC530F5854D1" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_5A57A44E404EF52A0230AC530F583DDD" xlink:to="loc_us-gaap_ResearchAndDevelopmentExpenseMember_6A2C021B373C6E7EB716AC530F5854D1" 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_BB2D0C2CCFCE7EF0EDF0AC530F58DFFC" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_5A57A44E404EF52A0230AC530F583DDD" xlink:to="loc_us-gaap_GeneralAndAdministrativeExpenseMember_BB2D0C2CCFCE7EF0EDF0AC530F58DFFC" 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_682C4556F6D913248CC3AC530F58A290" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_6497C3CF5C7B545AC5DFAC530F5892AA" xlink:to="loc_us-gaap_AllocatedShareBasedCompensationExpense_682C4556F6D913248CC3AC530F58A290" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/EquityIncentivePlansAndEmployeeStockPurchasePlanStockOptionsDetails" 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_95163F011AFE443AF608AC530F8ED1D8" 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_90016E3088F0331FCA4FAC530F8EE4A9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_95163F011AFE443AF608AC530F8ED1D8" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_90016E3088F0331FCA4FAC530F8EE4A9" 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_9F0A069BE9D9C0842887AC530F8E35B5" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_90016E3088F0331FCA4FAC530F8EE4A9" xlink:to="loc_us-gaap_AwardTypeAxis_9F0A069BE9D9C0842887AC530F8E35B5" 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_3CD9AA02D2225065941CAC530F8E843D_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_9F0A069BE9D9C0842887AC530F8E35B5" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_3CD9AA02D2225065941CAC530F8E843D_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_3CD9AA02D2225065941CAC530F8E843D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_9F0A069BE9D9C0842887AC530F8E35B5" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_3CD9AA02D2225065941CAC530F8E843D" 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_F960A53CC0F27EB91E95AC530F8E3C2E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_3CD9AA02D2225065941CAC530F8E843D" xlink:to="loc_us-gaap_EmployeeStockOptionMember_F960A53CC0F27EB91E95AC530F8E3C2E" 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_C485AC0EDF794C18B26FAC530F8E383E" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_90016E3088F0331FCA4FAC530F8EE4A9" xlink:to="loc_us-gaap_VestingAxis_C485AC0EDF794C18B26FAC530F8E383E" 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_00208AFA85409DDEB01CAC530F8EBF5C_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_VestingAxis_C485AC0EDF794C18B26FAC530F8E383E" xlink:to="loc_us-gaap_VestingDomain_00208AFA85409DDEB01CAC530F8EBF5C_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_00208AFA85409DDEB01CAC530F8EBF5C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_VestingAxis_C485AC0EDF794C18B26FAC530F8E383E" xlink:to="loc_us-gaap_VestingDomain_00208AFA85409DDEB01CAC530F8EBF5C" 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_270ED898FA5AD1BC1454AC530F8ED3FB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VestingDomain_00208AFA85409DDEB01CAC530F8EBF5C" xlink:to="loc_us-gaap_ShareBasedCompensationAwardTrancheOneMember_270ED898FA5AD1BC1454AC530F8ED3FB" 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_95ED5DF01D25323CFB04AC530F8ECA52" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VestingDomain_00208AFA85409DDEB01CAC530F8EBF5C" xlink:to="loc_us-gaap_ShareBasedCompensationAwardTrancheTwoMember_95ED5DF01D25323CFB04AC530F8ECA52" 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_7EF473BE1D56645CA81CAC530F8EDB11" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_95163F011AFE443AF608AC530F8ED1D8" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_7EF473BE1D56645CA81CAC530F8EDB11" 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_A738F86E97EC1ECC8FFBAC530F8E908D" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_95163F011AFE443AF608AC530F8ED1D8" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage_A738F86E97EC1ECC8FFBAC530F8E908D" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/EquityIncentivePlansAndEmployeeStockPurchasePlanTables" 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/FairValueMeasurementsScheduleOfFinancialAssetsAndLiabilitiesDetails" 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_C3C2168A57565BA6F228AC530FC97787" 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_1C9C24B45A1512ABD7E2AC530FC3ED50" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_C3C2168A57565BA6F228AC530FC97787" xlink:to="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_1C9C24B45A1512ABD7E2AC530FC3ED50" 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_3D6611C54B9CCA97B5B7AC530FC33D54" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_1C9C24B45A1512ABD7E2AC530FC3ED50" xlink:to="loc_us-gaap_CashAndCashEquivalentsAxis_3D6611C54B9CCA97B5B7AC530FC33D54" 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_644D8D3FDEB0DAD5881AAC530FC3F69F_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_CashAndCashEquivalentsAxis_3D6611C54B9CCA97B5B7AC530FC33D54" xlink:to="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember_644D8D3FDEB0DAD5881AAC530FC3F69F_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_644D8D3FDEB0DAD5881AAC530FC3F69F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_CashAndCashEquivalentsAxis_3D6611C54B9CCA97B5B7AC530FC33D54" xlink:to="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember_644D8D3FDEB0DAD5881AAC530FC3F69F" 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_9BDBD392C513006B1E51AC530FC3DFB2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember_644D8D3FDEB0DAD5881AAC530FC3F69F" xlink:to="loc_us-gaap_MoneyMarketFundsMember_9BDBD392C513006B1E51AC530FC3DFB2" 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_E2A23BF04D504C4E5096AC530FC3FBAE" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_1C9C24B45A1512ABD7E2AC530FC3ED50" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_E2A23BF04D504C4E5096AC530FC3FBAE" 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_14A83933A950DF8AFFDAAC530FC386C8_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_E2A23BF04D504C4E5096AC530FC3FBAE" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_14A83933A950DF8AFFDAAC530FC386C8_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_14A83933A950DF8AFFDAAC530FC386C8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_E2A23BF04D504C4E5096AC530FC3FBAE" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_14A83933A950DF8AFFDAAC530FC386C8" 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_AD49F2AEDC5CF31CB5AEAC530FC3A7D9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_14A83933A950DF8AFFDAAC530FC386C8" xlink:to="loc_us-gaap_USTreasurySecuritiesMember_AD49F2AEDC5CF31CB5AEAC530FC3A7D9" 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_088D5E88E53CBB1FFF8FAC530FC464B8" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_1C9C24B45A1512ABD7E2AC530FC3ED50" xlink:to="loc_us-gaap_FairValueByMeasurementFrequencyAxis_088D5E88E53CBB1FFF8FAC530FC464B8" 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_4DB04169BAA8DB803E2CAC530FC407BF_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_088D5E88E53CBB1FFF8FAC530FC464B8" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_4DB04169BAA8DB803E2CAC530FC407BF_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_4DB04169BAA8DB803E2CAC530FC407BF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_088D5E88E53CBB1FFF8FAC530FC464B8" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_4DB04169BAA8DB803E2CAC530FC407BF" 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_8D33049CA09FCD28FDCFAC530FC4211E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementFrequencyDomain_4DB04169BAA8DB803E2CAC530FC407BF" xlink:to="loc_us-gaap_FairValueMeasurementsRecurringMember_8D33049CA09FCD28FDCFAC530FC4211E" 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_1A1EF1A8F72676AB7A7AAC530FC4D76A" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_1C9C24B45A1512ABD7E2AC530FC3ED50" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_1A1EF1A8F72676AB7A7AAC530FC4D76A" 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_C75BFAD5FEF40317596DAC530FC4F458_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_1A1EF1A8F72676AB7A7AAC530FC4D76A" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_C75BFAD5FEF40317596DAC530FC4F458_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_C75BFAD5FEF40317596DAC530FC4F458" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_1A1EF1A8F72676AB7A7AAC530FC4D76A" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_C75BFAD5FEF40317596DAC530FC4F458" 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_674EE8BADA7D18CB3609AC530FC492AB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_C75BFAD5FEF40317596DAC530FC4F458" xlink:to="loc_us-gaap_FairValueInputsLevel1Member_674EE8BADA7D18CB3609AC530FC492AB" 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_3C8144B7BA7E260A13C8AC530FC48438" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_C75BFAD5FEF40317596DAC530FC4F458" xlink:to="loc_us-gaap_FairValueInputsLevel2Member_3C8144B7BA7E260A13C8AC530FC48438" 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_28EA3514C7A3C7B2A988AC530FC4E7F0" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_C75BFAD5FEF40317596DAC530FC4F458" xlink:to="loc_us-gaap_FairValueInputsLevel3Member_28EA3514C7A3C7B2A988AC530FC4E7F0" 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_1E7A53829E7CDFA46A6BAC530FC9C0A3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_C3C2168A57565BA6F228AC530FC97787" xlink:to="loc_us-gaap_AssetsFairValueDisclosureAbstract_1E7A53829E7CDFA46A6BAC530FC9C0A3" 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_DC3438A1C2DA28A57E0CAC530FC9EC96" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsFairValueDisclosureAbstract_1E7A53829E7CDFA46A6BAC530FC9C0A3" xlink:to="loc_us-gaap_CashAndCashEquivalentsAbstract_DC3438A1C2DA28A57E0CAC530FC9EC96" 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_B40DC6081B94E64732B2AC530FC92AA5" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CashAndCashEquivalentsAbstract_DC3438A1C2DA28A57E0CAC530FC9EC96" xlink:to="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_B40DC6081B94E64732B2AC530FC92AA5" 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_B21F03B0F6B18D50962BAC530FC9CE0A" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsFairValueDisclosureAbstract_1E7A53829E7CDFA46A6BAC530FC9C0A3" xlink:to="loc_us-gaap_ShortTermInvestmentsAbstract_B21F03B0F6B18D50962BAC530FC9CE0A" 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_192AF4B44F2DAA56A76FAC530FC9EB65" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShortTermInvestmentsAbstract_B21F03B0F6B18D50962BAC530FC9CE0A" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_192AF4B44F2DAA56A76FAC530FC9EB65" 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_DDC13A6D3AC00C787B70AC530FCAF5F5" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsFairValueDisclosureAbstract_1E7A53829E7CDFA46A6BAC530FC9C0A3" xlink:to="loc_us-gaap_AssetsFairValueDisclosure_DDC13A6D3AC00C787B70AC530FCAF5F5" 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/IncomeTaxesDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.mongodb.com/role/NetLossPerShare" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.mongodb.com/role/NetLossPerShareAdditionalInformationDetails" 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_9D00D4C397AC24E7D7798386951AD5A2" 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_8D624D2B4F9C526E5E4B8386951930A0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ClassOfStockLineItems_9D00D4C397AC24E7D7798386951AD5A2" xlink:to="loc_us-gaap_ScheduleOfStockByClassTable_8D624D2B4F9C526E5E4B8386951930A0" 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_E4F4286B85BB71D4810F83869544AB5D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfStockByClassTable_8D624D2B4F9C526E5E4B8386951930A0" xlink:to="loc_us-gaap_StatementClassOfStockAxis_E4F4286B85BB71D4810F83869544AB5D" 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_36622FD78EB5F7718670838695C01AB7_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_E4F4286B85BB71D4810F83869544AB5D" xlink:to="loc_us-gaap_ClassOfStockDomain_36622FD78EB5F7718670838695C01AB7_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_36622FD78EB5F7718670838695C01AB7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_E4F4286B85BB71D4810F83869544AB5D" xlink:to="loc_us-gaap_ClassOfStockDomain_36622FD78EB5F7718670838695C01AB7" 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_3FD90EC624BA739710AC838695D67FB0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_36622FD78EB5F7718670838695C01AB7" xlink:to="loc_us-gaap_CommonClassAMember_3FD90EC624BA739710AC838695D67FB0" 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_2CA6A78FD3519ED9BF2F838695DE587F" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_36622FD78EB5F7718670838695C01AB7" xlink:to="loc_us-gaap_CommonClassBMember_2CA6A78FD3519ED9BF2F838695DE587F" xlink:type="arc" />
    <link:loc xlink:href="mdb-20180430.xsd#mdb_CommonStockVotingRightsNumberofVotesPerShare" xlink:label="loc_mdb_CommonStockVotingRightsNumberofVotesPerShare_A10CDCD6CD4C3269509483869537108B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_9D00D4C397AC24E7D7798386951AD5A2" xlink:to="loc_mdb_CommonStockVotingRightsNumberofVotesPerShare_A10CDCD6CD4C3269509483869537108B" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/NetLossPerShareScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfDilutedNetLossPerShareDetails" 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_5834DDCB04B9247F3873AC530F3B3114" 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_204B99498BF9A402F4F0AC530F3BB14E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_5834DDCB04B9247F3873AC530F3B3114" xlink:to="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_204B99498BF9A402F4F0AC530F3BB14E" 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_08C49FDBE4925926247BAC530F3B4084" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_204B99498BF9A402F4F0AC530F3BB14E" xlink:to="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_08C49FDBE4925926247BAC530F3B4084" 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_F2C07FFE3BA4529F34D6AC530F3B6073_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_08C49FDBE4925926247BAC530F3B4084" xlink:to="loc_us-gaap_AntidilutiveSecuritiesNameDomain_F2C07FFE3BA4529F34D6AC530F3B6073_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_F2C07FFE3BA4529F34D6AC530F3B6073" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_08C49FDBE4925926247BAC530F3B4084" xlink:to="loc_us-gaap_AntidilutiveSecuritiesNameDomain_F2C07FFE3BA4529F34D6AC530F3B6073" 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_E82DF6036C90E7CBD1F0AC530F3BEB10" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain_F2C07FFE3BA4529F34D6AC530F3B6073" xlink:to="loc_us-gaap_RedeemableConvertiblePreferredStockMember_E82DF6036C90E7CBD1F0AC530F3BEB10" 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_FAB033D0DEC81CA0F4C6AC530F3B3A0D" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain_F2C07FFE3BA4529F34D6AC530F3B6073" xlink:to="loc_us-gaap_WarrantsAndRightsSubjectToMandatoryRedemptionMember_FAB033D0DEC81CA0F4C6AC530F3B3A0D" 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_ED800679EA6D079A5FFCAC530F3BD5BA" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain_F2C07FFE3BA4529F34D6AC530F3B6073" xlink:to="loc_us-gaap_WarrantMember_ED800679EA6D079A5FFCAC530F3BD5BA" 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_B2B3846C6273E5CDE6E8AC530F3B473B" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain_F2C07FFE3BA4529F34D6AC530F3B6073" xlink:to="loc_us-gaap_EmployeeStockOptionMember_B2B3846C6273E5CDE6E8AC530F3B473B" xlink:type="arc" />
    <link:loc xlink:href="mdb-20180430.xsd#mdb_EarlyExercisedEmployeeStockOptionMember" xlink:label="loc_mdb_EarlyExercisedEmployeeStockOptionMember_461CED7DA395FDFA05EDAC530F3BBB00" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain_F2C07FFE3BA4529F34D6AC530F3B6073" xlink:to="loc_mdb_EarlyExercisedEmployeeStockOptionMember_461CED7DA395FDFA05EDAC530F3BBB00" 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_7B5B9A366E32BE4B9B20AC530F3B8063" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_204B99498BF9A402F4F0AC530F3BB14E" xlink:to="loc_us-gaap_StatementClassOfStockAxis_7B5B9A366E32BE4B9B20AC530F3B8063" 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_7FD6C3DFB5942E90B1ABAC530F3B5241_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_7B5B9A366E32BE4B9B20AC530F3B8063" xlink:to="loc_us-gaap_ClassOfStockDomain_7FD6C3DFB5942E90B1ABAC530F3B5241_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_7FD6C3DFB5942E90B1ABAC530F3B5241" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_7B5B9A366E32BE4B9B20AC530F3B8063" xlink:to="loc_us-gaap_ClassOfStockDomain_7FD6C3DFB5942E90B1ABAC530F3B5241" 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_5D8CADA5F6E947167E6AAC530F3B6C44" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_7FD6C3DFB5942E90B1ABAC530F3B5241" xlink:to="loc_us-gaap_CommonClassAMember_5D8CADA5F6E947167E6AAC530F3B6C44" 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_AE70336B60CED4C0CAB4AC530F3B8065" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_7FD6C3DFB5942E90B1ABAC530F3B5241" xlink:to="loc_us-gaap_CommonClassBMember_AE70336B60CED4C0CAB4AC530F3B8065" 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_092DC30A1ACE1A15B0ADAC530F3B98E7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_5834DDCB04B9247F3873AC530F3B3114" xlink:to="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_092DC30A1ACE1A15B0ADAC530F3B98E7" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/NetLossPerShareScheduleOfBasicAndDilutedEarningsLossPerShareDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.mongodb.com/role/NetLossPerShareTables" 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/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_D96D58E7D3B1056DF506832ABCFA7E04" 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_C984856D0879F423CA49832ABCF96726" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ConcentrationRiskLineItems_D96D58E7D3B1056DF506832ABCFA7E04" xlink:to="loc_us-gaap_ConcentrationRiskTable_C984856D0879F423CA49832ABCF96726" 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_51258B1F8826D207824A832ABCF99BDF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ConcentrationRiskTable_C984856D0879F423CA49832ABCF96726" xlink:to="loc_us-gaap_ConcentrationRiskByTypeAxis_51258B1F8826D207824A832ABCF99BDF" 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_E23C33B10FA46C03791E832ABCF98931_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConcentrationRiskByTypeAxis_51258B1F8826D207824A832ABCF99BDF" xlink:to="loc_us-gaap_ConcentrationRiskTypeDomain_E23C33B10FA46C03791E832ABCF98931_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_E23C33B10FA46C03791E832ABCF98931" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConcentrationRiskByTypeAxis_51258B1F8826D207824A832ABCF99BDF" xlink:to="loc_us-gaap_ConcentrationRiskTypeDomain_E23C33B10FA46C03791E832ABCF98931" 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_F4867E5FA62FEE11666C832ABCF99DD4" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskTypeDomain_E23C33B10FA46C03791E832ABCF98931" xlink:to="loc_us-gaap_GeographicConcentrationRiskMember_F4867E5FA62FEE11666C832ABCF99DD4" 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_9C6BE0564A66071E72BB832ABCF98ADC" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ConcentrationRiskTable_C984856D0879F423CA49832ABCF96726" xlink:to="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_9C6BE0564A66071E72BB832ABCF98ADC" 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_B57B17F1003F50C4B499832ABCF9AF55_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_9C6BE0564A66071E72BB832ABCF98ADC" xlink:to="loc_us-gaap_ConcentrationRiskBenchmarkDomain_B57B17F1003F50C4B499832ABCF9AF55_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_B57B17F1003F50C4B499832ABCF9AF55" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_9C6BE0564A66071E72BB832ABCF98ADC" xlink:to="loc_us-gaap_ConcentrationRiskBenchmarkDomain_B57B17F1003F50C4B499832ABCF9AF55" 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_FB2999CC10222B3EB544832ABCF98328" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskBenchmarkDomain_B57B17F1003F50C4B499832ABCF9AF55" xlink:to="loc_us-gaap_SalesRevenueNetMember_FB2999CC10222B3EB544832ABCF98328" 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_3DC78FA051ECCE31DD8E832ABCF9AEBD" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ConcentrationRiskTable_C984856D0879F423CA49832ABCF96726" xlink:to="loc_us-gaap_StatementGeographicalAxis_3DC78FA051ECCE31DD8E832ABCF9AEBD" 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_BB9448DF24391B7F6B1E832ABCFA2869_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementGeographicalAxis_3DC78FA051ECCE31DD8E832ABCF9AEBD" xlink:to="loc_us-gaap_SegmentGeographicalDomain_BB9448DF24391B7F6B1E832ABCFA2869_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_BB9448DF24391B7F6B1E832ABCFA2869" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementGeographicalAxis_3DC78FA051ECCE31DD8E832ABCF9AEBD" xlink:to="loc_us-gaap_SegmentGeographicalDomain_BB9448DF24391B7F6B1E832ABCFA2869" 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_50B7BFBFDDAF4A4DC22E832ABCFAF469" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentGeographicalDomain_BB9448DF24391B7F6B1E832ABCFA2869" xlink:to="loc_country_US_50B7BFBFDDAF4A4DC22E832ABCFAF469" 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_80FEC66BCA232E4CA237832ABCFAB157" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentGeographicalDomain_BB9448DF24391B7F6B1E832ABCFA2869" xlink:to="loc_country_GB_80FEC66BCA232E4CA237832ABCFAB157" 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_003C5962F5D0E16C1218832ABCFA039A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskLineItems_D96D58E7D3B1056DF506832ABCFA7E04" xlink:to="loc_us-gaap_ConcentrationRiskPercentage1_003C5962F5D0E16C1218832ABCFA039A" 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_84125D1A357C4EA7D525B1D45D195BCC" 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_278A9B5A99C76B030F1DB1D45D18AE23" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RevenuesFromExternalCustomersAndLongLivedAssetsLineItems_84125D1A357C4EA7D525B1D45D195BCC" xlink:to="loc_us-gaap_ScheduleOfRevenuesFromExternalCustomersAndLongLivedAssetsTable_278A9B5A99C76B030F1DB1D45D18AE23" 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_5C5C7439D354DC06E5C7B1D45D18C826" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRevenuesFromExternalCustomersAndLongLivedAssetsTable_278A9B5A99C76B030F1DB1D45D18AE23" xlink:to="loc_us-gaap_StatementGeographicalAxis_5C5C7439D354DC06E5C7B1D45D18C826" 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_8938589C9F5C672850A4B1D45D189025_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementGeographicalAxis_5C5C7439D354DC06E5C7B1D45D18C826" xlink:to="loc_us-gaap_SegmentGeographicalDomain_8938589C9F5C672850A4B1D45D189025_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_8938589C9F5C672850A4B1D45D189025" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementGeographicalAxis_5C5C7439D354DC06E5C7B1D45D18C826" xlink:to="loc_us-gaap_SegmentGeographicalDomain_8938589C9F5C672850A4B1D45D189025" 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_7701DD945937166D82E0B1D45D18DAC3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentGeographicalDomain_8938589C9F5C672850A4B1D45D189025" xlink:to="loc_us-gaap_AmericasMember_7701DD945937166D82E0B1D45D18DAC3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EMEAMember" xlink:label="loc_us-gaap_EMEAMember_16AAF1BD961117396F08B1D45D18F36D" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentGeographicalDomain_8938589C9F5C672850A4B1D45D189025" xlink:to="loc_us-gaap_EMEAMember_16AAF1BD961117396F08B1D45D18F36D" 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_3120EAC49744E97E7235B1D45D18B87E" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentGeographicalDomain_8938589C9F5C672850A4B1D45D189025" xlink:to="loc_us-gaap_AsiaPacificMember_3120EAC49744E97E7235B1D45D18B87E" 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_8292DA0EDD13F239AC42B1D45D1934C8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RevenuesFromExternalCustomersAndLongLivedAssetsLineItems_84125D1A357C4EA7D525B1D45D195BCC" xlink:to="loc_us-gaap_SalesRevenueNet_8292DA0EDD13F239AC42B1D45D1934C8" 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/SummaryOfSignificantAccountingPolicies" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.mongodb.com/role/SummaryOfSignificantAccountingPoliciesDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.mongodb.com/role/SummaryOfSignificantAccountingPoliciesPolicies" xlink:type="extended" />
</link:linkbase>
