diff --git a/.clang-tidy b/.clang-tidy
new file mode 100644
index 0000000000000000000000000000000000000000..12524da2d5edaadf08d4804a60969545726eaace
--- /dev/null
+++ b/.clang-tidy
@@ -0,0 +1,9 @@
+# NB: to use clang-tidy on the MEX source code, make sure that you have
+# libomp-dev installed (the LLVM implementation of OpenMP)
+
+# TODO: add the following check families:
+# - performance-*
+# - bugprone-*
+# - cppcoreguidelines-
+
+Checks: 'modernize-*,-modernize-use-trailing-return-type,-clang-diagnostic-unqualified-std-cast-call'